Re: Killing threads during context restart

2004-11-09 Thread TK Banks
t; From: "TK Banks" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 09, 2004 4:40 PM > Subject: Killing threads during context restart > > > I have a background thread object in my tomcat > application that performs some garbage-co

Re: Killing threads during context restart

2004-11-09 Thread Wendy Smoak
From: "TK Banks" <[EMAIL PROTECTED]> > I guess I don't even know what a context is, but I > assumed that a context restart would kill off all > application threads. How am I supposed to get all my > application threads to die when the context restarts? What about creating a ServletContextListener

Re: Killing threads during context restart

2004-11-09 Thread Filip Hanik - Dev
you can setup context listeners, and when the context is stopped you will receive an event and can stop your bg thread Filip - Original Message - From: "TK Banks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 09, 2004 4:40 PM Subject: Killing

Killing threads during context restart

2004-11-09 Thread TK Banks
I have a background thread object in my tomcat application that performs some garbage-collection like functions (i.e., wakes up periodically and does some application specific cleanup). I have tomcat configured to "restart the context" when I drop new class files in the WEB-INF/classes directory.