NamedValue[] properties = new NamedValue[]{Utils.createNamedValue(Constants.PROP_NAME, "Web Service Sample Folder")}; CMLCreate create = new CMLCreate("1", parentReference, null, null, null, Constants.TYPE_FOLDER, properties); CML cml = new CML(); cml.setCreate(new CMLCreate[]{create}); line 98 –> UpdateResult[] results = WebServiceFactory.getRepositoryService().update(cml);
To find out why, I tried to hit axis at http://localhost:8080/axis and I did not get the happy axis page. I added all jars to a newly created axis\web-inf\lib path in Tomcat. Then the happy axis page came up. But, when I clicked on links there (such as wsdl), instead of getting the resource list, I got an error message telling me that the compiler is not on the classpath (it is) but I added tools.jar to \lib and that solved all Axis problems. Unfortunately, it did not resolve the Eclipse problem.
I have successfully set up Alfresco on an existing Tomcat via the Alfresco tutorial here: http://www.alfresco.com/help/34/community/all/. I can log into Alfresco from localhost/8080/alfresco, create spaces, et al from the web-client. I have setup the SDK in eclipse and I am able to successfully deploy my model and jar with Ant to Tomcat (as well as log in from within the POJO).
I am running Alfresco Community 3.4 for 64 bit windows on Tomcat 7.0.10 for 64 bit windows in the dir %tomcat_home%/web-apps/alfresco using Eclipse Helios Service Release 1
Any help is greatly appreciated!!! The full error stack trace is below:
AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:297) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTracerg.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:297) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:297) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:297) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:216) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39) Caused by: org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender java.lang.ClassNotFoundException: org.apache.ws.axis.security.WSDoAllSender at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:297) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update(RepositoryServiceSoapBindingStub.java:986) at com.trensic.server.test.TestAlfresco.createSampleData(TestAlfresco.java:98) at com.trensic.server.test.TestAlfresco.<init>(TestAlfresco.java:48) at com.trensic.server.test.TestAlfresco.main(TestAlfresco.java:39)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:297) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473) at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269) at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126)
Thanks so much for your reply. BTW, I am using 3.4.d SDK and 3.4 for win 64 server. Per your post, I should not be having this issue. However, I finally solved it. I'll provide info in case someone in the future faces this issue.
I wound up using jar tf [jar.name] | more on the entire %tomcat_home%/web-apps/axis/web-inf/lib directory. I reviewed each jar file's packages and classes and figured out why the compiler is complaining that the class is not found. The fact is that the class does not exist in any of the Axis jars you'll get if you download the axis/bin (1.4) package from Apache (at least this is my experience). After some Googling, I found that the class in question is in wss4j-1.5.1.jar (not to be confused with wsdl4j-1.5.1.jar which you actually will get if you download from Apache). Make sure that you get jar wss4j-1.5.1.jar IN ADDITION to any other Axis jars you may need. Put that jar in the axis\web-inf\lib directory. Then go to Eclipse, right click on your project node —> Properties –> java build path –> Add External JARs and then browse to the wss4j-1.5.1.jar, select it and then select "OK" to close the properties window. Restart Tomcat, run the code and all is good!
Note (again from my experience) If you deploy Tomcat 7.10 for win 64, it will not have the Axis lib in it. Go get the Axis package and ensure that you have all jar files in %tomcat_home%/webapps/axis/web-inf/lib (create the directory as it won't be in Tomcat). If you have set up everything else and gotten confirmation that Alfresco is up and running, I'd be sure to check Axis as a potential culprit…
Sorry for cluttering up the board with a problem that I eventually solved myself. If this problem is not super obscure, maybe this thread will help someone in the future…