cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Framework exception: Cannot open data connection

suwandi_cahyadi
Contributor
0 Kudos

Dear Experts,

I've just raised a File receiver communication channel's Maximum Concurrency from 3 to 10.

After this, I monitor the adapter engine there were a number of file failing and the error listed at the audit log as:

Adapter Framework caught exception: Unexpected reply code Cannot open data connection

Has anyone ever experienced this? How to overcome this error?

Thank you,

Suwandi C.

Accepted Solutions (0)

Answers (2)

Answers (2)

suwandi_cahyadi
Contributor
0 Kudos

Hi All,

Looks like this only happen once after changing the maximum concurrency configuration.

After that, the error never occurs again.

Thank you,

Suwandi C.

former_member184720
Active Contributor
0 Kudos

Hi Suwandi - Did you also set the parameter poolWaitingTime when you increased the maximum concurrency?

and just to provide some information, when you increase the maximum concurrency which is nothing but increasing the parrallel connection to that FTP server on a single server node. So even you FTP server should be able to handle that many parallel connections

Despite that please refer to the #47 in the SAP note # 821267

2. Maximum Concurrency > 1 

              Before setting this, please apply note 1136790. For Maximum Concurrency > 1, this note should be applied and then only proceed with the following. 

              When Maximum Concurrency > 1 poolWaitingTime must be set to an optimal value. This should be more or less equal to time required to aquire a connection on a remote FTP/DB. If this is not known, set this to 1 min(60000 Milli Secs). This will ensure that, if channel cannot get the FTP connection with in the time specified then after 3 retries the thread will be released for other channels and message back-log can be reduced.