You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/08/06 11:29:02 UTC

[jira] [Created] (OPENEJB-1884) EJBContainer.createEJBContainer(); doesn't register the WebBeansContext correctly

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

        

[jira] [Closed] (OPENEJB-1884) EJBContainer.createEJBContainer(); doesn't register the WebBeansContext correctly

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau closed OPENEJB-1884.
---------------------------------------

    Resolution: Fixed
    
>  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