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
> 

-- 
View this message in context: 
http://www.nabble.com/an-easier-way-to-deploy-war-file--tf4376062.html#a12490683
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to