IBM Support

PM80602: IOEXCEPTION THROWN DURING MTOM PROCESSING EVEN IF THE WEBSERVICES APPLICATION WORKS FINE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In WebServices application Using MTOM attachemnts any of the
    following exceptions may be thrown even if the the application
    works fine
    
    ExtendedMessage: WSWS3227E:  Error:
    Exception:java.io.IOException: WSWS3251E: Error: Stream closed.
    at
    com.ibm.ws.webservices.engine.attachments.MultiPartRelatedInputS
    tream.read(MultiPartRelatedInputStream.java:788)
    at java.io.FilterInputStream.read(FilterInputStream.java:127)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource$FilterIS.rea
    d(WebServicesInputSource.java:805)
    at com.ibm.ws.webservices.utils.BAIS.create(BAIS.java:77)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getBAISConte
    nt(WebServicesInputSource.java:744)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getByteArray
    Content(WebServicesInputSource.java:710)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getStringCon
    tent(WebServicesInputSource.java:674)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getString(We
    bServicesInputSource.java:425)
    at
    com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart
    .java:1090)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPar
    t.java:628)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getEnvelope(SOAPPart.java
    :656)
    at
    com.ibm.websphere.webservices.soap.IBMSOAPMessage.getSOAPHeader(
    IBMSOAPMessage.java:67)
    at
    com.ibm.ws390.wsba.WSBASOAPRequestMonitor.handleRequest(WSBASOAP
    RequestMonitor.java:72)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPRequestMonitorManager.dr
    iveHandleRequest(SOAPRequestMonitorManager.java:120)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.processRe
    quest(SOAPConnectionLink.java:255)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.ready(SOA
    PConnectionLink.java:156)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr
    imination(HttpInboundLink.java:452)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe
    quest(HttpInboundLink.java:511)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ
    est(HttpInboundLink.java:305)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpI
    nboundLink.java:276)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.newConnectionCommon(Z
    AioTCPChannel.java:738)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.readCompletedNewConne
    ction(ZAioTCPChannel.java:560)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannelCPPUtilities.readCompl
    etedNewConnection(ZAioTCPChannelCPPUtilities.java:159)
    
    OR
    
    [7/12/11 6:57:23:237 GMT]     FFDC
    Exception:java.io.IOException
    SourceId:com.ibm.ws.webservices.engine.utils.MCUtils.interceptDe
    serializationException ProbeId:%C
    java.io.IOException: WSWS3251E: Error: Stream closed.
    at
    com.ibm.ws.webservices.engine.attachments.BoundaryDelimitedStrea
    m.read(BoundaryDelimitedStream.java:308)
    at
    com.ibm.ws.webservices.engine.attachments.BoundaryDelimitedStrea
    m.read(BoundaryDelimitedStream.java:427)
    at
    com.ibm.ws.webservices.engine.attachments.BoundaryDelimitedStrea
    m.close(BoundaryDelimitedStream.java:471)
    at
    com.ibm.ws.webservices.engine.attachments.MultiPartInputStream.c
    lose(MultiPartInputStream.java:150)
    at java.io.FilterInputStream.close(FilterInputStream.java:166)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource$FilterIS.clo
    se(WebServicesInputSource.java:813)
    at
    com.ibm.ws.webservices.engine.encoding.DeserializationContextImp
    l.parse(DeserializationContextImpl.java:300)
    at
    com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart
    .java:1064)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPar
    t.java:628)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getEnvelope(SOAPPart.java
    :656)
    at
    com.ibm.ws.Transaction.wstx.WSATHandlerHelper.getCoordinationCon
    text(WSATHandlerHelper.java:120)
    at
    com.ibm.ws.Transaction.wstx.WSATSOAPRequestMonitor.handleRequest
    (WSATSOAPRequestMonitor.java:74)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPRequestMonitorManager.dr
    iveHandleRequest(SOAPRequestMonitorManager.java:120)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.processRe
    quest(SOAPConnectionLink.java:255)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.ready(SOA
    PConnectionLink.java:156)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr
    imination(HttpInboundLink.java:452)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe
    quest(HttpInboundLink.java:511)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ
    est(HttpInboundLink.java:305)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpI
    nboundLink.java:276)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.newConnectionCommon(Z
    AioTCPChannel.java:739)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.readCompletedNewConne
    ction(ZAioTCPChannel.java:561)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannelCPPUtilities.readCompl
    etedNewConnection(ZAioTCPChannelCPPUtilities.java:160)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: In a WebServices application using      *
    *                      MTOM attachments, an exception may be   *
    *                      thrown even if the the application      *
    *                      works fine.                             *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack containing this APAR     *
    ****************************************************************
    In a WebServices application Using MTOM attachments any of the
    following exceptions may be thrown even if the the application
    works fine
    ExtendedMessage: WSWS3227E:  Error:
    Exception:java.io.IOException: WSWS3251E: Error: Stream closed.
    at
    com.ibm.ws.webservices.engine.attachments.MultiPartRelatedInputS
    tream.read(MultiPartRelatedInputStream.java:788)
    at java.io.FilterInputStream.read(FilterInputStream.java:127)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource$FilterIS.rea
    d(WebServicesInputSource.java:805)
    at com.ibm.ws.webservices.utils.BAIS.create(BAIS.java:77)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getBAISConte
    nt(WebServicesInputSource.java:744)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getByteArray
    Content(WebServicesInputSource.java:710)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getStringCon
    tent(WebServicesInputSource.java:674)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource.getString(We
    bServicesInputSource.java:425)
    at
    com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart
    .java:1090)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPar
    t.java:628)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getEnvelope(SOAPPart.java
    :656)
    at
    com.ibm.websphere.webservices.soap.IBMSOAPMessage.getSOAPHeader(
    IBMSOAPMessage.java:67)
    at
    com.ibm.ws390.wsba.WSBASOAPRequestMonitor.handleRequest(WSBASOAP
    RequestMonitor.java:72)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPRequestMonitorManager.dr
    iveHandleRequest(SOAPRequestMonitorManager.java:120)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.processRe
    quest(SOAPConnectionLink.java:255)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.ready(SOA
    PConnectionLink.java:156)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr
    imination(HttpInboundLink.java:452)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe
    quest(HttpInboundLink.java:511)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ
    est(HttpInboundLink.java:305)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpI
    nboundLink.java:276)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.newConnectionCommon(Z
    AioTCPChannel.java:738)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.readCompletedNewConne
    ction(ZAioTCPChannel.java:560)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannelCPPUtilities.readCompl
    etedNewConnection(ZAioTCPChannelCPPUtilities.java:159)
    OR
    [7/12/11 6:57:23:237 GMT]     FFDC
    Exception:java.io.IOException
    SourceId:com.ibm.ws.webservices.engine.utils.MCUtils.interceptDe
    serializationException ProbeId:%C
    java.io.IOException: WSWS3251E: Error: Stream closed.
    at
    com.ibm.ws.webservices.engine.attachments.BoundaryDelimitedStrea
    m.read(BoundaryDelimitedStream.java:308)
    at
    com.ibm.ws.webservices.engine.attachments.BoundaryDelimitedStrea
    m.read(BoundaryDelimitedStream.java:427)
    at
    com.ibm.ws.webservices.engine.attachments.BoundaryDelimitedStrea
    m.close(BoundaryDelimitedStream.java:471)
    at
    com.ibm.ws.webservices.engine.attachments.MultiPartInputStream.c
    lose(MultiPartInputStream.java:150)
    at java.io.FilterInputStream.close(FilterInputStream.java:166)
    at
    com.ibm.ws.webservices.utils.WebServicesInputSource$FilterIS.clo
    se(WebServicesInputSource.java:813)
    at
    com.ibm.ws.webservices.engine.encoding.DeserializationContextImp
    l.parse(DeserializationContextImpl.java:300)
    at
    com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart
    .java:1064)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPar
    t.java:628)
    at
    com.ibm.ws.webservices.engine.SOAPPart.getEnvelope(SOAPPart.java
    :656)
    at
    com.ibm.ws.Transaction.wstx.WSATHandlerHelper.getCoordinationCon
    text(WSATHandlerHelper.java:120)
    at
    com.ibm.ws.Transaction.wstx.WSATSOAPRequestMonitor.handleRequest
    (WSATSOAPRequestMonitor.java:74)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPRequestMonitorManager.dr
    iveHandleRequest(SOAPRequestMonitorManager.java:120)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.processRe
    quest(SOAPConnectionLink.java:255)
    at
    com.ibm.ws.soapchannel.monitor.impl.SOAPConnectionLink.ready(SOA
    PConnectionLink.java:156)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr
    imination(HttpInboundLink.java:452)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe
    quest(HttpInboundLink.java:511)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ
    est(HttpInboundLink.java:305)
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpI
    nboundLink.java:276)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.newConnectionCommon(Z
    AioTCPChannel.java:739)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannel.readCompletedNewConne
    ction(ZAioTCPChannel.java:561)
    at
    com.ibm.ws.tcp.channel.impl.ZAioTCPChannelCPPUtilities.readCompl
    etedNewConnection(ZAioTCPChannelCPPUtilities.java:160)
    

Problem conclusion

  • Fixed the code so that the IO stream is closed after flushing
    it and the exception no longer occurs.
    
    APAR PM80602 is currently targeted for inclusion in Service
    Level 7.0.0.29 of WebSphere Application Server.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80602

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-14

  • Closed date

    2013-03-26

  • Last modified date

    2013-07-17

  • APAR is sysrouted FROM one or more of the following:

    PM43789

  • APAR is sysrouted TO one or more of the following:

    PM93229

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UK94926

       UP13/06/20 P F306

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Document information

More support for: WebSphere Application Server for z/OS
General

Software version: 7.0

Reference #: PM80602

Modified date: 17 July 2013