We have a situation in Websphere 6.1 where there is a class loading problem 
with an Axis2 1.5.2 web service.  The class loading is set to PARENT_LAST on 
the web app.  That is the first thing I always do with Axis2 web services 
running on Websphere.

We've determined that the class loading problem comes from the fact that 
classes are missing that were in prior versions of Axis2.  These were in the 
xml-apis-1.3.04.jar file in Axis2 version 1.4.1.  The specific class causing 
the problem is org.w3c.dom.Notation.  It is no longer present in the Axis2 
1.5.2 WAR and causes a linkage error.


Manually adding the xml-apis-1.3.04.jar file from the Axis2 1.4.1 distribution 
to the Axis2 1.5.2 web application cures the problem.

Why was this JAR removed in newer versions?  How do I get around this error, 
apart from manually adding a JAR from a prior distribution?  There must be a 
better way.


Any guidance is appreciated.

Thanks,
J

Reply via email to