cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Le Quesne" <andrew.leque...@nexusalpha.com>
Subject Problem starting cocoon webapp in Jetty
Date Tue, 05 Jul 2005 11:06:18 GMT
Hi,

I have just created a new cocoon web app (2.1.6). When I try to run it in
Jetty I get the error message displayed below. Can anybody explain what is
going wrong and suggest a possible fix. I am running java 1.4.1_03 and Jetty
version 4.2.9. Could it possibly be caused by a defective jar file??

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mortbay.start.Main.invokeMain(Main.java:153)
        at org.mortbay.start.Main.start(Main.java:483)
        at org.mortbay.start.Main.main(Main.java:91)
Caused by: java.lang.NoSuchMethodError:
org.apache.xml.resolver.tools.CatalogRes
olver.<init>(Lorg/apache/xml/resolver/CatalogManager;)V
        at
org.apache.excalibur.xml.DefaultEntityResolver.<init>(DefaultEntityRe
solver.java:62)
        at
org.apache.cocoon.components.resolver.DefaultResolver.<init>(DefaultR
esolver.java:36)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(DefaultComponentFactory.java:179)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.init
ialize(ThreadSafeComponentHandler.java:108)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
p(ExcaliburComponentManager.java:276)
        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComp
onentManager.java:310)
        at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(Wrap
perServiceManager.java:107)
        at
org.apache.excalibur.xml.impl.JaxpParser.service(JaxpParser.java:142)

        at
org.apache.avalon.framework.container.ContainerUtil.service(Container
Util.java:182)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(DefaultComponentFactory.java:255)
        at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(Res
ourceLimitingPool.java:672)
        at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLim
itingPool.java:402)
        at
org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(
PoolableComponentHandler.java:198)
        at
org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentH
andler.java:381)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
p(ExcaliburComponentManager.java:277)
        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComp
onentManager.java:310)
        at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(Wrap
perServiceManager.java:107)
        at
org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java
:119)
        at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:
166)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(Tr
eeProcessor.java:203)
        at
org.apache.avalon.framework.container.ContainerUtil.configure(Contain
erUtil.java:240)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(DefaultComponentFactory.java:269)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.init
ialize(ThreadSafeComponentHandler.java:108)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initi
alize(ExcaliburComponentManager.java:522)
        at
org.apache.cocoon.components.CocoonComponentManager.initialize(Cocoon
ComponentManager.java:541)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:280)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.ja
va:1382)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:480)
        at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)

        at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHa
ndler.java:445)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
bApplicationHandler.java:150)
        at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
ontext.java:458)
        at org.mortbay.http.HttpServer.start(HttpServer.java:663)
        at org.mortbay.jetty.Server.main(Server.java:429)
        ... 7 more


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message