Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-580

ContextListener class for OpenEJB startup in web container environments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.x
    • 3.1.x
    • integration
    • None

    Description

      Create ContextListener class for easier integration with web containers. When a web application has started up, the web container notifies listener-class'es so they can do some after-web-startup-before-first-client tasks like initializing openejb.

      Unless I'm mistaken, OpenEJB supports Tomcat only with a hack so openejb libraries are added to an appropriate classloader. The listener-class could easy it greatly.

      <listener>
      <listener-class>org.apache.openejb.webapp.OpenEJBContextListener</listener-class>
      </listener>

      Attachments

        Activity

          People

            Unassigned Unassigned
            jlaskowski Jacek Laskowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: