Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 5383 invoked from network); 2 Aug 2007 03:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 03:17:18 -0000 Received: (qmail 26706 invoked by uid 500); 2 Aug 2007 03:17:16 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 26657 invoked by uid 500); 2 Aug 2007 03:17:16 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 26646 invoked by uid 99); 2 Aug 2007 03:17:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 20:17:16 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 03:16:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D955371403F for ; Wed, 1 Aug 2007 20:16:52 -0700 (PDT) Message-ID: <16709666.1186024612855.JavaMail.jira@brutus> Date: Wed, 1 Aug 2007 20:16:52 -0700 (PDT) From: "Donald Woods (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-3366) Dependency needed in openejb config to start OpenEjbSystem before the EntityManagerRegistry In-Reply-To: <15529758.1186015673222.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.