tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Class loading issue
Date Fri, 26 Oct 2007 16:18:03 GMT
> From: Tony Fountain [mailto:tfountain@benefitconcepts.com] 
> Subject: RE: Class loading issue
> 
> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

It looks like you must have the system property
javax.xml.parsers.DocumentBuilderFactory set to point to
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl (e.g., via JAVA_OPTS).
This forces all XML scanning to go through that class, including any
done by Tomcat itself.  Consequently, the above class must be made
visible to the Tomcat internal classes, so putting the jar into
common/lib is required.

I'm not sure if there's any means of specifying a webapp-local XML
parser rather than a global one; others may have more experience here.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message