NullPointerException after webapp is undeployed
-----------------------------------------------
Key: JGRP-715
URL:
http://jira.jboss.com/jira/browse/JGRP-715
Project: JGroups
Issue Type: Bug
Affects Versions: 2.2.8
Environment: Tomcat 5.5, OSCache 2.4.1, JGroups 2.2.8, Log4j 1.2.13
Reporter: Stephen Wick
Assigned To: Bela Ban
Priority: Critical
Attachments: example.war
Tomcat (or any application server for that matter) becomes extremely unstable after
undeploying/redeploying a webapp that uses OSCache and JGroups.
JGroups creates several Threads when the webapp is deployed, but it does not stop these
Threads when the webapp is undeployed. The Threads begin to throw all kinds of Exceptions
including NullPointerExceptions after the application has been undeployed/redeployed a few
times. Eventually you have no choice but to KILL the tomcat process and start it over.
The log files also start filling up with all of the Exception stack traces, and
performance slows to a halt.
I am attaching an example web application, example.war, which describes and exhibits the
problem.
JGroups needs to be modified to shut down cleanly. I'm not sure how or when this
should happen.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira