cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jasha Joachimsthal <j.joachimst...@onehippo.com>
Subject Re: Problems with cocoon deployment
Date Tue, 06 Mar 2012 17:12:23 GMT
Hi Matt,

Which version of Cocoon are you deploying into Tomcat and how did you build
the war?

Jasha Joachimsthal

Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)

www.onehippo.com


On 6 March 2012 17:42, Matthieu Nannini, Dr. <matthieu.nannini@mcgill.ca>wrote:

> 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@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Mime
View raw message