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 18:44:12 GMT
> From: Tony Fountain [mailto:tfountain@benefitconcepts.com] 
> Subject: RE: Class loading issue
> 
> There is nothing in the endorsed directory.

Good, that says no confusion is being introduced from there.

> As far as the comment regarding the parser class...
> I'll admit, you totally lost me :).

By default, a JVM instance uses the following class as its XML parser
factory:
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl

This can be overridden in multiple ways, notably:

1) setting the system property javax.xml.parsers.DocumentBuilderFactory

2) with the properties file lib/jaxp.properties

3) by a services property file:
META-INF/services/javax.xml.parsers.DocumentBuilderFactory

I expect you'll find the last in the a_xercesImpl.jar you spoke of
earlier.

You can set the system property jaxp.debug=true to see lots of info
about XML processing.

 - 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