This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Malik Hashmi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic