I've been trying to get Cocoon 2.0.1 to work with Tomcat 4.0.2 on MacOSX
10.1.3 (with and without the recent Java Update). Tomcat seems to be
working fine... can get servlets and JSPs to work fine.

I've tried putting the cocoon.war into the webapps folder, and also doing
a build of the cocoon.war file into the same place... same results.

What I'm seeing when I go to http://localhost:8080/cocoon is

Apache Tomcat/4.0.2 - HTTP Status 500 - Internal Server Error
------------------------------------------------------------------------
type Exception report
...
javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
<lotsa stuff deleted>
root cause
java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver


Looking around some of the FAQ's and stuff, this would tend to indicate a
problem with Xalan and/or JAXP.... I remember there were issues with this
in the older Tomcat, hence the notes in the FAQ about replacing JAXP...
but I thought this wasn't the case with Tomcat 4.0.

Any suggestions here? Should I get a new JAXP? Should I replace JAXP with
Xalan and/or Xerces? Am I just making wild guesses here?

for what it's worth, these are my environment variables:

setenv PATH ${PATH}:/Users/djp/dev/ant/bin:/Users/djp/bin
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Home
setenv CATALINA_HOME /Users/djp/dev/tomcat
setenv TOMCAT_HOME $CATALINA_HOME

Thanks in advance.


-----------------------------------------------
David Parry

Pronoic (the opposite of paranoic):
forces are conspiring to make your life better.





---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to