[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627637#action_12627637
 ] 

Jean-Jacques Parent commented on GERONIMODEVTOOLS-472:
------------------------------------------------------

You will find the ejb jar file in attachement.

I am also investigating GEP 2.1.2  which could be an alternative to myEclipse 
but I encountered some problems too (issue GeronimoDevTools-473).
I really need to find a convenient development tool as I used to have with the 
combination myEclipse/Weblogic. My initial problem is : how to modify  a java 
or jsp file without having to redeploy and restart the application.

For now : 
- the combination myEclipse(production mode)/Geronimo works fine but is not 
suitable in a development phase. I have to redeploy and restart the application 
to see each code modification
- the combination myEclipse(development mode)/Geronimo does not work and is the 
subject of this issue. I hope that this mode will allow me to modify any code 
without having to restart the application.


> Pb Deploying an EJB with MyEclipse
> ----------------------------------
>
>                 Key: GERONIMODEVTOOLS-472
>                 URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-472
>             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
>         Attachments: .log, sonoraEjb.jar
>
>
> 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="http://java.sun.com/xml/ns/j2ee"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
> http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"; version="2.1">
>       <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.

Reply via email to