Fixes are available
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
Obtain the fix for this APAR.
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:
APAR is sysrouted TO one or more of the following:
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
Modified date:
29 October 2021