This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Author

Cocoon 1.8.2 install help (Tomcat 3.2.1)

Glen Jansen
Greenhorn

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 http://xml.apache.org/cocoon/faqs.html#faq-normalize
... 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.
Glen Jansen
Greenhorn

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.
Glen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cocoon 1.8.2 install help (Tomcat 3.2.1)