pkrystosiak

Clarity and Axis

Discussion created by pkrystosiak on Mar 10, 2010
Latest reply on Mar 12, 2010 by Chris_Hackett
Hi,
we have written a java program using axis2(classes were generated by wsdl2java from axis2). When running it on the server we get :
Exception in thread "main" org.apache.axiom.om.OMException: java.lang.ClassNotFoundException: org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
              at org.apache.axiom.om.OMAbstractFactory.getOMFactory(OMAbstractFactory.java:61)
              at org.apache.axis2.description.AxisDescription. (AxisDescription.java:68)
              at org.apache.axis2.description.AxisService. (AxisService.java:365)
              at org.apache.axis2.description.AxisService. (AxisService.java:436)
              at com.microsoft.schemas.sharepoint.soap.ListsStub.populateAxisService(ListsStub.java:41)
              at com.microsoft.schemas.sharepoint.soap.ListsStub. (ListsStub.java:412)
              at com.microsoft.schemas.sharepoint.soap.ListsStub. (ListsStub.java:401)
              at com.microsoft.schemas.sharepoint.soap.ListsStub. (ListsStub.java:452)
              at com.microsoft.schemas.sharepoint.soap.ListsStub. (ListsStub.java:444)
              at WSSIntegration3.listContainsProject(WSSIntegration3.java:72)
              at WSSIntegration3.addProject(WSSIntegration3.java:196)
              at WSSIntegration3.main(WSSIntegration3.java:260)
Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
              at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:164)
              at org.apache.axiom.om.OMAbstractFactory.getOMFactory(OMAbstractFactory.java:55)
              ... 11 more
 
It seems that Clarity is using axis1. How can we tell Clarity to use axis2?
Any ideas appreciated,
Pawel

Outcomes