tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32040] - Tomcat periodically hangs
Date Wed, 03 Nov 2004 15:19:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32040>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32040

Tomcat periodically hangs

yoavs@computer.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From yoavs@computer.org  2004-11-03 15:19 -------
Chances are your code or one of the libraries it uses is spawning non-daemon 
threads and not terminating them appropriately.  The VM and Tomcat can't do 
this for you.  The reason your Swing app works is that it makes a System.exit 
call (most likely) when exiting.  If you add such a call to a 
ServletContextListener's contextDestroyed method, you'll get around the problem 
you see, but it's just a band-aid.  This issue has been explained on the tomcat-
user list numerous times.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message