Shashi,
    One means of getting a JAR in your WAR/EAR loaded in preference to a
similar but older one packaged with WebSphere 5 is to go into the WAS5 Admin
tool and set the Class Loader behavior on your WAR and/or EAR to PARENT_LAST
(I believe it defaults to PARENT_FIRST) so that it'll look in your app first
to resolve classes rather than in the parent's context first.  It may not
work in all cases, but we have successfully used it to work around conflicts
in jars that WPS5 adds when you install it on WAS5 (where we have similar
jars in our WARs)...

..Mike

 
-----Original Message-----
From: Shashi Rai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 2:09 AM
To: [EMAIL PROTECTED]
Subject: Axis1.2 and Websphere 5.1


Hi All,
 
While going thru the list, I see lots of people are using Axis and Websphere
but not sure if anyone is using Axis1.2 beta 3 with WAS 5.1 fixpack1. 
 
In my application, I package Axis as a webapplication inside ear.
 
I can not seem to get my webservices working with Websphere unless I remove
websphere supplied .jar file. I get the following error because websphere
supplied .jar file includes older saaj apis.
 
[8/21/04 14:46:08:292 PDT] 3a289b4e WebGroup      E SRVE0026E: [Servlet
Error]-[class org.apache.axis.SOAPPart does not implement interface
org.w3c.dom.Document]: java.lang.IncompatibleClassChangeError: class
org.apache.axis.SOAPPart does not implement interface org.w3c.dom.Document

Is there anyone who encountered the similar issue ? Any idea how to resolve
this ?
 
Thanks for help.
 
--shashi
 
 

Reply via email to