geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Jain (JIRA)" <>
Subject [jira] Commented: (GERONIMODEVTOOLS-472) Pb Deploying an EJB with MyEclipse
Date Mon, 11 Aug 2008 09:49:44 GMT


Ashish Jain commented on GERONIMODEVTOOLS-472:

JSP reloading after modifications can be configured as follows
edit <geronimo_home>/var/catalina/conf/web.xml.

Search for <servlet-class>org.apache.jasper.servlet.JspServlet </servlet-class>
and add the following elements under the servlet class



modificationTestInterval is time in seconds.

If you use this there is no need to restart and redeploy the application.

Not sure whether GEP support myeclipse. However you can use WTP 201 all in one downloads available
at the following link
Download wtp-all-in-one-sdk-win32 and than follow the instructions as suggested in

> 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
> 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