You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gaurav Rajput <gx...@gmail.com> on 2016/02/03 12:13:26 UTC

Context Container Deployment

Hi Guys,

CONFIGURATION & BACKGROUND :
I am running Tomcat-8.0.28 on amazon linux. I want to do the parallel
context container deployment with the multiple versions of the application.
Once I keep the new war file (ROOT##002.war) of the upgraded version of the
application, I need to remove the old one (ROOT##001.war). But the real
problem is, I need to know when the old war file stops handling the already
established connections (in other words, the time of the connection
draining), before I remove the old war application.
Note: Our application is "stateless". We are not having sessions.

QUESTION :
How can I get to know, if the old *.war application has finished serving
all the established connections ?

Thanks,
Gaurav Rajput