logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Selecting the correct version of XercesJ: msg#00001

Subject: Re: Selecting the correct version of XercesJ
Hi Desmond,

You're essentially asking how to keep a set of classes (could be Xerces; 
could be anything) local to your application running in Tomcat. If there's 
a built-in mechanism for doing that you should ask about it on the Tomcat 
mailing list(s), otherwise you would probably need to write your own 
ClassLoader if you don't want to use the Endorsed Standards Override 
Mechanism [1].

Thanks.

[1] http://java.sun.com/j2se/1.5.0/docs/guide/standards/

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@xxxxxxxxxx
E-mail: mrglavas@xxxxxxxxxx

"Desmond Whewell (CV/ETL)" <desmond.whewell@xxxxxxxxxxxx> wrote on 
07/03/2007 04:40:46 AM:

> 
> My web-application, running on Tomcat 5.5, requires Xerces 2.9.0. My
> intention was to put the 2.9.0 jars in the WEB-INF/lib area, as usual.
> However, I understand Java 1.5 includes a Xerces implementation within
> the JRE libs. Is there a simple set of rules to ensure that I use the
> Xerces version I require? I would prefer not to use the 'endorsed'
> mechanism, if possible, as I do not want to force other web-apps to use
> a version of Xerces for which they were not tested.
> 
> I an using Xerces through the public APIs, DOM etc.
> 
> Cheers, Des
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xxxxxxxxxxxxxxxxx
> For additional commands, e-mail: j-users-help@xxxxxxxxxxxxxxxxx



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>