cancel
Showing results for 
Search instead for 
Did you mean: 

FILE Adpater Receiver - Connection is closed

Former Member
0 Kudos

Hello,

I am having a scenario where receiver channel is configured as FILE-FTP adpater.

I am getting following error (see logs below)

1. Connection is opened succsefully

2. Network Path and file is created

3. When transferring data to remote file after 21 seconds the connection is lost.

I maintined Timeout with 120 seconds but it did not help. Still the connection is lost after 21 seconds.

Is there any other parameter for Timeout in XI or this is anissue of FTP server on reciver system7host?

Br,

Max

2007-11-27 14:44:38 Success Connect to FTP server "myIP", directory "L50_in"

2007-11-27 14:44:48 Success Write to FTP server "myIP", directory "L50_in", file "_XI_test_Boliden.txt"

2007-11-27 14:44:48 Success Transfer: "TXT" mode, size 28 bytes, character encoding Cp1252

2007-11-27 14:45:09 Error Attempt to process file failed with java.net.ConnectException: Connection timed out: connect

2007-11-27 14:45:09 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Connection timed out: connect: java.net.ConnectException: Connection timed out: connect

2007-11-27 14:45:09 Error Exception caught by adapter framework: Connection timed out: connect

Accepted Solutions (0)

Answers (4)

Answers (4)

prabhu_s2
Active Contributor
0 Kudos

this might sound silly but check with ur admin if they had set any time limit for the ports or gateways in the ftp

vikas_agarwal
Contributor
0 Kudos

Hi,

You can try this Connect Mode which is of two types:

○ Permanently

An existing connection to the FTP server is used permanently.

The connection is reestablished automatically if it is lost on the server side.

○ Per File Transfer

A new connection to the FTP server is established for each file transfer.

Configuring FTP adapter:

http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm

Thanks

Former Member
0 Kudos

Hello,

I done his also already.

Seems like the ftp server is killing the ftp file transfer. This was my guess. But in command line from XI server I can upload files to reciever host. That's I wonder what is going on...

Br,

Max

prateek
Active Contributor
0 Kudos

In the receiver file adapter, have u configured the File Type as "Text"?

Can u tell us whether ur XI is installed on Windows system or a UNIX system?

Regards,

Prateek

Former Member
0 Kudos

Hello,

XI installed on Windows, I do maintin transfer as TEXT. See logs above in first posting.

thanks!

Mariusz

Former Member
0 Kudos

Hello,

it's solved out. this was an issue in gateway not XI after all.

Thanks!

Mariusz

prateek
Active Contributor
0 Kudos

Have a look at SAP Note 849089 - File Adapter: FTP Timeout Handling

Regards,

Prateek

prabhu_s2
Active Contributor
0 Kudos

check with Connect Mode <b>Per File Transfer</b>

Former Member
0 Kudos

Hello,

I check this out already, also I went thru OS 849089 and time out handling. So far no luck..

Thanks!

Mariusz