• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Cocoon 1.8.2 install help (Tomcat 3.2.1)

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic