0% found this document useful (0 votes)
38 views2 pages

SOAP Exception Handling in Java

The document describes an issue where an application is unable to handle SOAP exceptions from a TCL JAVA program. The logs show errors related to missing classes for SOAP fault handling, XML streaming, and StAX parsing. The solution is to add four specific jar files related to those APIs to the classpath to provide the missing classes.

Uploaded by

Sameer Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views2 pages

SOAP Exception Handling in Java

The document describes an issue where an application is unable to handle SOAP exceptions from a TCL JAVA program. The logs show errors related to missing classes for SOAP fault handling, XML streaming, and StAX parsing. The solution is to add four specific jar files related to those APIs to the classpath to provide the missing classes.

Uploaded by

Sameer Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Issue description: Unable to handle SOAP exception from TCL JAVA as detailed in screenshot

below..

08/21/2017 16:51:19 [executeNativeCommand] ERROR AGENT -


::SrmVmwareService-::Could not initialize class
com.sun.xml.internal.ws.fault.SOAPFaultBuilder
08/21/2017 16:51:19 [executeNativeCommand] STACKTRACE AGENT -
::SrmVmwareService-::Exception:
java.lang.NoClassDefFoundError: Could not initialize class
com.sun.xml.internal.ws.fault.SOAPFaultBuilder

08/21/2017 16:57:00 [executeNativeCommand] ERROR COMMON -


::PanacesCLIProcessor-executeScript::Result =
java.lang.NoClassDefFoundError:
com/sun/xml/stream/buffer/XMLStreamBuffer
08/21/2017 16:57:00 [executeNativeCommand] ERROR COMMON -
::PanacesCLIProcessor-executeScript::java.lang.NoClassDefFoundError:
com/sun/xml/stream/buffer/XMLStreamBuffer Tcl errorInfo :
java.lang.NoClassDefFoundError:
com/sun/xml/stream/buffer/XMLStreamBuffer

08/21/2017 17:04:29 [executeNativeCommand] ERROR COMMON -


::PanacesCLIProcessor-executeScript::Result =
java.lang.NoClassDefFoundError: org/jvnet/staxex/XMLStreamReaderEx
08/21/2017 17:04:29 [executeNativeCommand] ERROR COMMON -
::PanacesCLIProcessor-executeScript::java.lang.NoClassDefFoundError:
org/jvnet/staxex/XMLStreamReaderEx Tcl errorInfo :
java.lang.NoClassDefFoundError: org/jvnet/staxex/XMLStreamReaderEx
while executing
Solution:

It required four Jar Files for AgentNode (DRM) to overcome this issue.

Here is the open source detail for Jar files to download.

http://www.java2s.com/Code/Jar/i/Downloadistackcommonsruntime213jar.htm

http://www.java2s.com/Code/Jar/s/Downloadstaxex12jar.htm

http://java2s.com/Code/Jar/s/Downloadstreambufferjar.htm

http://www.java2s.com/Code/Jar/j/Downloadjaxwsrt217jar.htm

Jar file Name:

jaxws-rt-2.1.4.jar
streambuffer.jar
stax-ex-1.2.jar
istack-commons-runtime-2.13.jar

You might also like