Hi,
I am trying to use Tomcat 4.0 Final and my web application requires
Xerces 1.4.3 (for soap and cocoon1 ). Previously I was using Tomcat
4.0-b7 with no problems, but this problem started happening when I moved
to 4.0Final. Here is the error that I am getting:
java.lang.ClassCastException:
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFact
ory.java:152)
My line of code which is producing this error is:
javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory =
javax.xml.parsers.DocumentBuilderFactory.newInstance();
It looks to me like crimson is being loaded instead of my xerces.jar in
my web app. Could this be related to the jaxp classloading problem
found in the tomcat4 faq? Does anyone know of the solution to this
problem?
Thanks
Paul Dumais
[EMAIL PROTECTED]