• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with cocoon

raul tebar
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I need some help,
After installing cocoon I've tried to run the Cocoon.xml example, but
it reports me this error (see error.txt at end).
Can anybody help me out with this so I can progress with the installation,
many thanks in advance.
Raul Tebar
error.txt -------------------
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in the classpath (org/apache/turbine/services/resources/TurbineResourceService)
at org.apache.cocoon.framework.Manager.create(Manager.java:122)
at org.apache.cocoon.framework.Router.init(Router.java:80)
at org.apache.cocoon.framework.Manager.create(Manager.java:109)
at org.apache.cocoon.Engine.<init>(Engine.java:179)
at org.apache.cocoon.Engine.getInstance(Engine.java:232)
at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to play hard with the classpath. Make sure xerces/xalan that came with Cocoon are before any other xml parsers. You can rename jar files etc.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic