Hi everyone, In the company I work for we have a Tomcat cluster with two instances (version 5.5.25) running on a single Xen virtual machine (kernel 2.6.18). We use the default, one line, cluster configuration. Our main goal is to make sure our web page is available and that all sessions survive during redeployment.
We haven't yet observed a problem but were wondering if sessions could be lost during our redeployment procedure. Here is what we do: a) Application is running on tomcatA and tomcatB and all sessions are replicated b) Application on tomcatA is undeployed, all requests are redirected to tomcatB c) Application on tomcatA is deployed * Now the cluster needs to make sure that all sessions are replicated properly on tomcatA d) Application on tomcatB is undeployed, all requests are redirected to tomcatA e) Application on tomcatB is deployed We use an ant script and the tomcat manager tasks to control the deployment procedure. More specifically we use two consecutive deploy tasks where the update field is set to true. Note that we are not actually bringing down any tomcat instance, but rather we're just redeploying a particular application while the rest are still running. 1. Could sessions be lost in this procedure when the undeployment of the webapp on tomcatB happens right after the deployment on tomcatA? 2. Does the tomcat manager deploy task in step (c) only return once all sessions are successfully replicated? 3. If not is there a way to ensure all sessions are replicated before undeploying the webapp on tomcatB? Thanks, Mitko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org