aspose file tools*
The moose likes XML and Related Technologies and the fly likes java.lang.RuntimeException: Exception when creating Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp" Watch "java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp" New topic
Author

java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp

Malik Hashmi
Greenhorn

Joined: Jun 20, 2001
Posts: 2
Hi all
plz solve my problem regarding to cocoon as follows
I have Installed cocoon-1.8.2 with tomcat ver 3.2.1 using professional-2000.
when I try http://localhost:8080/cocoon/cocoon.xml
I get following error :
Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp.XSPProcessor" :
java.lang.NoSuchMethodError: See http://xml.apache.org/cocoon/faqs.html#faq-normalize
at org.apache.cocoon.framework.Manager.create(Manager.java:124)
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:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

I have placed web.xml and cocoon.properties in tomcat/webapps/cocoon/META-INF with neccessary modification as per instruction given in installation.html which is available with coocoon package
so kindly post reply at earliest, thanks in advance
with regards
Malik Hashmi
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Have you seen the URL (http://xml.apache.org/cocoon/faqs.html#faq-normalize ) dumped along with the error message?? If not please do so. It has the explanation of your problem and the remedy too!


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp