You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Shai Deljo <sh...@farechase.com> on 2001/06/25 16:29:41 UTC

httpsession and graceful shutdown in tomcat

Hi,

Does a graceful shutdown in a tomcat waits for all live httpsession to die
or just for all connections to close (response to all current requests) ?

10x

Shai

Re: httpsession and graceful shutdown in tomcat

Posted by Andrew Zhdanov <av...@cbrsoft.com.ua>.
Hello Shai,

Monday, June 25, 2001, 5:29:41 PM, you wrote:

SD> Hi,

SD> Does a graceful shutdown in a tomcat waits for all live httpsession to die
SD> or just for all connections to close (response to all current requests) ?

SD> 10x

SD> Shai

I think it would be interesting for you to look at Servlet2.3
specification and Tomcat4.0 (beta unfortunetly) for that. There you
could see is sessionCreated and sessionDestroyed events in
HttpSessionListener interface. And yet, there if you session
attributes implements HttpSessionBindingListener (for session
attributes binding) then, your class for session attributes are
notified and waited for clean shut down before tomcat shuting down and
it may be later activated again when tomcat starts another day.
But i can say exaxtly about situation in current release (3.2)
Hope that helps a little.

-- 
Best regards,
 Andrew