On Fri, Apr 09, 2004 at 03:29:47PM -0400, shyam wrote: : I have a question. When tomcat starts , I have a loadonstartup servlet : which creates new thread and this thread will not die. Now the question : is when I shut down tomcat , I want this thread to die . I want to know : how tomcat notifies its sub processes about the shut down.
Sounds like a job for a ContextListener. Not only were they designed specifically for this purpose, but they're part of the servlet spec (2.3 and above, I believe) and thus portable outside of Tomcat. -not that anyone would migrate away from Tomcat, of course... ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]