Business Process (BP) stays indefinitely active at the FTP Client Begin Session step.
FTP Client Begin Session service or FTP Client Put / FTP Client Get service is configured with DelayWaitingOnIO set to -1.
If the Remote host is not available, the BP stays indefinitely active on the FTP Client Begin Session step and never halts or completes.Error Message
ftp client log:
[2008-12-18 09:45:55.281] ERROR <RMI TCP
Connection(31822)-18.104.22.168> 000000000000 GLOBAL_SCOPE
java.net.UnknownHostException: XXXXX_NAME08: XXXXX_NAME08
[2008-12-18 09:47:59.671] ERROR <RMI TCP Connection(31822)-22.214.171.124 LowSM SSEEFTPClientAdapterInternetnode1_FTPClientAdapter_node1_12295899547431001:68379 > 000000000000 GLOBAL_SCOPE resumeWorkFlow
com.sterlingcommerce.woodstock.workflow.WFCNotFoundException: WFC(gimli:7cfc19eb:11e491ad85b:ed) was Not Found
Resolving The Problem
The FTP Client Begin Session service waits indefinitely for connection when DelayWaitingOnIO is set to "-1", this is the design behaviour.
Here are the valid values for DelayWaitingOnIO:
1) Positive integer : The number of seconds the business process has to wait for a response from the FTP server before going to WAITING_ON_IO state.
2) 0 : The business process goes to WAITING_ON_IO state after sending a request to the FTP server.
3) -1 : The business process waits for the response from the FTP server to complete. The business process does not go to WAITING_ON_IO state.
4) Less than -1 : The parameter value is set to 0 (default value).
The FTP Client Begin Session service is working as designed.
26 February 2019