Hi again, 2008/8/30 Mukul Gandhi <[EMAIL PROTECTED]>: > On Sat, Aug 30, 2008 at 8:15 PM, Nuno Viana (Gmail) > <[EMAIL PROTECTED]> wrote: >> Do you know how can I remove Xerces/Xalan libraries from the Tomcat 5 >> installation and replace by the latest available versions? > > I think there are two possibilities: > > 1) Tomcat is using Xalan and Xerces binaries installed in the Tomcat > folder. If this is the case, you need to delete the Xalan and Xerces > Jars from Tomcat folder, and replace them with newer Jars. If you > don't know in which Tomcat folder the Xalan and Xerces Jars lie, you > can do an OS search to find out.
I can't find any of those jar files (perhaps they are being bundled inside other Jar in one of the Tomcat's dir?)...:) Also, there's an "endorsed" directory in Tomcat as well: "..\Tomcat 5.5\common\endorsed>". I did tried copying the new xalan, xerces file versions into this Tomcat's endorsed directory... > > 2. Tomcat is using Xalan and Xerces shipped with JDK 5. In this case, > you need to apply endorsed standard override mechanism to use newer > Xalan and Xerces Jars (for this, you need to copy new Xalan and Xerces > Jars in JRE, lib/endorsed folder). I can't find any "endorsed" directories either under JDK or JRE... Thanks again for your help... > >> Also, do you know if JDK5 ships with older versions of those libraries also? > > Yes, JDK 5 ships with an older version of Xalan and Xerces, and you > should not be using it ideally (please use the solution above). > > > -- > Regards, > Mukul Gandhi > -- Nuno Carlos Viana ------------------------------------------------------ M.Sc. Applied Artificial Intelligence Eng. Computer Sciences