This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes classpath conflict from axis2 to websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "classpath conflict from axis2 to websphere" Watch "classpath conflict from axis2 to websphere" New topic
Author

classpath conflict from axis2 to websphere

peter doyle
Greenhorn

Joined: Jul 19, 2004
Posts: 3
i have a pojo class in an .aar file deployed as a web-service in axis2 (1.2), running on tomcat (5.5.20)

to look up an ejb in ibm websphere (6.1) the class attempts the following ...



... which compiles cleanly, but fails at runtime with a ClassNotFoundException for com.ibm.websphere.naming.WsnInitialContextFactory

adding the com.ibm.ws.runtime_6.1.0.jar (which contains the missing class) to the axis2/WEB-INF/lib directory causes a conflict between two versions of javax.wsdl.Operation - the new version in axis2/WEB-INF/lib/wsdl4j-1/6/2.jar, and the old inside com.ibm.ws.runtime_6.1.0.jar

i tried adding the ibm jar file into the .aar file at the root, and inside a /lib directory - both resulting in the same ClassNotFoundException as above

thanks in advance for any help

peter.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath conflict from axis2 to websphere
 
Similar Threads
Need Help - How to access JMS Administered objects created in WAS 6.1 from Servlet ?
Getting DataSource object through JNDI in WebSphere 6.1
Errors invoking EJB deployed on websphere from the JSP client running on Tomcat
Getting DataSource object through JNDI in WebSphere 6.1
NoClassDefFoundError when doing Queue CF lookup