[jboss-jira] [JBoss JIRA] (JBWEB-264) Filter.destroy() exceptions break application undeployment

Brad Maxwell (JIRA) jira-events at lists.jboss.org
Sat Feb 16 18:42:56 EST 2013


Brad Maxwell created JBWEB-264:
----------------------------------

             Summary: Filter.destroy() exceptions break application undeployment
                 Key: JBWEB-264
                 URL: https://issues.jboss.org/browse/JBWEB-264
             Project: JBoss Web
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Core
    Affects Versions: JBossWeb-2.1.12.GA
         Environment: -JBoss Enterprise Application Platform (EAP) 5.1.2 and earlier
            Reporter: Brad Maxwell
            Assignee: Remy Maucherat
         Attachments: destroy-linkage-error.war

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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list