geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schmidt (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-785) deployed plans are automatically written in config.list
Date Wed, 20 Jul 2005 22:24:47 GMT
deployed plans are automatically written in config.list
-------------------------------------------------------

         Key: GERONIMO-785
         URL: http://issues.apache.org/jira/browse/GERONIMO-785
     Project: Geronimo
        Type: Bug
  Components: deployment  
    Versions: 1.0-M4    
 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 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
>



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