You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2010/09/16 10:33:32 UTC

[jira] Closed: (GERONIMO-5605) Basic Cocoon webapp fails to deploy on Geronimo with Jetty even though it deploys and works with Tomcat

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

Ivan closed GERONIMO-5605.
--------------------------

    Resolution: Not A Problem

I took at a look at the sample cocoon application, the reason failed on jetty build is due to an invalid filter mapping configuration in the web,xml:
<filter-mapping>
    <filter-name>CocoonMultipartFilter</filter-name>
    <servlet-name>Cocoon</servlet-name>
  </filter-mapping>

There is no a servlet named Cocoon configured in the web.xml. To be detailed, jetty build handle the web.xml filter by Geronimo itself, and for Tomcat build, it is done by Tomcat, the error should be ignored by Tomcat ;-)

> 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: 2.2
>         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.