What happens to Java objects when Axis is reloaded by Tomcat?

2004-07-21 Thread Donald Gorgonzola
From a web service call I access a singleton, so subsequent web service calls can access the same object. Things work fine until Axis is reloaded (by Tomcat web app manager). I can no longer get a handle on the original singleton, instead a new singleton is created. I wouldn't mind this behav

How to stop threads started by web service when Axis is stopped?

2004-07-20 Thread Donald Gorgonzola
I am running Axis 1.1 with Tomcat 5.0.25 (with Java 1.4.2) I have a web service call that starts a thread. If axis is stopped by the Tomcat Web Application Manager, the thread continues to run. It doesn't receive an interrupt exception. Is there a way to have threads started by web services be