Mark Struberg created OPENEJB-1884:
--------------------------------------

             Summary:  EJBContainer.createEJBContainer(); doesn't register the 
WebBeansContext correctly
                 Key: OPENEJB-1884
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1884
             Project: OpenEJB
          Issue Type: Bug
          Components: integration
    Affects Versions: 4.0.0
            Reporter: Mark Struberg
             Fix For: 4.1.0


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

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

        

Reply via email to