Karl Wright created CONNECTORS-469: -------------------------------------- Summary: Upgrade the way framework core is shut down to also allow for webapp context shutdowns Key: CONNECTORS-469 URL: https://issues.apache.org/jira/browse/CONNECTORS-469 Project: ManifoldCF Issue Type: Improvement Components: Framework core Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6 Reporter: Karl Wright Assignee: Karl Wright Fix For: ManifoldCF 0.5
Shutdown of a web application under Tomcat sometimes leaves exceptions due to non-up-to-date ability to deal with web application shutdown events. Specifically, we need the following: (1) An implementation of javax.servlet.ServletContextListener in every web application (2) Appropriate locking to prevent an already-shut-down web application from trying to shut itself down another time (3) The following addition to the web.xml file for the web applications: {code} <web-app> <!-- Usual stuff here --> <listener> <listener-class>com.mycompany.MyClass</listener-class> </listener> </web-app> {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira