On 31/10/2011 20:22, Konstantin Kolinko wrote:
> 2011/11/1 Christopher Schultz <ch...@christopherschultz.net>:
>> I'm having trouble locating the code that auto-undeploys old versions
>> when all sessions have expired.
> 
> There is no such code in Tomcat.
> 
> You will see in the manager app that the counter of sessions is zero,
> but there is no such feature as automatic undeployment here.

That feature was proposed as a possible extension to parallel deployment
but never implemented. I'm not sure how easy it would be. Thinking about
it (for about 30s) the background process for a host could check for
contexts where session count is zero and there is a higher version
available. If it finds such a Context it could then  undeploy it. I'd
want to make sure behaviour configurable though.

If anyone would like to take a stab at writing a patch to do this then
I'd be happy to provide pointers if necessary.

Mark

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

Reply via email to