facebook

WebApp not reloaded by tomcat after packaged deployment

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

    Hello

    I’m running Eclipse 3.0.1 with MyEclipse 3.8.4 and Tomcat 5.5.9 on a Mac OS X 10.3.8 machine

    I’m trying to deploy a web app from Eclipse to Tomcat, in a packaged format. The problem is that the .war file is copied to the webapps directory, but the ‘exploded’ directory is not updated, meaning that I’m always using the old version, until I remove the directory and restart tomcat.

    My tomcat server is running as root, and what I notice is that although the war file is owned by my user account, the exploded directory created by tomcat is owned by root.

    Can someone help?

    Cheers,

    Jean-Noel Colin

    #228068 Reply

    Riyad Kalla
    Member

    I’m trying to deploy a web app from Eclipse to Tomcat, in a packaged format. The problem is that the .war file is copied to the webapps directory, but the ‘exploded’ directory is not updated, meaning that I’m always using the old version, until I remove the directory and restart tomcat.

    This is Tomcat’s normal behavior, I would suggest you stop using packaged deployments at all during development. If you use exploded deployments your changes will be immediately hotsynced with Tomcat and you don’t even need to use the Deployment Tool anymore (save for a few times that the hot sync might fail and you need to restart).

    My tomcat server is running as root, and what I notice is that although the war file is owned by my user account, the exploded directory created by tomcat is owned by root.

    This is also normal, Tomcat is running as root, so technically “root” is unzipping that WAR file, so all the files have “root” perms.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: WebApp not reloaded by tomcat after packaged deployment

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