-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Pid,
On 2/5/13 3:17 AM, Pid wrote: > 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. Note that any JMX monitoring you are doing will likely have to change due to the new "name" of the context. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEAREIAAYFAlERjC0ACgkQ9CaO5/Lv0PD97QCgoVfZDhE5rpsOvP9nG/rFOomi hcIAoI23Xw6E8evn76cSFouUWwjVdfQr =+IaL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org