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


Reply via email to