IBM Support

IT27669: MESSAGE FLOWS WITH SFTP TRANPORT ENABLED FILE NODES CAN HANG/INDEFINITELY WAIT ON SOCKET READ CALLS.

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

  • Message flows with sftp enabled file node can indefinitely wait
    on socket read calls instead of throwing a
    java.net.SocketTimeoutException. This causes a hang situation
    for the message flow even if a non zero timeoutSec property
    value is configured.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM App Connect Enterprise V11.0 and IBM
    Integration Bus V10.0 using File nodes with SFTP transport.
    
    
    Platforms affected:
    z/OS, MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    Message flows containing an sftp enabled file node can
    indefinitely wait on socket read calls instead of throwing a
    java.net.SocketTimeoutException. This causes execution to hang
    for the message flow even if a non zero timeoutSec property
    value is configured.
    
    A java core taken at the time of issue shows following call
    stack for the hanging thread.
    
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:218(Compiled Code))
    at
    java/io/PipedInputStream.read(PipedInputStream.java:337(Compiled
     Code))
       (entered lock:
    com/jcraft/jsch/Channel$MyPipedInputStream@0x00000000FDF20B60,
    entry count: 2)
    at
    java/io/PipedInputStream.read(PipedInputStream.java:388(Compiled
     Code))
       (entered lock:
    com/jcraft/jsch/Channel$MyPipedInputStream@0x00000000FDF20B60,
    entry count: 1)
    at
    com/jcraft/jsch/ChannelSftp.fill(ChannelSftp.java:2909(Compiled
    Code))
    at
    com/jcraft/jsch/ChannelSftp.header(ChannelSftp.java:2935(Compile
    d Code))
    at
    com/jcraft/jsch/ChannelSftp.start(ChannelSftp.java:262(Compiled
    Code))
    at com/jcraft/jsch/Channel.connect(Channel.java:152(Compiled
    Code))
    at
    com/ibm/broker/remote/sftp/SFTPService.open(SFTPService.java:103
    9(Compiled Code))
       (entered lock: com/jcraft/jsch/JSch@0x00000000F0409190, entry
    count: 1)
       (entered lock:
    com/ibm/broker/remote/sftp/SFTPService@0x00000000F04405C8, entry
    count: 2)
    at
    com/ibm/broker/remote/sftp/SFTPService.open(SFTPService.java:347
    (Compiled Code))
    at
    com/ibm/broker/remote/sftp/SFTPService.reopen(SFTPService.java:3
    99(Compiled Code))
       (entered lock:
    com/ibm/broker/remote/sftp/SFTPService@0x00000000F04405C8, entry
    count: 1)
    at
    com/ibm/broker/remote/RemoteFileManager.refreshList(RemoteFileMa
    nager.java:205(Compiled Code))
       (entered lock: java/lang/Object@0x00000000F09E06D0, entry
    count: 1)
       (entered lock:
    com/ibm/broker/remote/sftp/SftpFileManager@0x00000000F09DFFB8,
    entry count: 1)
    at
    com/ibm/broker/remote/RemoteFileManager.doRemoteFileTransfer(Rem
    oteFileManager.java:432(Compiled Code))
    at
    com/ibm/broker/nodes/filenodes/AbstractFileInputNode.transferFro
    mRemoteServer(AbstractFileInputNode.java:1551(Compiled Code))
    at
    com/ibm/broker/nodes/filenodes/AbstractFileInputNode.getNextFile
    (AbstractFileInputNode.java:953(Compiled Code))
    at
    com/ibm/broker/nodes/filenodes/AbstractFileInputNode.readData(Ab
    stractFileInputNode.java:1126(Compiled Code))
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT27669

  • 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

    2019-01-21

  • Closed date

    2019-11-12

  • Last modified date

    2019-11-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":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
12 November 2019