You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shenghao Fang (JIRA)" <ji...@apache.org> on 2011/05/05 12:48:03 UTC

[jira] [Updated] (GERONIMO-5929) org.apache.geronimo.kernel.config.LiefcycleException when starting Hudson.war on G3.0

     [ https://issues.apache.org/jira/browse/GERONIMO-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shenghao Fang updated GERONIMO-5929:
------------------------------------

    Attachment: hudson_DD.xml

The issue is caused by a conflict lib version  of Xstream between the one in Geronimo and the one in Hudson. Excluding the package from 'import-package' to make Hudson use the one in itself instead of the one in Geronimo. Please try the attached DD.

> org.apache.geronimo.kernel.config.LiefcycleException when starting Hudson.war on G3.0
> -------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5929
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5929
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0
>         Environment: Sun JDK 1.6.0_21, GBuild 04/19
>            Reporter: Chi Runhua
>            Assignee: Shawn Jiang
>         Attachments: hudson_DD.xml
>
>
> Hudson.war can be deployed successfully, however, it fails to start because of the following exception:
> 2011-04-22 10:26:13,093 ERROR [DeploymentPortlet] The application was not successfully started.
> start of hudson/hudson/1.384/war failed
> org.apache.geronimo.kernel.config.LifecycleException: start of hudson/hudson/1.384/war failed
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
> 	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:619)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:521)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> 	... 3 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration hudson/hudson/1.384/war failed to start due to the following reasons:
>   The service J2EEApplication=null,j2eeType=WebModule,name=hudson/hudson/1.384/war did not start because ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.io.IOException: Context did not start for an unknown reason
> java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.io.IOException: Context did not start for an unknown reason
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:816)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
> 	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
> 	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
> 	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:619)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:487)
> 	... 5 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira