Not sure what you mean by "I am not start tomcat using the -D endors setting so
the parser in COMMON/ENDORSED shouldn't be used by tomcat", because the parser in common/endorsed will get used if it exists. This is by default. You would have to modify the default for this not to be the case.
Secondly, if you use j2sdk1.4.x, you cannot put endorsed libraries such as javax.xml.*, org.w3c.dom.*, and org.xml.sax.*, etc... into
WEB-INF/lib. That would violate the Sun classloading spec. Tomcat enforces the Sun classloading spec. What you will need to do is remove xerces from WEB-INF/lib and copy it to common/endorsed overwriting the existing Xerces. Try that and see if it works.
Jake
At 07:07 PM 2/24/2003 +0800, you wrote:
All,
this might be a old question but I'd searched online and can't find any tomcat 4.1.x related. so hope someone could help.
I am using a vendor's jar file which need using a version of Xerces parser(sorry asking them now which version) so I guess can't use default tomcat one. so I place the xercesImpl.jar (from them) into the MYAPPDIR/WEB-INF/lib. I am not start tomcat using the -D endors setting so the parser in COMMON/ENDORSED shouldn't be used by tomcat. in this case, can I tell that all my appl is using the parser in MYAPPDIR/WEB-INF/lib instead of any others? Neither the one from JDK 1.4(I am using 1.4.02) nor tomcat internal?
Many thanks,
HL -let me send this mail before I go insane.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]