IBM Support

IC87351: WEBSPHERE MQ FTE V704 BRIDGE AGENT FAILS TO CONNECT TO AN SFTP SERVER WHEN USING NON-DEFAULT PORT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the WebSphere MQ File Transfer Edition Bridge Agent
    7.0.4 to connect
    to an SFTP server, via the SOCKS proxy, and using a TCP port
    other than the default port for SFTP (22), the
    connection is established but the agent is not able to get or
    put files.
    
    A Javacore shows the following stack of the thread attempting to
    read from the network:
    
    Java callstack:
    at java/net/SocketInputStream.socketRead0(Native Method)
    at java/net/SocketInputStream.read(SocketInputStream.java:140)
    at com/jcraft/jsch/IO.getByte(IO.java:82)
    at com/jcraft/jsch/Session.read(Session.java:815)
    at com/jcraft/jsch/Session.run(Session.java:1183)
    at java/lang/Thread.run(Thread.java:736)
    
    The stack of the thread waiting to be notified of data from
    the network is as follows:
    
    Java callstack:
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:196(Compiled Code))
    at com/jcraft/jsch/Session.write(Session.java:1120)
    at com/jcraft/jsch/ChannelSftp.sendINIT(ChannelSftp.java:1948)
    at com/jcraft/jsch/ChannelSftp.start(ChannelSftp.java:207)
    at com/jcraft/jsch/Channel.connect(Channel.java:207)
    at com/jcraft/jsch/Channel.connect(Channel.java:151)
    at
    com/ibm/wmqfte/bridge/session/sftp/SFTPConnection.openChannel(SF
    TPConnection.java:477)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere File Transfer
    Edition Bridge Agent connecting via a SOCKS proxy to an SFTP
    server listening on a non-default port.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM SUMMARY:
    To connect to an SFTP server the WebSphere MQ File Transfer
    Edition Bridge Agent uses the JSch library. The level of JSch
    library supplied with WebSphere MQ File Transfer Edition version
    7.0.4 was version 0.1.40. A defect in this level of the JSch
    library caused the JSch classes to hang during an SFTP file
    transfer using a proxy server and non-default TCP port. This
    meant that the WebSphere MQ File Transfer Edition Bridge Agent
    was unable to complete a file transfer using this SFTP
    connection.
    

Problem conclusion

  • The JSch library has been updated from version 0.1.40 to 0.1.48.
    Version 0.1.48 of the JSch library resolved the reported issue.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Platform           v7.0
    --------           --------------------
    Multiplatforms     7.0.4.3
    
    Platform           v7.5
    --------           --------------------
    Multiplatforms     7.5.0.1
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC87351

  • Reported component name

    WMQ FILE TRANSF

  • Reported component ID

    5724R1000

  • Reported release

    704

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-22

  • Closed date

    2012-12-12

  • Last modified date

    2012-12-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

    WMQ FILE TRANSF

  • Fixed component ID

    5724R1000

Applicable component levels

  • R704 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEP7X","label":"WebSphere MQ File Transfer Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.4","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
12 December 2012