> From: kidambi madhu [mailto:madhu.kida...@gmail.com] 
> Subject: Conditional Deployment

> We are facing an issue related to Deployment (Specifically Auto Deployment)
> in Tomcat 7

> We have a build process setup from Jenkins tool to build and auto ftp the
> war file to the "Webapps" folder of Tomcat.

> When the application is executing the long running taks, though the war
> file is placed/updated in web apps, tomcat is unable to stop the
> application due to task execution and we are unable to stop Tomcat as well

> We are forced to kill Tomcat and re trigger the Jenkins build.

Try using parallel deployment:
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment

This should let you leave the existing tasks running, but new requests will 
utilize the new version of the webapp.

Obviously, the details of your deployment process will need to change to 
include a version on the .war file.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to