you have to terminate that thread explicitly. You can do that by defining ApplicationServletContextListener and have it stopped on contextDestroyed event
DarekC On Tue, 2005-03-15 at 07:31, Mark wrote: > Hi, > I'm starting a new thread in my init servlet(I know it has been > discussed few time, that it's not the best idea, but anyway) > and everyhing is fine untill I need to restart tomcat. > When I shutdown (shutdown.sh) Tomcat the java process remain active. > > The question is it expected? or I need to take care about this thread > in destroy() method of my init servlet? > > I have tomcat 5.0.24 on RH9. > > Thanks a lot, > Mark. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Find what you need with new enhanced search. > http://info.mail.yahoo.com/mail_250 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
