Java Mailing List Archive

http://www.java2.5341.com/

Home » users.cocoon »

Problems with cocoon deployment

Matthieu Nannini, Dr.

2012-03-06

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

Tomcat6 is running ok on localhost:8080 but when I try to call localhost:8080/cocoon, I get the following page:

Any ideas where I could look to solve that ?

Thanks

Matt

-----

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw exception
 org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
 org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:263)
 org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844)
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 java.lang.Thread.run (Thread.java:662)

root cause

java.lang.NoSuchMethodError: org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
 org.outerj.xreporter.client.XReporterClientImpl.initialize(XReporterClientImpl.java:56)
 org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
 org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:297)
 org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
 org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
 org.apache.cocoon.components.CocoonComponentManager.initialize (CocoonComponentManager.java:583)
 org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
 org.apache.cocoon.Cocoon.initialize (Cocoon.java:345)
 org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
 org.apache.cocoon.servlet.CocoonServlet.createCocoon (CocoonServlet.java:1429)
 org.apache.cocoon.servlet.CocoonServlet.init (CocoonServlet.java:499)
 org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
 org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:263)
 org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844)
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 java.lang.Thread.run (Thread.java:662)



>>>>> tomcat logs: localhost.2012-03-06.log is as follow:
6-Mar-2012 11:33:58 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet Cocoon
java.lang.NoSuchMethodError: org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getParams()Lorg/apache/commons/htt
pclient/params/HttpConnectionManagerParams;
 at org.outerj.xreporter.client.XReporterClientImpl.initialize(XReporterClientImpl.java:56)
 at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
 at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:297)
 at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
 at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
 at org.apache.cocoon.components.CocoonComponentManager.initialize (CocoonComponentManager.java:583)
 at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
 at org.apache.cocoon.Cocoon.initialize (Cocoon.java:345)
 at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
 at org.apache.cocoon.servlet.CocoonServlet.createCocoon (CocoonServlet.java:1429)
 at org.apache.cocoon.servlet.CocoonServlet.init (CocoonServlet.java:499)
 at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:1161)
 at org.apache.catalina.core.StandardWrapper.allocate (StandardWrapper.java:806)
 at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:129)
 at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:175)
 at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128)
 at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:263)
 at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run (Thread.java:662)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.