From dev-return-90375-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Wed May 4 02:40:43 2011 Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99D9C3C67 for ; Wed, 4 May 2011 02:40:43 +0000 (UTC) Received: (qmail 87954 invoked by uid 500); 4 May 2011 02:40:43 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 87671 invoked by uid 500); 4 May 2011 02:40:42 -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 87664 invoked by uid 99); 4 May 2011 02:40:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 02:40:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 02:40:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 40248C0E0A for ; Wed, 4 May 2011 02:40:03 +0000 (UTC) Date: Wed, 4 May 2011 02:40:03 +0000 (UTC) From: "Forrest Xia (JIRA)" To: dev@geronimo.apache.org Message-ID: <72605158.20554.1304476803259.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1989902418.20551.1304476683519.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (GERONIMO-5945) GBean startup NPE when en EJB module includes two EJB associated with the same IOR object MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Forrest Xia updated GERONIMO-5945: ---------------------------------- Attachment: corbahellobean_ejb_ear2_jdk5.ear > GBean startup NPE when en EJB module includes two EJB associated with the same IOR object > ----------------------------------------------------------------------------------------- > > Key: GERONIMO-5945 > URL: https://issues.apache.org/jira/browse/GERONIMO-5945 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: CORBA, OpenEJB > Affects Versions: 3.0 > Environment: Oracle JDK 1.6.0_23 32bit > Ubuntu 10.04.2 LTS > Reporter: Forrest Xia > Labels: corba, openejb, yoko > Attachments: corbahellobean_ejb_ear2_jdk5.ear > > > When deploying the attached sample EJB to the latest geronimo server with proper corba IOR installed, you will see an error in server.log like this: > 2011-05-04 09:56:25,794 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/corbahellobean_ejb_ear/1.0/car?EJBModule=corbahellobean_ejb.jar,J2EEApplication=default/corbahellobean_ejb_ear/1.0/car,StatefulSessionBean=ExceptionBeanEJB,j2eeType=TSSLink,name=IOR3" > java.lang.NullPointerException > at org.apache.geronimo.openejb.EjbDeployment.getContainer(EjbDeployment.java:263) > at org.apache.geronimo.corba.AdapterWrapper.start(AdapterWrapper.java:41) > at org.apache.geronimo.corba.TSSBean.registerContainer(TSSBean.java:182) > at org.apache.geronimo.corba.TSSLink.doStart(TSSLink.java:68) > at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546) > at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110) > at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145) > at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546) > at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110) > at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145) > at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) > at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560) > at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) > at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681) > at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67) > at java.lang.Thread.run(Thread.java:662) > Seems to me that the EJBs cannot share the same IOR object, while this should be OK, geronimo 2.x handles that well. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira