> -----Message d'origine-----
> De: Jean-Philippe Courson [mailto:[EMAIL PROTECTED]]
> Date: mardi 12 février 2002 16:54
> À: [EMAIL PROTECTED]
> Objet: Cocoon 2.0.1 and Tomcat 4.02
> 
> 
> Hi there,
> 
> I've just upgraded to Cocoon 2.0.1 and Tomcat 4.0.2 and when I start
> tomcat, I have the following exceptions.

I've got the error trying to deploy cocoon on jboss+tomcat401

this came from conflicts between JAXP classes from crimson and xerces in
cocoon

I had to replace crimson by xerces (and patch a crimson dependency in the
jboss code)
in the root class path...

I've also put all xerces and xalan in the WEB-INF/lib of cocoon...

for you it is different.
in standalone tomcat there is a xerces jar in common/lib./..
you may have to replace it with the one used by cocoon

in fact I suppose the problem is not in xerces parser implementation
classed,
but in the JAXP API classes that may not be at the same
level as what the xerces from cocoon needs.

if JDK1.4 prodide the JAXP API at the top level by default,
maybe are the JAXP classeds in xerces not used at all...

> 
> Any idea ?
> 
> Any help would be appreciated
> 
> JP
> 
> 2002-02-12 16:44:05 StandardContext[/cocoon]: Servlet /cocoon threw 
> load() exception
> javax.servlet.ServletException: Servlet.init() for servlet 
> Cocoon2 threw 
> exception
>          at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> rapper.java:935)
> ----- Root Cause -----
> java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
>          at java.lang.ClassLoader.defineClass0(Native Method)
>          at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
>          at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.
> java:111)
>          at 
> org.apache.catalina.loader.WebappClassLoader.findClassInternal

---------------------------------------------------------------------
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