DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23088>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23088 Manager App when used to remove or reload a webapp do not stop the threads running inside the web app. Summary: Manager App when used to remove or reload a webapp do not stop the threads running inside the web app. Product: Tomcat 4 Version: 4.0 Beta 1 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Webapps:Manager AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I dont know if this is a bug or not but just thought of mentioning this to you guys. The following is the approach to replicate this. 1. Create a new Web Application whose Context Listener class calls a class that extends Thread and call that object.start(). 2. Now from manager if you stop the web application the web app is stopped from running apps but the Thread that is started will be running continuously when there is an infinite loop in the run method of the Thread class. 3. I think from ClassLoader we an get hold of the ThreadGroup and then we can stop all the threads associated with the ThreadGroup when stopping the web app. I may be wrong but if you think this is an Issue you can enter else just leave it. Please let me know if you need anything. Thanks and Regards, Vijaya K Mantha. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]