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=4536>. 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=4536 Tomcat doesnt kill threads while shutdown [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2001-10-31 08:34 ------- If I understand correctly, your servlet starts a couple new threads in its init () method. Then you attempt to shutdown Tomcat, but the VM doesn't terminate. You then get a socket bind error when you try to start Tomcat again. The problem is most likely that your threads are not flagged as deamon threads. The Java VM will remain alive as long as there is at least one non- daemon thread so the Tomcat VM will never terminate unless you either explicitly terminate these threads or set setDeamon(true) when you create them. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>