See Thread at: http://www.techienuggets.com/Detail?tx=11882 Posted on behalf of a User
Even when you hot or auto-deploy the war file the previous version has to be replaces by extracting content from the new war file. There will be a pause with 404 errors if you hit the URL while the deployment is taking place. As far as I know there's no instant way of doing this. In Response To: Hi Gregor, Thanks, i tried this, it works, sometimes I can see the updated program immediately, but sometimes I got all those 404 errors, I have to wait for a few minutes before I can see the updates reflected, any idea? how to reflect changes asap? Thanks. Gregor Schneider wrote: > > - *never* start tomcat as root: create a user "tomcat" if not already > existing and run tomcat with that user-id > > - if it's not a production-server with very high security, grant > ftp-access to user "tomcat" > > - from your local pc, ftp to your ubuntu, login as user "tomcat" > > - change to directory "www/webapps" > > - put your web-app.war > > that's it > > be sure that autodeploy is set to true. having done so, there's no > need to delete any directories on your ubuntu-server > > cheers > > gregor > > ps: before starting tomcat as user tomcat, you might have to issue > > chown -R tomcat:tomcat * in $CATALINA_HOME > -- > w > -- <...> http://www.nabble.com/an-easier-way-to-deploy-war-file--tf4376062.html#a12490683 Sent from the Tomcat - User mailing list archive at <...>. --------------------------------------------------------------------- To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]