- This topic has 2 replies, 2 voices, and was last updated 17 years, 4 months ago by
Loyal Water.
-
AuthorPosts
-
gaspegearyMemberI just moved from IDEA to Myeclipse, and no matter what I do, I cannot get hot deploy of Java source files to work with Tomcat and Myeclipse.
Modified JSP files are hot deployed, but when I modify a Java source file I have to restart the server. I’ve looked all over this forum (and found one post where the solution was simply “I got it to work”) and all over Google for almost an entire day to no avail.
I’m using Tomcat 6.0.14 and Myeclipse 6.0.1. My application is a very simple JSF app, and I’m running Tomcat from inside of Myeclipse. I’m using Exploded Archive (development mode) when deploying the application to Tomcat and deploying to Tomcat’s webapps directory.
Can someone please let me know what I need to configure to get hot deploy of Java source files to work? This should not be this difficult to figure out.
Thanks.
gaspegearyMemberOkay, I figured this out. In Tomcat 6.X, change <Context>…</Context> to <Context reloadable=”true”>…</Context>.
I found this out at http://www.coreservlets.com/Apache-Tomcat-Tutorial/, Marty Hall’s excellent online tutorial for configuring Tomcat 6.X, based on his book Core Servlets.
@gaspegeary wrote:
I just moved from IDEA to Myeclipse, and no matter what I do, I cannot get hot deploy of Java source files to work with Tomcat and Myeclipse.
Modified JSP files are hot deployed, but when I modify a Java source file I have to restart the server. I’ve looked all over this forum (and found one post where the solution was simply “I got it to work”) and all over Google for almost an entire day to no avail.
I’m using Tomcat 6.0.14 and Myeclipse 6.0.1. My application is a very simple JSF app, and I’m running Tomcat from inside of Myeclipse. I’m using Exploded Archive (development mode) when deploying the application to Tomcat and deploying to Tomcat’s webapps directory.
Can someone please let me know what I need to configure to get hot deploy of Java source files to work? This should not be this difficult to figure out.
Thanks.
Loyal WaterMemberGlad you got it to work.
-
AuthorPosts