Results 1 to 5 of 5

Thread: Unable to internalize message error - Websphere 6.1

  1. #1
    Join Date
    Dec 2007
    Posts
    1

    Default Unable to internalize message error - Websphere 6.1

    Hi everyone,

    I have been searching for answer for my problem but to no avail so I decided to seek help from the experts on this forum.

    I have a Spring WS which is using JDK 1.5 and SAAJ 1.3. When I deployed it on Tomcat 5, everything works that I am able to get a response. However, exceptions occurred when I deployed it on Websphere 6.1 and this problem has been bugging me for so long that I am still not able to figure it out. The exception is:

    [22/12/07 12:54:37:029 EST] 00000027 soap E SAAJ0535: Unable to internalize message
    [22/12/07 12:54:37:049 EST] 00000027 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: ---------. Exception thrown : org.springframework.web.util.NestedServletExceptio n: Request processing failed; nested exception is org.springframework.ws.soap.SoapMessageCreationExc eption: Could not create message from InputStream: Unable to internalize message; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    Caused by: org.springframework.ws.soap.SoapMessageCreationExc eption: Could not create message from InputStream: Unable to internalize message; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    at com.sun.xml.messaging.saaj.soap.MessageImpl.init(M essageImpl.java:470)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init> (MessageImpl.java:273)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessage Factory1_1Impl.createMessage(SOAPMessageFactory1_1 Impl.java:62)
    at org.springframework.ws.soap.saaj.SaajSoapMessageFa ctory.createWebServiceMessage(SaajSoapMessageFacto ry.java:164)
    at org.springframework.ws.transport.AbstractWebServic eConnection.receive(AbstractWebServiceConnection.j ava:53)
    at org.springframework.ws.transport.support.WebServic eMessageReceiverObjectSupport.handleConnection(Web ServiceMessageReceiverObjectSupport.java:85)
    at org.springframework.ws.transport.http.WebServiceMe ssageReceiverHandlerAdapter.handle(WebServiceMessa geReceiverHandlerAdapter.java:57)
    at org.springframework.ws.transport.http.MessageDispa tcherServlet.doService(MessageDispatcherServlet.ja va:158)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:475)
    at org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:440)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:966)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:463)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3107)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:238)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1425)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:92)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminators(NewConnectionIniti alReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletio nActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:193)
    at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:725)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:847)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1498)
    Caused by: java.lang.VerifyError: class loading constraint violated (class: com/sun/xml/messaging/saaj/soap/SOAPPartImpl method: getDomConfig()Lorg/w3c/dom/DOMConfiguration at pc: 0
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 59)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 57)
    at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1I mpl.getSOAPPart(Message1_1Impl.java:78)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.initCh arsetProperty(MessageImpl.java:1304)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.init(M essageImpl.java:363)
    ... 32 more

    CAUSE:

    java.lang.VerifyError: class loading constraint violated (class: com/sun/xml/messaging/saaj/soap/SOAPPartImpl method: getDomConfig()Lorg/w3c/dom/DOMConfiguration at pc: 0
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 59)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 57)
    at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1I mpl.getSOAPPart(Message1_1Impl.java:78)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.initCh arsetProperty(MessageImpl.java:1304)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.init(M essageImpl.java:363)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init> (MessageImpl.java:273)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessage Factory1_1Impl.createMessage(SOAPMessageFactory1_1 Impl.java:62)
    at org.springframework.ws.soap.saaj.SaajSoapMessageFa ctory.createWebServiceMessage(SaajSoapMessageFacto ry.java:164)
    at org.springframework.ws.transport.AbstractWebServic eConnection.receive(AbstractWebServiceConnection.j ava:53)
    at org.springframework.ws.transport.support.WebServic eMessageReceiverObjectSupport.handleConnection(Web ServiceMessageReceiverObjectSupport.java:85)
    at org.springframework.ws.transport.http.WebServiceMe ssageReceiverHandlerAdapter.handle(WebServiceMessa geReceiverHandlerAdapter.java:57)
    at org.springframework.ws.transport.http.MessageDispa tcherServlet.doService(MessageDispatcherServlet.ja va:158)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:475)
    at org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:440)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:966)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:463)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3107)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:238)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1425)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:92)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminators(NewConnectionIniti alReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletio nActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:193)
    at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:725)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:847)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1498)



    I am not sure what caused the problem. Please shed some lights if anyone has answer for this. Thank you very much in advance.

  2. #2
    Join Date
    Feb 2009
    Posts
    25

    Default

    Did you ever find out WHY this was happening? I seem to have the same issue.

  3. #3
    Join Date
    Nov 2008
    Location
    Tunisia
    Posts
    67

    Default

    Quote Originally Posted by jeffy View Post
    Caused by: java.lang.VerifyError: class loading constraint violated (class: com/sun/xml/messaging/saaj/soap/SOAPPartImpl method: getDomConfig()Lorg/w3c/dom/DOMConfiguration at pc: 0
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 59)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 57)
    at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1I mpl.getSOAPPart(Message1_1Impl.java:78)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.initCh arsetProperty(MessageImpl.java:1304)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.init(M essageImpl.java:363)
    ... 32 more

    CAUSE:

    java.lang.VerifyError: class loading constraint violated (class: com/sun/xml/messaging/saaj/soap/SOAPPartImpl method: getDomConfig()Lorg/w3c/dom/DOMConfiguration at pc: 0
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 59)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 57)
    at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1I mpl.getSOAPPart(Message1_1Impl.java:78)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.initCh arsetProperty(MessageImpl.java:1304)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.init(M essageImpl.java:363)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init> (MessageImpl.java:273)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessage Factory1_1Impl.createMessage(SOAPMessageFactory1_1 Impl.java:62)
    at org.springframework.ws.soap.saaj.SaajSoapMessageFa ctory.createWebServiceMessage(SaajSoapMessageFacto ry.java:164)
    at org.springframework.ws.transport.AbstractWebServic eConnection.receive(AbstractWebServiceConnection.j ava:53)
    at org.springframework.ws.transport.support.WebServic eMessageReceiverObjectSupport.handleConnection(Web ServiceMessageReceiverObjectSupport.java:85)
    at org.springframework.ws.transport.http.WebServiceMe ssageReceiverHandlerAdapter.handle(WebServiceMessa geReceiverHandlerAdapter.java:57)
    at org.springframework.ws.transport.http.MessageDispa tcherServlet.doService(MessageDispatcherServlet.ja va:158)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:475)
    at org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:440)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:966)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:463)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3107)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:238)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1425)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:92)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminators(NewConnectionIniti alReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletio nActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:193)
    at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:725)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:847)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1498)[/COLOR]
    I am not sure what caused the problem. Please shed some lights if anyone has answer for this. Thank you very much in advance.
    seems like you have some incompatible libraries.

  4. #4
    Join Date
    Feb 2009
    Posts
    25

    Default

    I am actually just getting the Unable to internalize message error, not the additional items.

    Here is what I'm getting back using SOAP UI -- it's a 500 error, but I see nothing in the SystemOut.log file:


    HTTP/1.1 500 Internal Server Error
    Content-Type: text/html;charset=UTF-8
    $WSEP:
    Content-Language: en-US
    Content-Length: 295
    Connection: Close
    Date: Fri, 15 May 2009 19:39:11 GMT
    Server: WebSphere Application Server/6.1

    Error 500: Request processing failed&#59; nested exception is org.springframework.ws.soap.SoapMessageCreationExc eption: Could not create message from InputStream: Unable to internalize message&#59; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message

  5. #5
    Join Date
    Feb 2009
    Posts
    25

    Default

    Just to close this, it turns out the error I was seeing is due to the fact that I needed to add the jaxp-ri jar
    For Sun JVM's, that jar is built in so the classes are found. That's not
    true for the IBM JDK so you need to add them into your application
    classloader.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •