[
https://issues.apache.org/jira/browse/GERONIMO-5605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevan Miller reopened GERONIMO-5605:
------------------------------------
Thanks Ivan!
I would not necessarily close this Jira, however. IMO, we should do a better
job of reporting the underlying error.
As is, I see no reasonable message or log entry that would give a user a clue
why the deployment failed. IMO, this could (and if possible, should) be
improved.
> Basic Cocoon webapp fails to deploy on Geronimo with Jetty even though it
> deploys and works with Tomcat
> -------------------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5605
> URL: https://issues.apache.org/jira/browse/GERONIMO-5605
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Jetty
> Affects Versions: 3.0
> Environment: Windows, Java 1.6
> Reporter: Fawzib Rojas
>
> I'm testing geronimo+jetty and was trying to deploy the demo cocoon 2.2
> application and the war deploys but it fails to start with a generic "unable
> to deploy" exception. The war installs and runs perfectly on geronimo+tomcat.
> A link to the war file: http://www.megaupload.com/?d=TF87O9I0
> to access the webapp: http://<geronimo server>/myCocoonWebApp/myBlock1/
> The exception it gives is:
> Deployer operation failed: start of
> com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war failed
> org.apache.geronimo.kernel.config.LifecycleException: start of
> com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war failed
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ace4623f.startConfiguration(<generated>)
> 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:522)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
> ... 14 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war failed to start due
> to the following reasons:
> The service
> J2EEApplication=null,WebFilter=CocoonMultipartFilter,WebModule=com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war,j2eeType=ServletWebFilterMapping,name="[com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war%5C?J2EEApplication=null,WebModule=com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war,j2eeType=Servlet,name=Cocoon]"
> did not start because
> com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war?J2EEApplication=null,WebModule=com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war,j2eeType=Servlet,name=Cocoon
> did not start.
> The service
> J2EEApplication=null,WebFilter=CocoonMultipartFilter,WebModule=com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war,j2eeType=ServletWebFilterMapping,name="[com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war%5C?J2EEApplication=null,WebModule=com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war,j2eeType=Servlet,name=DispatcherServlet]"
> did not start because
> com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war?J2EEApplication=null,WebFilter=CocoonMultipartFilter,WebModule=com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war,j2eeType=ServletWebFilterMapping,name=%22[com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war%5C?J2EEApplication=null,WebModule=com.spectron/myCocoonApp/0.0.1-SNAPSHOT/war,j2eeType=Servlet,name=Cocoon]%22
> did not start.
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
> ... 16 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.