Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

createPDF throws IllegalStateException and NoClassDefFoundError for SOAPConstants

$
0
0

The method call "createPDF" is failing with IllegalStateException as shown in the log below. I've included the list of jars mentioned in thread http://forums.adobe.com/thread/797685. Do you have any suggestions for resolving this or getting a verbose error message that help resolve the issue? Thanks.

 

Also - I'm doing this as a SOAP call.

This is the program call..

DistillerServiceClient dsc = new DistillerServiceClient(myFactory);

result = dsc.createPDF(inDoc, inputFileName, adobePDFSettings, securitySettings, optDoc, null);

 

 

 

These jars are in the class path..

Classes.png

 

 

This is what I see in the logs..

 

LiveCycle Server request failed:

java.lang.IllegalStateException
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(ServiceClientFactory.j ava:67)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:220)
at com.adobe.livecycle.distiller.client.DistillerServiceClient.createPDF(DistillerServiceCli ent.java:149)
at com.principal.corp.watcher.LiveCycleFunctions.callLiveCycle(LiveCycleFunctions.java:77)
at com.principal.corp.watcher.FolderListner.run(FolderListner.java:268)
at java.lang.Thread.run(Thread.java:811)
Caused by:
java.lang.NoClassDefFoundError: org.apache.axis.soap.SOAPConstants
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.createMessageDispatcher(ServiceClientFac tory.java:593)
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.getMessageDispatcher(ServiceClientFactor y.java:550)
at com.adobe.idp.dsc.clientsdk.ServiceClient.getMessageDispatcher(ServiceClient.java:239)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:205)
... 4 more
Caused by:
java.lang.ClassNotFoundException: org.apache.axis.soap.SOAPConstants
at java.net.URLClassLoader.findClass(URLClassLoader.java:497)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:132)
at java.lang.ClassLoader.loadClass(ClassLoader.java:650)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:616)
... 13 more

 

 


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>