tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: rolling deployments with tomcat clustering
Date Tue, 05 Feb 2013 08:17:47 GMT
On 05/02/2013 02:25, Zippy Zeppoli wrote:
> Hello,
> I have a tomcat 7 cluster which I want to do rolling deployments.
> I am using FarmDeployer. I am wondering, what is the default behavior of
> FarmDeployer, does it undeploy and deploy the new app all at once?
> 
> Is there any way to modify this behavior to do it serially?

Try versioning your war files.

 myapp##v1.0.0.war
 myapp##v1.0.1.war

This feature is called 'parallel deployment'.

You can use JMX to monitor the activeCount of sessions of the older
version and also to undeploy it when that number reaches zero.


p

> Thanks,
> z
> 


-- 

[key:62590808]

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


Mime
View raw message