geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Jacques Parent (JIRA)" <>
Subject [jira] Commented: (GERONIMODEVTOOLS-472) Pb Deploying an EJB with MyEclipse
Date Tue, 12 Aug 2008 06:18:44 GMT


Jean-Jacques Parent commented on GERONIMODEVTOOLS-472:

Some additional informations:
- The exploded deployment (development mode) of my ear containing the ejb used to work fine
with myEclipse/Weblog8.1. This is no more possible since the migration to Gerobimo. 
- I have put in attachement the .log file: MyEclipse tries to delete a directory (corresponding
to the deployed ejb) which does not exist.  What's more, I think that the deployment of the
ejb should not lead to the creation of a specific directory but should lead to the copy of
the ejb.jar in the deplotyment repository.

> Pb Deploying an EJB with MyEclipse
> ----------------------------------
>                 Key: GERONIMODEVTOOLS-472
>                 URL:
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.0.0
>         Environment: Wndows XP
> Eclipse Platform 3.2.2
> MyEclipse 5.5.1 GA
> Geronimo 2.0
>            Reporter: Jean-Jacques Parent
>            Assignee: Tim McConnell
>            Priority: Trivial
>         Attachments: .log
> I am trying to deploy an ear file containing web applications and an EJB.
> Here is the ejb-jar.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <ejb-jar xmlns="" xmlns:xsi=""
> 	<enterprise-beans>
> 		<session>
> 			<ejb-name>ApplicationContextSession</ejb-name>
> 			<local-home>be.gial.wkf.ejb.ApplicationContextSessionHome</local-home>
> 			<local>be.gial.wkf.ejb.ApplicationContextSession</local>
> 			<ejb-class>be.gial.wkf.ejb.ApplicationContextSessionBean</ejb-class>
> 			<session-type>Stateless</session-type>
> 			<transaction-type>Bean</transaction-type>
> 			<resource-ref>
> 				<res-ref-name>jdbc/SONORA</res-ref-name>
> 				<res-type>javax.sql.DataSource</res-type>
> 				<res-auth>Container</res-auth>
> 				<res-sharing-scope>Shareable</res-sharing-scope>
> 			</resource-ref>	
> 			<resource-ref>
> 				<res-ref-name>jdbc/RAPCOL</res-ref-name>
> 				<res-type>javax.sql.DataSource</res-type>
> 				<res-auth>Container</res-auth>
> 				<res-sharing-scope>Shareable</res-sharing-scope>
> 			</resource-ref>	
> 			<resource-ref>
> 				<res-ref-name>jdbc/MAILINGPER</res-ref-name>
> 				<res-type>javax.sql.DataSource</res-type>
> 				<res-auth>Container</res-auth>
> 				<res-sharing-scope>Shareable</res-sharing-scope>
> 			</resource-ref>											
> 		</session>
> 	</enterprise-beans>
> </ejb-jar>
> Witihn myEclipse, I can't perform an exploded deployment (development mode), I receive
the following message:
> Eclipse msgbox : C:\Geronimo-2.0\deploy\SonoraEAR.ear\SonoraEjb.jar is not a directory
> Whatever, the ear file is partially exploded into C;\Geronimo-2.0\deploy. (I thought
that it would be in C:\Geronimo-2.0\repository\...)
> MyEclipse indicates that it has been successfully deployed but it is not the case.
> The package archive deployment (production mode) works fine. My ear file is copied in
C:\geronimo-2.0\deploy. When the server starts, the ear is exploded into the Geronimo repository.
 But for developpement purpose it is not convenient. If I want to test my code modification,
I always have to redeploy and restart the server. We are losing a lot of time working this
way especially when developping JSP. They are not synchronized at all.
> Have you got any idea about the problem ?
> Do you think that WTP is a better tool ?
> Thanks

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message