File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis 1.4  Deployment on Websphere5.1 issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 1.4  Deployment on Websphere5.1 issue" Watch "Axis 1.4  Deployment on Websphere5.1 issue" New topic

Axis 1.4 Deployment on Websphere5.1 issue

Priyanka Kumar

Joined: Mar 21, 2007
Posts: 7
When I deployed my web service locally, I renamed the webservices.jar temporarily in the websphere runtime.
This solution worked, but now I am running into issues deploying into Test enviroment. Using PARENT_LAST and MODULE settings did not work.
It seems to be picking webservices.jar before saaj.jar.

Is there any solution for this.. besides deleting or renaming webservices.jar?

Priyanka Kumar

Joined: Mar 21, 2007
Posts: 7
I have only one war file... which has the Java Code and all axis related war file.

This is the classpath entry

<classpathentry exported="true" kind="lib" path="/wsapp/saaj.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jaxrpc.jar"/>
<classpathentry kind="src" path="JavaSource"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/WebSphere v5.1 JRE"/>
<classpathentry kind="con" path=""/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-discovery-0.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/axis.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/axis-ant.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/wsdl4j-1.5.1.jar"/>
<classpathentry sourcepath="/pws-caws/log4j.jar" kind="lib" path="/wsapp/log4j.jar"/>
<classpathentry sourcepath="/wsapp/rowset.jar" kind="lib" path="/wsapp/rowset.jar"/>
<classpathentry sourcepath="/wsapp/ojdbc14.jar" kind="lib" path="/wsapp/ojdbc14.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-configuration-1.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-lang-2.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-digester-1.7.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/classes12.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/saaj.jar"/>
<classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
Priyanka Kumar

Joined: Mar 21, 2007
Posts: 7
Any suggestions will be greatly appreciated..

I have tried a number of options.. but none worked
1) set saaj.jar in the ws.ext.dirs property
2) set saaj.jar in the CLASSPATH property
4)PARENT_FIRST(ear), PARENT_FIRST(war)-- javax.xml.SOAPBody methods not found.
I agree. Here's the link:
subject: Axis 1.4 Deployment on Websphere5.1 issue
It's not a secret anymore!