tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@twinix.com
Subject Re: an easier way to deploy war file?
Date Wed, 05 Sep 2007 02:59:31 GMT
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: noway@spam.com
To unsubscribe, e-mail: users-noway@spam.com
For additional commands, e-mail: users-noway@spam.com



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


Mime
View raw message