facebook

How do you hot deploy with Tomcat and Myeclipse

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #281524 Reply

    gaspegeary
    Member

    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.

    #281529 Reply

    gaspegeary
    Member

    Okay, 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.

    #281544 Reply

    Loyal Water
    Member

    Glad you got it to work.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How do you hot deploy with Tomcat and Myeclipse

You must be logged in to post in the forum log in