Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 38288 invoked from network); 31 May 2007 17:12:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 17:12:17 -0000 Received: (qmail 90949 invoked by uid 500); 31 May 2007 17:12:14 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 90900 invoked by uid 500); 31 May 2007 17:12:14 -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 90889 invoked by uid 99); 31 May 2007 17:12:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 10:12:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of david.blevins@visi.com designates 208.42.156.2 as permitted sender) Received: from [208.42.156.2] (HELO conn-smtp.mc.mpls.visi.com) (208.42.156.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 10:12:09 -0700 Received: from [10.0.1.2] (cpe-76-167-141-63.socal.res.rr.com [76.167.141.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 4213A8216 for ; Thu, 31 May 2007 12:11:48 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Blevins Subject: Re: Naming conflict when deploying testsupport EARs Date: Thu, 31 May 2007 10:11:42 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org We can change the deployment-id format to include the appId (the name of the ear usually), but I wouldn't want to make that change till after TCK completion. -David On May 31, 2007, at 10:02 AM, Prasad Kashyap wrote: > In 2.0-M3, when a bean was deployed, it's deployment-id was prefixed > with geronimo-deploymentUtil9638.tmpdir > Eg: deployment-id=geronimo-deploymentUtil9638.tmpdir/ > SimpleStatelessSession > > This ensured a unique ID even if beans from across apps had the > same name. > > Now, the deployment-id is prefixed with the name of the jar to which > the bean belongs to. > Eg: deployment-id=ejb.jar/SimpleStatelessSession > > This eliminates the deployment of another app having a bean with the > same name packaged in a same named jar. > > Cheers > Prasad > > > On 5/29/07, Prasad Kashyap wrote: >> Not too long ago (say around M2-M3), I was able to deploy 2 different >> testsupport EARs (test-ear-j2ee-1.3.ear and test-ear-j2ee-1.4.ear) >> simultaneously on Geronimo. >> >> But now, a naming conflict in OpenEJB seems to preclude one for the >> other. I get the following exception on deploying the 2nd EAR >> >> Caused by: org.apache.openejb.DuplicateDeploymentIdException: >> ejb.jar/SimpleStatelessSession: ejb.jar/SimpleStatefulSession: >> ejb.jar/SimpleBMPEntity: ejb.jar/SimpleCMPEntity >> >> Now the question is, has the design and code changed as expected and >> thus the testcase needs to change ? >> >> Or is this a bug we have introduced in G ? >> >> Cheers >> Prasad >> >