Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67598 invoked from network); 26 Jun 2007 18:05:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 18:05:52 -0000 Received: (qmail 95569 invoked by uid 500); 26 Jun 2007 18:05:50 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 95506 invoked by uid 500); 26 Jun 2007 18:05:50 -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 95482 invoked by uid 99); 26 Jun 2007 18:05:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 11:05:50 -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; Tue, 26 Jun 2007 11:05:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B65867141DC for ; Tue, 26 Jun 2007 11:05:26 -0700 (PDT) Message-ID: <21532485.1182881126741.JavaMail.jira@brutus> Date: Tue, 26 Jun 2007 11:05:26 -0700 (PDT) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-3263) PersistenceUnitBuilder is sometimes putting the PersistenceUnitGBean in the wrong configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org PersistenceUnitBuilder is sometimes putting the PersistenceUnitGBean in the wrong configuration ----------------------------------------------------------------------------------------------- Key: GERONIMO-3263 URL: https://issues.apache.org/jira/browse/GERONIMO-3263 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: persistence Affects Versions: 2.0-M6 Reporter: David Jencks Assignee: David Jencks Fix For: 2.0-M7 PersistenceUnitBuilder is always putting PersistenceUnitGBeans in the root ear context, which won't work if the PU is actually in a war. I think I did this because of a problem with wars finding persistence units in ear libs or other shared locations. It's possible that fixing this problem will uncover another problem if a war and an ejb module both include a jar with a PU in their manifest classpath. The potential problem would be that the war gets the PUGBean and the ejb module can't find it. I believe the spec warns against doing this. In any case I believe the solution should this problem arise would be to deploy PUGBeans in both the war and ejb module: results from a program using both are likely to be really screwy, but as the spec says "DONT DO THAT". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.