Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-300

SAAJ0539: Unable to get header stream in saveChanges

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 1.5.1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Sun SPARC, Oracle AS, Web application (WAR) on OC4J Component

      Description

      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to get header stream in saveChanges:
      at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:541)
      at com.sun.xml.messaging.saaj.soap.MessageImpl.writeTo(MessageImpl.java:591)
      at labware.connector.j2c.LIMSSOAPWrapper.createSOAPFromCallDetails(LIMSSOAPWrapper.java:391)
      ... 28 more
      Caused by: java.io.IOException
      at com.sun.xml.messaging.saaj.soap.impl.EnvelopeImpl.output(EnvelopeImpl.java:240)
      at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getContentAsStream(SOAPPartImpl.java:202)
      at com.sun.xml.messaging.saaj.soap.MessageImpl.getHeaderBytes(MessageImpl.java:461)
      at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:538)
      ... 30 more

        Activity

        Hide
        jsanghav JIGNESH added a comment -

        We have deployed a web application on OC4J >> Oracle Application Server. This application runs fine with Tomcat. When we deployed on OAS, it is raising above exception. Please give solution. Thanks

        Show
        jsanghav JIGNESH added a comment - We have deployed a web application on OC4J >> Oracle Application Server. This application runs fine with Tomcat. When we deployed on OAS, it is raising above exception. Please give solution. Thanks
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Which version of Spring-WS is this?

        Show
        arjen.poutsma Arjen Poutsma added a comment - Which version of Spring-WS is this?
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        I cannot reproduce this. Make sure you have Xerces 2.8.1 and Xalan 2.7.0 on the classpath, and that they override the OC4J versions. That always does the trick for me.

        Show
        arjen.poutsma Arjen Poutsma added a comment - I cannot reproduce this. Make sure you have Xerces 2.8.1 and Xalan 2.7.0 on the classpath, and that they override the OC4J versions. That always does the trick for me.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        I cannot reproduce this. Make sure you have Xerces 2.8.1 and Xalan 2.7.0 on the classpath, and that they override the OC4J versions. That always does the trick for me.

        Show
        arjen.poutsma Arjen Poutsma added a comment - I cannot reproduce this. Make sure you have Xerces 2.8.1 and Xalan 2.7.0 on the classpath, and that they override the OC4J versions. That always does the trick for me.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing issues for 1.5.1

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing issues for 1.5.1

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            jsanghav JIGNESH
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: