You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/11/06 23:21:06 UTC
DO NOT REPLY [Bug 27371] -
java.lang.ThreadDeath caused by log4j when reloading Tomcat app
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=27371>.
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=27371
------- Additional Comments From brett_s_r@yahoo.com.au 2005-11-06 23:21 -------
The testcase is fairly straightforward - all you need is a servlet with a
service() method with say a (generous) twenty second sleep in it (during which
you will request a reload of the context), followed by any code that will cause
a class to be loaded. Hit the servlet with a service request, and reload the
webapp during the sleep. Tomcat will have invalidated the classloader (and
reloaded the context) by the time the sleep completes, and you should see a
ThreadDeath thrown.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org