Skip to main content

PM43789: 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 IBM WebSphere Application               *
    *                  Server V8.0 WebServices users using MTOM in *
    *                  the application                             *
    ****************************************************************
    * 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.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.2.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM43789

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-15

  • Closed date

    2011-07-27

  • Last modified date

    2013-01-14

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

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

    PM80602

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

WebSphere Application Server

General


Software version:
8.0


Reference #:
PM43789


Modified date:
2013-01-14

Translate my page

Content navigation