You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2007/08/02 05:16:52 UTC

[jira] Closed: (GERONIMO-3366) Dependency needed in openejb config to start OpenEjbSystem before the EntityManagerRegistry

     [ https://issues.apache.org/jira/browse/GERONIMO-3366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods closed GERONIMO-3366.
----------------------------------

    Resolution: Fixed

Ted, thanks for the patch.
Committed revision 562004 in branches/2.0
Committed revision 562005 in trunk (2.1)

> Dependency needed in openejb config to start OpenEjbSystem before the EntityManagerRegistry
> -------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3366
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3366
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Ted Kirby
>            Assignee: Donald Woods
>            Priority: Critical
>             Fix For: 2.0, 2.1
>
>         Attachments: G3366.patch
>
>
> EntityManagerRegistryImpl gets its entityManagerRegistry from the OpenEjbSystem GBean.  It needs to start afterwards.  A dependency should be added in the plan to insure that this is case, otherwise it will be random, and if they start out of order, an NPE results from EntityManager.persist() calls.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.