wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Problems with cocoon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Problems with cocoon" Watch "Problems with cocoon" New topic
Author

Problems with cocoon

raul tebar
Greenhorn

Joined: Oct 02, 2001
Posts: 2
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

Joined: Sep 20, 2001
Posts: 666
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.
Bruce

BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with cocoon
 
Similar Threads
Uploading files
servlet exception
java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp
Generating PDFs
java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp