Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 95070 invoked from network); 13 Feb 2007 05:05:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2007 05:05:25 -0000 Received: (qmail 96720 invoked by uid 500); 13 Feb 2007 05:05:30 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 96656 invoked by uid 500); 13 Feb 2007 05:05:30 -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 96640 invoked by uid 99); 13 Feb 2007 05:05:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 21:05:30 -0800 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.mc.mpls.visi.com) (208.42.156.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 21:05:19 -0800 Received: from [192.168.42.22] (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.mc.mpls.visi.com (Postfix) with ESMTP id 622D28162 for ; Mon, 12 Feb 2007 23:04:58 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <3657284E-CE4F-430A-992F-89AFE3B78E16@iq80.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <665525C9-49B0-4B06-8F23-2017E2671FA9@visi.com> Content-Transfer-Encoding: 7bit From: David Blevins Subject: Re: Exceptions during deployment of testsupport EARs Date: Mon, 12 Feb 2007 21:04:56 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 12, 2007, at 7:29 PM, Prasad Kashyap wrote: > Jenck's patch seeems to have fixed the persistence bugs. However these > are the new exceptions seen when the same 2 test ears are deployed. > > Background Context: > ------------------------------- > The deployment-testsuite/test-deployments deploys the following 2 ears > in succession, hits the context-root URL in a browser and then > undeploys it again. > > org.apache.geronimo.testsupport/test-ear-j2ee_1.3/2.0-SNAPSHOT/ear > org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear > > This used to work fine until recently. So for problem #1 I checked in a fix which should at least not result in a null pointer exception. We'll see what it throws next :) For #2 that'll take some debugging, but I think I may have an idea of how to fix. Quick question, how do I run the deployment-testsuite/test-deployments ? -David > > > Problem #1: Starting an app with EJBs > -------------------------------------------------------- > Error: Operation failed: start of > org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear > failed > Unknown start exception > > Configuration > org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear > failed to start due to the following reasons: > The service > EJBModule=ejb.jar,J2EEApplication=org.apache.geronimo.testsupport/ > test-ear-j2ee_1.4/2.0-SNAPSHOT/ > ear,j2eeType=StatefulSessionBean,name=SimpleStatefulSession > did not start because > org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear? > J2EEApplication=org.apache.geronimo.testsupport/test-ear- > j2ee_1.4/2.0-SNAPSHOT/ear,j2eeType=EJBModule,name=ejb.jar > did not start. > The service > J2EEApplication=org.apache.geronimo.testsupport/test-ear- > j2ee_1.4/2.0-SNAPSHOT/ear,j2eeType=EJBModule,name=ejb.jar > did not start because the doStart method threw an exception. > > org.apache.openejb.OpenEJBException: Error building bean > 'SimpleCMPEntity'. Exception: class > java.lang.NullPointerException: > null: null > > at org.apache.openejb.assembler.classic.EjbJarBuilder.build > (EjbJarBuilder.java:61) > at > org.apache.openejb.assembler.classic.Assembler.createApplication > (Assembler.java:379) > at org.apache.openejb.assembler.classic.Assembler.createEjbJar > (Assembler.java:303) > at org.apache.geronimo.openejb.OpenEjbSystemGBean.createEjbJar > (OpenEjbSystemGBean.java:184) > > > Full stack traces here - > http://rifers.org/paste/show/3524 > http://rifers.org/paste/show/3525 > > Problem # 2: Undeploy > ----------------------------------- > The apps distribute but fail to start. Undeploying them leaves behind > ejb.jar and ejb-cmp2.jar which are locked by the running server. The > server has to be stopped, these files deleted and only then can the > app be re-installed again. > > Cheers > Prasad > > > On 2/8/07, Prasad Kashyap wrote: >> Dain was referring to this - >> http://www.nabble.com/Persistence-deployer-bugs--tf3189760.html >> >> Will wait on David Jencks to fix this soon :-) >> >> Cheers >> Prasad >> >> On 2/8/07, Dain Sundstrom wrote: >> > On Feb 8, 2007, at 6:17 PM, Prasad Kashyap wrote: >> > >> > > org.apache.geronimo.kernel.GBeanAlreadyExistsException: GBean >> already >> > > registered: geronimo:J2EEServer=geronimo,name=cmp,j2eeType=GBean >> > >> > This the PersistenceUnit naming problem I pointed out >> yesterday. The >> > JPA deployer is not picking a very unique names and we quickly run >> > into conflicts. >> > >> > -dain >> > >> >