[jboss-jira] [JBoss JIRA] (WFLY-2707) Filter.destroy() not called for undeployment

Andre Pankraz (JIRA) issues at jboss.org
Fri Jan 3 06:12:32 EST 2014


Andre Pankraz created WFLY-2707:
-----------------------------------

             Summary: Filter.destroy() not called for undeployment
                 Key: WFLY-2707
                 URL: https://issues.jboss.org/browse/WFLY-2707
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 8.0.0.CR1
         Environment: CentOs/OpenJDK 7
            Reporter: Andre Pankraz


ServletContextListener.contextDestroyed() is called reliably at undeployment time.
But the destroy() methods of  javax.servlet.Filters are never called.

The filter is not explicetely in the web.xml, it's automatically detected and initialized via init() at deployment, but destroy() is never called.

JavaMelody cannot shutdown it's timers because of this:
See last remarks in http://code.google.com/p/javamelody/issues/detail?id=360

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