This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 1.4 Deployment on Websphere5.1 issue

 
Priyanka Kumar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks.
 
Priyanka Kumar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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="com.ibm.wtp.server.java.core.container/com.ibm.etools.websphere.runtime.core.runtimeTarget.v51/was.base.v51"/>
<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
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
3) PARENT_LAST (ear), PARENT_LAST(war) ,ClassLoader MODULE--- gives me VIRTUAL HOST NOT FOUND
4)PARENT_FIRST(ear), PARENT_FIRST(war)-- javax.xml.SOAPBody methods not found.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic