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

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

<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>

<init-param>
<param-name>modificationTestInterval</param-name>
<param-value>0</param-value>
</init-param>

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
http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-2.0.1-20070926042742/
Download wtp-all-in-one-sdk-win32 and than follow the instructions as suggested 
in
http://geronimo.apache.org/geronimo-eclipse-plugin-installation-instructions.html

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