This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Cocoon 1.8.2 install help (Tomcat 3.2.1) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Servlets
Bookmark "Cocoon 1.8.2 install help (Tomcat 3.2.1)" Watch "Cocoon 1.8.2 install help (Tomcat 3.2.1)" New topic

Cocoon 1.8.2 install help (Tomcat 3.2.1)

Glen Jansen

Joined: Apr 07, 2001
Posts: 14
Hi All,
I have been trying to install Cocoon 1.8.2 and integrate it with Tomcat 3.2.1 and have troubles.
I performed the same install process under WinNT and 2000 yielding the same results.
When I start Tomcat and then attempt to view a sample xml document, the following error is produced:
<Start Error>
Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating "org.apache.cocoon.processor.xsp.XSPProcessor" :
java.lang.NoSuchMethodError: See
... java error dump.
</Start Error>
Tomcat JSP and Servlets function properly. I have read the install FAQ for cocoon and have taken the suggestion of renaming parser.jar and xml.jar to zparser.jar and zxml.jar respectively. This had not changed the error (after stopping and starting server). According to the install FAQ, this is the most common error installing Cocoon, yet so far my searches have yet to resolve the issue.
Has anyone encountered the above error? Has anyone corrected the above error and if so, can you please share the answer.
Thanks for you effort.
Glen Jansen

Joined: Apr 07, 2001
Posts: 14
Hi All,
I found the answer to my problem. In Tomcat 3.2.1 the CLASSPATH is built dynamically based upon the files in the $TOMCAT_HOME$\lib\ directory. In order to get this to work I have to rename the xerces_1_2.jar file to aaaaxerces_1_2.jar in addition to having named xml.jar and parser.jar to zzzzxml.jar and zzzzparser.jar respectively.
Hopefully this will help anyone who encounters this problem.
I agree. Here's the link:
subject: Cocoon 1.8.2 install help (Tomcat 3.2.1)