tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zippy Zeppoli <zippyzepp...@gmail.com>
Subject Re: rolling deployments with tomcat clustering [ SOLVED]
Date Wed, 06 Feb 2013 01:07:06 GMT
Thanks Pid! I will try this.

On Tue, Feb 5, 2013 at 12:17 AM, Pid <pid@pidster.com> 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.
>
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message