This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
Joined: Apr 07, 2001
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.