Incomplete File Transfer when having a BPEL Process using Oracle FTP Adapter (Doc ID 741341.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.3 to 10.1.3.4 - Release: to AS10gR3
Information in this document applies to any platform.
SOA 10.1.3.x and 10.1.3.3.1 for MLRs lower than MLR#14
***Checked for relevance on 04-Apr-2011***

Symptoms

The problem occurs when with a network topology with Oracle SOA and FTP server machines and inbetween there are several firewalls and a VPN connection.
 
Having a BPEL process that uses FTP Adapter, when this FTP Adaper is located remotely (between the server with the Oracle SOA installation and the FTP server there are one/more routers and a VPN connection), the FTP doesn't send the file completely - it sends the "FIN" message before the whole file gets transmitted. After closing the connection the FTP Adapters sends more data.  With FTP client the same works.

Faulty connections terminate with :
227 Entering Passive Mode (192,168,50,1,13,202)
STOR /test/file_20080731134548747_2201534.xml
150 Connection accepted

This is the last FTP control session command. No confirmation is received. The control connection is terminated before the data transfer is complete.

While correct connections terminate with :
227 Entering Passive Mode (192,168,50,1,13,203)
STOR /test/file_20080731134548419_1718648.xml
150 Connection accepted
!All lines below where not present in the faulty session
226 Transfer OK
CWD /
250 CWD successful. "/" is current directory.
421 Connection timed out.


The issue seems to be reproducible only in this environment that involves a VPN connection and remote server. It does not reproduce with a local FTP server.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms