IBM Support

IT26659: SFTP FILE OUTPUT NODE WILL ROLLBACK MSG IF REMOTE SERVER CLOSES CONNECTION AFTER TRANSFER IS COMPLETED BUT BEFORE FILE IS CLOSED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When usinge the FileOutput node to transfer data over SFTP, it
    is possible that the message flow may be rolled back despite the
    file having been transferred successfully.
    .
    This can happen if the remote host closes the connection after
    the file transfer has finished but before the file handle is
    closed.
    .
    This error is indicated by the following service trace entry:
    .
    ==========================APAR=64Col============================
    SFTPService.putStream '4: java.io.IOException: inputstream is
    closed at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:697)
       at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:540)
       at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:492)
       at com.ibm.broker.remote.sftp.SFTPService.putStream(SFTPServi
       ce.java:589)
       at com.ibm.broker.nodes.filenodes.AbstractFileOutputNode.tran
       sferToRemoteServer(AbstractFileOutputNode.java:785)
       at com.ibm.broker.nodes.filenodes.AbstractFileOutputNode.proc
       essEOD(AbstractFileOutputNode.java:1141)
       at com.ibm.broker.nodes.filenodes.AbstractFileOutputNode.send
       Data(AbstractFileOutputNode.java:350)
       at com.ibm.broker.nodes.filenodes.ComIbmFileOutputNode.send
       Data(ComIbmFileOutputNode.java:426)
       at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(MbOut
       putTemplateNode.java:53)
     Caused by: java.io.IOException: inputstream is closed at com.jc
       raft.jsch.ChannelSftp.fill(ChannelSftp.java:2911)
       at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.java:2935)
       at com.jcraft.jsch.ChannelSftp.checkStatus(ChannelSftp.java:
       2473)
       at com.jcraft.jsch.ChannelSftp._sendCLOSE(ChannelSftp.java:
       2492)
       at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:692)
       ... 8 more '
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus v10 and IBM App Connect
    Enterprise v11 using the FileOutput Node to transfer files using
    SFTP.
    
    
    Platforms affected:
    z/OS, MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When using the FileOutput node in SFTP mode, it is possible for
    a Java exception to occur and roll back the flow despite having
    successfully transferred the file. This can happen when the
    remote server unexpectedly closes the SFTP connection after the
    file has been sent.
    

Problem conclusion

  • The FileOutput node will now ignore such Java exceptions once
    the file has been successfully transferred.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v10.0      10.0.0.15
    v11.0      11.0.0.4
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT26659

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0540

  • Reported release

    A00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-18

  • Closed date

    2019-02-12

  • Last modified date

    2019-02-12

  • 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

    INTEGRATION BUS

  • Fixed component ID

    5724J0540

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 February 2019