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

EJBContainer.createEJBContainer(); doesn't register the WebBeansContext correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.5.0
    • integration
    • None

    Description

      EJBContainer openEjbContainer = EJBContainer.createEJBContainer();

      openEjbContainer#webBeanContext

      and

      WebBeansContext().currentInstance()

      return different instances of WebBeansContext.
      This is pretty bad as you basically get 2 independent containers. Please note that WebBeansContext().currentInstance() is used in de-serialization and many other situations, like Context control, etc

      Attachments

        Activity

          People

            Unassigned Unassigned
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: