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
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
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
-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.
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
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