geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (GERONIMO-785) Web services error on startup
Date Thu, 21 Jul 2005 02:23:50 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-785?page=all ]

Aaron Mulder updated GERONIMO-785:
----------------------------------

      Component: webservices
                     (was: deployment)
        Summary: Web services error on startup  (was: deployed plans are automatically written
in config.list)
    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
>



  was:
> 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 shut down Geronimo and had a look at var/config/config.list and  my previously deployed
apps were in the config. - Is correct?
> 3. I started Geronimo again and it (obviously) tried to start my apps  automatically.
I am getting an error (pasted below)
> 4. If I undeploy these apps and deploy them again the error is gone  and everything runs
smoothly.
>
> Is it intended that deployed apps are automatically included in the  config so they are
started at next server start? If so why am I  getting this nasty error?
>
> Stefan
>
> 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
>



        Version: 1.0-M3
                     (was: 1.0-M4)

Applications starting at server startup is expected.  Stack traces on startup are not.  Changed
bug to reflect that.

> Web services error on startup
> -----------------------------
>
>          Key: GERONIMO-785
>          URL: http://issues.apache.org/jira/browse/GERONIMO-785
>      Project: Geronimo
>         Type: Bug
>   Components: webservices
>     Versions: 1.0-M3
>  Environment: Windows Java 1.4.2_08
>     Reporter: Stefan Schmidt
>     Priority: Critical

>
> > 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
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message