geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GERONIMO-5945) GBean startup NPE when en EJB module includes two EJB associated with the same IOR object
Date Wed, 04 May 2011 02:38:03 GMT
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


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

Mime
View raw message