• Post Reply Bookmark Topic Watch Topic
  • New Topic

classpath conflict from axis2 to websphere

peter doyle
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!