IBM Support

SFTP Client End Session Service receives a timeout and never closes the connection.

Troubleshooting


Problem

SFTP Client End Session Service receives a timeout and never closes the connection.

Symptom

Using the SFTP Client Adapter with some 3rd party SFTP Servers such as WS_FTP_Pro and Titan FTP Server, if there is a firewall used, GIS SFTP Client End Session may hang if it never receives an acknowledgement (FIN_ACK2) of the closing session from the network. It seems that the firewall was dropping the acknowledgement message after it received the closing Command causing the Sftp Client End Session Service to wait forever.

Error Message

sftpclient.log file:

[2008-08-28 14:26:19.539] DEBUG 000000000000 GLOBAL_SCOPE           [[SERVICE]] -- SFTPClientEndSession
[2008-08-28 14:26:19.539] DEBUG 000000000000 GLOBAL_SCOPE EndSessionService.getServerAdapterLittleA() - looking up Server Adapter for [SFTPClientAdapter_SFTPClientAdapter_node1].
[2008-08-28 14:26:19.552] DEBUG 000000000000 GLOBAL_SCOPE Client.endSession(ESR) entering.
[2008-08-28 14:26:19.552] DEBUG 000000000000 GLOBAL_SCOPE Client.endSession(ESR) - starting timer with timeout [30000] ms, on com.sterlingcommerce.woodstock.services.sftpclient.client.TimeoutHandler@1d401d4
[2008-08-28 14:26:19.553] DEBUG 000000000000 GLOBAL_SCOPE Client.endSession(ESR) request parameters:
<SFTPClientAdapter>null</SFTPClientAdapter>
<SessionToken>SFTPClientAdapter_SFTPClientAdapter_node1_12199479718221002:66896</SessionToken>
<WorkflowContextId>hctunx09:node1:11bffbb0009:738473</WorkflowContextId>
<ResponseTimeout>30</ResponseTimeout>
[2008-08-28 14:26:19.553] DEBUG 000000000000 GLOBAL_SCOPE Session.endSession(R,PT) entering.
[2008-08-28 14:26:19.556] DEBUG 000000000000 GLOBAL_SCOPE Session.endSession(R,PT) exiting.
[2008-08-28 14:26:19.557] DEBUG 000000000000 GLOBAL_SCOPE Session.endSession(R,PT) runnable entering.
[2008-08-28 14:26:29.558] ERROR
EDU.oswego.cs.dl.util.concurrent.TimeoutException
 at EDU.oswego.cs.dl.util.concurrent.FutureResult.timedGet(FutureResult.java:128)
 at com.sterlingcommerce.woodstock.services.sftpclient.services.Response.waitForResults(Response.java:97)
 at com.sterlingcommerce.woodstock.services.sftpclient.client.Client.endSession(Client.java:309)
 at com.sterlingcommerce.woodstock.services.sftpclient.AdapterImpl.endSession(AdapterImpl.java:206)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:615)
 at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:309)
 at sun.rmi.transport.Transport$1.run(Transport.java:168)
 at java.security.AccessController.doPrivileged(AccessController.java:275)
 at sun.rmi.transport.Transport.serviceCall(Transport.java:164)
 at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:506)
 at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:838)
 at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:912)
 at java.lang.Thread.run(Thread.java:801)

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Extensions","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

NFX2720

Document Information

Modified date:
14 November 2019

UID

swg21559448