-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
Tom Cat wrote:
I have a servelet spawn a thread that should run until tomcat is
shutdown. The problem is, when Tomcat is shut down, the thread keeps
running.
You need to define your thread as a daemon thread and it won't
- Original Message -
From: Tom Cat [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, September 13, 2008 1:13 AM
Subject: Tomcat shutdown event
Hello,
I have a servelet spawn a thread that should run until tomcat is
shutdown. The problem is, when Tomcat
Hello,
I have a servelet spawn a thread that should run until tomcat is
shutdown. The problem is, when Tomcat is shut down, the thread keeps
running.
Does Tomcat have a shutdown event that I could use to trigger the
thread destruction? If not, is there any graceful way of handling
this?
Thanks
2008/9/13 Tom Cat [EMAIL PROTECTED]:
I have a servlet spawn a thread that should run until tomcat is
shutdown. The problem is, when Tomcat is shut down, the thread keeps
running.
Does Tomcat have a shutdown event that I could use to trigger the
thread destruction? If not, is there any