You need to use the endorsed standards override mechanism.
http://java.sun.com/j2se/1.4.2/docs/guide/standards/

Put your DFC.jar in common/endorsed and re-try.
 

-----Original Message-----
From: Faine, Mark [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 4:22 PM
To: tomcat-user@jakarta.apache.org
Subject: Problem with Xerces, Xalan with Tomcat 5.0

    
I am trying to build a web (myfaces) application that uses a proprietary API 
called Documentum Foundation Classes. (DFC)
 
DFC uses a "patched" version of Xalan that is provided with the API.
Unfortunately it does not seem to work with Tomcat 5.x, only Tomcat 4.x
 
I get the following error message:
 
----
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(Native
MethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De
legatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

Caused by: javax.xml.parsers.FactoryConfigurationError: Provider 
com.documentum.xerces_2_3_0.xerces.jaxp.DocumentBuilderFactoryImpl not found at 
javax.xml.parsers.DocumentBuilderFactory.newInstan
ce(DocumentBuilderFactory.java:99) at
org.apache.commons.modeler.util.DomUtil.readXml(DomUtil.java:284)

----
 
com.documentum.xerces_2_3_0.xerces.jaxp.DocumentBuilderFactoryImpl is in my 
class path (it is inside dfc.jar) but it is still not being found. 
 
This may have something to do with the "patched" version of Xalan provided with 
the API or some incompatibility between versions of Xerces/Xalan supplied with 
Tomcat 4 and Tomcat 5 .
 
I don't expect anyone to tell me how to fix a proprietary API, when they don't 
have access to the source but if anyone has any ideas or suggestions for how I 
should go about 
debugging this problem please let me know.   I would really appreciate it.
 
 
Thanks,
-Mark



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

Reply via email to