The "endorsed override mechanism" was introduced in j2sdk1.4, so this doesn't apply to any earlier Java version. Also, Java1.2.2 doesn't include any XML parser. Check your JAVA_HOME/jre/lib/ext. Make sure no Xerces libs are there. After that, check your system CLASSPATH and make sure it isn't there. Actually, set your system classpath to "." (a single dot) and then add libraries to the classpath via your own scripts. That should make sure these problems don't happen.
Jake
At 10:27 AM 11/13/2003 -0800, you wrote:
Peter,
I'm still trying to resolve the above problem. I tried your suggestion, but the deployment
machine I'm using is running Java 1.2.2. Does the endorsed directories system property
still function for such an old version?
Thanks, Sean -----Original Message----- From: Smith, Peter (ELSLON) [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 6:44 AM To: '[EMAIL PROTECTED]' Subject: RE: any way to ensure using latest xerces*.jars?
One possible way is to use the java endorsed directories system property.
ie: -Djava.endorsed.dirs=<directory where your xerces 2.x libs are located>
-----Original Message----- From: Maksym Kovalenko [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 14:42 To: [EMAIL PROTECTED] Subject: Re: any way to ensure using latest xerces*.jars?
Easiest way to find out what version is actually on your classpath is to
invoke one of the methods on org.apache.xerces.impl.Version
At least you can check and throw errors for old versions.
Sean Machin wrote:
I am deploying a parsing app to a servlet server on which
I have minimal control over jars in the classpath. I suspect
that my servlet is picking up old parser implementations
before the Xerces 2.5.0 in the classpath.
Is there any way to "force" an app. to use a specific
version of Xerces or otherwise ensure it's only using
code from the latest libs?
Thanks,
Sean
---------------------------------------------------------------------
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
--
---------- Maksym Kovalenko Software Engineer Marketswitch Corporation <http://www.marketswitch.com/>http://www.marketswitch.com 108 Powers Court, Suite 225 Dulles, VA 20166 Phone: +1 (703) 444-6750 ext. 302 Fax: +1 (703) 444-6812
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
