-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.2.0
-
None
-
-JBoss Enterprise Application Platform (EAP) 5.1.2 and earlier
-
-
Workaround Exists
-
-
-
Documented as Resolved Issue
-
NEW
JBoss does not handle any exceptions from custom Filter.destroy() implementations. This is passed on to the JBoss container and disrupts the
undeployment so the app is not successfully undeployed.
That causes a potentially critical issue as the application is no longer deployed at that point, but it can't be redeployed due to conflicts with the prior incomplete undeployment. The server has to be restarted to be able to deploy the application again.
The broken undeployment could be fixed at the container level if org.apache.catalina.core.ApplicationFilterConfig.release() caught exceptions thrown by Filter.destroy()