Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-469

Upgrade the way framework core is shut down to also allow for webapp context shutdowns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 0.5, ManifoldCF 0.6
    • ManifoldCF 0.6
    • Framework core
    • None

    Description

      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:

      <web-app>
          <!-- Usual stuff here -->
          <listener>
              <listener-class&gt;com.mycompany.MyClass</listener-class&gt;
          </listener>
      </web-app>
      

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: