Re: running a thread in Tomcat

2005-03-15 Thread Darek Czarkowski
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, t

Re: running a thread in Tomcat

2005-03-15 Thread Viorel Dragomir
k To: tomcat-user@jakarta.apache.org Sent: Tuesday, March 15, 2005 17:31 Subject: running a thread in Tomcat 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

Re: running a thread in Tomcat

2005-03-15 Thread Ben Souther
set isDaemon(true) for all your threads. On Tue, 2005-03-15 at 10: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 (shu

Re: running a thread in Tomcat

2005-03-15 Thread Viorel Dragomir
-user@jakarta.apache.org Sent: Tuesday, March 15, 2005 17:31 Subject: running a thread in Tomcat 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.

RE: running a thread in Tomcat

2005-03-15 Thread Allistair Crossley
same servlet, since it sounds like you may have a class member reference to your thread in there. Cheers, Allistair. > -Original Message- > From: Mark [mailto:[EMAIL PROTECTED] > Sent: 15 March 2005 15:32 > To: tomcat-user@jakarta.apache.org > Subject: running a thread

running a thread in Tomcat

2005-03-15 Thread Mark
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 ta