Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0-M3
-
Security Level: public (Regular issues)
-
None
-
Windows Java 1.4.2_08
Description
> I have a strange issue with Geronimo startup (I am working on the v1_0_M4-QA, checked out 19.07.05).
>
> What I observed:
>
> 1. I started Geronimo and deployed a database connection plan and my Application (.ear)
> 2. I started Geronimo again and it (obviously) tried to start my apps automatically. I am getting an error (pasted below)
> 3. If I undeploy these apps and deploy them again the error is gone and everything runs smoothly.
>
> Paste:
>
> 22:24:00,772 INFO [GenericEJBContainer] GenericEJBContainer 'geronimo.server:EJBModule=DWBookShop- ejb.jar,J2EEApplication=DWBookShop,J2EEServer=geronimo,j2eeType=Statele ssSessionBean,name=BookShopEJB' started
> 22:24:00,772 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo.server:EJBModule=DWBookShop- ejb.jar,J2EEApplication=DWBookShop,J2EEServer=geronimo,j2eeType=Statele ssSessionBean,name=BookShopEJB State changed from starting to running
> 22:24:00,792 DEBUG [ProjectResourceBundle] org.apache.axis.i18n.resource::handleGetObject(implAlreadySet)
> 22:24:00,802 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: objectName="openejb:type=WSContainer,name=BookShopEJB"
> java.lang.RuntimeException: java.lang.IllegalArgumentException: Attempt to set implementation class on a ServiceDesc which has already been configured
> at org.openejb.server.axis.WSContainer.<init>(WSContainer.java:100)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor AccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon structorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanIns tance.java:815)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(G BeanInstanceState.java:328)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanc eState.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.jav a:486)
> at org.apache.geronimo.gbean.runtime.GBeanSingleReference.attemptFullStart (GBeanSingleReference.java:154)
> at org.apache.geronimo.gbean.runtime.GBeanSingleReference.targetAdded(GBea nSingleReference.java:127)
> at org.apache.geronimo.gbean.runtime.AbstractGBeanReference.addTarget(Abst ractGBeanReference.java:242)
> at org.apache.geronimo.gbean.runtime.GBeanSingleReference$1.running(GBeanS ingleReference.java:163)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent (BasicLifecycleMonitor.java:155)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Basic LifecycleMonitor.java:38)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroa dcaster.fireRunningEvent(BasicLifecycleMonitor.java:231)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(G BeanInstanceState.java:352)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanc eState.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBe anInstanceState.java:133)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanIns tance.java:503)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicK ernel.java:207)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBe anInstanceState.java:141)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanIns tance.java:503)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicK ernel.java:207)
> at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:247)
> at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:81)
> at org.apache.geronimo.system.main.Daemon.main(Daemon.java:320)
> Caused by: java.lang.IllegalArgumentException: Attempt to set implementation class on a ServiceDesc which has already been configured
> at org.apache.axis.description.JavaServiceDesc.setImplClass(JavaServiceDes c.java:244)
> at org.apache.geronimo.axis.server.ReadOnlyServiceDesc.setImplClass(ReadOn lyServiceDesc.java:61)
> at org.openejb.server.axis.WSContainer.<init>(WSContainer.java:90)
> ... 26 more
> 22:24:00,812 DEBUG [GBeanInstanceState] GBeanInstanceState for: openejb:type=WSContainer,name=BookShopEJB State changed from starting to failed
>