You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2012/06/08 17:54:23 UTC

[jira] [Commented] (GERONIMO-6316) Couldn't start web-forward-ear from test case we-forward sucessfully after deployed it.

    [ https://issues.apache.org/jira/browse/GERONIMO-6316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291832#comment-13291832 ] 

Forrest Xia commented on GERONIMO-6316:
---------------------------------------

There are two reasons cause this case failed:
1. G 3.0 does not support two servlet classes are same names but not in a same web module scenario, refer to https://issues.apache.org/jira/browse/GERONIMO-6150
2. GeronimoStandardContext does not override fireRequestDestroyEvent method of org.apache.catalina.core.StandardContext, that will cause jndi lookup failure when calling ServletRequestListener.requestDestroyed method

For #1, there is no easy solution for G 3.0, since it's now OSGi based, one EAR share one same classloader.

For #2, commit a fix at revision 1348128@3.0-beta, will see if tck is impacted by this change.
                
> Couldn't start web-forward-ear from test case we-forward sucessfully after deployed it.
> ---------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6316
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6316
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 3.0-beta-1
>            Reporter: xiezhi
>            Assignee: Forrest Xia
>         Attachments: geronimo.log.tar.gz
>
>
> When deploy \geronimo-3.0-beta-1\testsuite\web-testsuite\test-web-forward\web-forward-ear\target\web-forward-ear-3.0-beta-1.ear in geronimo-tomcat7-javaee6-3.0-beta-1. The application couldn't start successfully.
> The exception is below:
> The application was successfully deployed.
> show/hide	Error	The application was not successfully started.
> start of org.apache.geronimo.testsuite/web-forward-ear/3.0-beta-1/ear failed
> org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/web-forward-ear/3.0-beta-1/ear 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:736)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:523)
> 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 org.apache.geronimo.testsuite/web-forward-ear/3.0-beta-1/ear failed to start due to the following reasons:
> The service J2EEApplication=org.apache.geronimo.testsuite/web-forward-ear/3.0-beta-1/ear,j2eeType=WebModule,name=web-forward-war-2.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:607)
> at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:315)
> at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:578)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1000)
> 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.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462)
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira