Re: Tomcat shutdown event

2008-09-16 Thread Christopher Schultz
-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

Re: Tomcat shutdown event

2008-09-13 Thread Johnny Kewl
- 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

Tomcat shutdown event

2008-09-12 Thread Tom Cat
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

Re: Tomcat shutdown event

2008-09-12 Thread Konstantin Kolinko
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