Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Overriding xerces jar

40 views
Skip to first unread message

Graham Smith

unread,
Nov 21, 2002, 7:27:49 PM11/21/02
to
I've added my own xerces.jar to my application server command line
classpath, but Websphere (4.0.2 on AIX) is still using its own copy,
in our case: /opt/was/AppServer/lib/app/xerces.jar

Does anyone have any idea why I cannot override the WAS xerces on this
machine?

Graham

Hugo Pragt

unread,
Nov 22, 2002, 3:47:45 AM11/22/02
to
Actually you can.
Place the Xerces jars in your
opt/WebSphere/AppServer/installedApps/MyApp.Ear/MyApp.War/WEB-INF/lib/
directory
it will then use this jar in preference to it's own (Only for MyApp)

Hugo Pragt


"Graham Smith" <Graham...@chordiant.com> wrote in message
news:a3519360.0211...@posting.google.com...

Wolfgang Amon

unread,
Nov 22, 2002, 5:21:35 AM11/22/02
to
Graham...@chordiant.com (Graham Smith) wrote in message news:<a3519360.0211...@posting.google.com>...

Hi Graham,

we had a similar problem with WebSphere for z/OS 4.0.1
Put the xerces classes into the application's ear-file and add to your
jvm.properties:

com.ibm.ws390.server.classloadermode=2

and maybe
javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl

Hope that helps
Wolfgang

Graham Smith

unread,
Dec 1, 2002, 8:36:13 AM12/1/02
to
Thanks for the help guys. As a follow up, IBM support told us that the
copy of xerces.jar in /opt/was/AppServer/lib/app is used only during
installation, and can be deleted. When deleted, Websphere uses my
application's xerces.jar instead.

Graham

Graham...@chordiant.com (Graham Smith) wrote in message news:<a3519360.0211...@posting.google.com>...

0 new messages