SOA 11g FTPAdapter doesn't Archive the File In Specified Remote Location (Doc ID 1258754.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle SOA Platform - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 11-July-2013***

Symptoms

When using FTP adapter and SyncREad, the adapter doesn't write the file to the archive directory. You have a composite that does the following:

  1. Mediator gets file FIN_INT54a_TDBK_ALL.TXT from a remote location using the FTP adapter. After the file is read, the file is archived to an archive remote directory and deleted from the original directory with out any problems
  2. Mediator then invokes a BPEL process which uses the FTP adapter to get two other files (FIN_INT54a_TDBK_CHQ_CAD.TXT and FIN_INT54a_TDBK_CHQ_USD.TXT). This files are read using SyncRead. They are supposed to be archived like in #1 but this never happens and the following error occurs:
######ftpGetCheckPaidFileCAD ###
[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileCAD [
SynchRead_ptt::SynchRead(Empty,body) ] Copying file
:/oracle/soadev/Middleware/user_projects/domains/soa_domain/fileftp/temp_ftp/F
ININT54a_BankStatementTorontoDominionBAIBPEL/lYDy2Dj2haPl2DjTTR1teSCDhr44U5Id_
bqnU7kEPc0=/outbound/A9wKZCKkkmw_6sLk3IsvJw0ncGe6PCV4QXz+RaCOljo= to
user-defined archive directory
:/iface_data/soatst03/xr2r/fin-int54a/td/archive
[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileCAD [
SynchRead_ptt::SynchRead(Empty,body) ] User has selected UseRemoteArchive :
false
[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileCAD [
SynchRead_ptt::SynchRead(Empty,body) ] Error copying file to archive
directory for processed files.[[
Error copying file to archive directory for processed files.
Error while trying to copy file
"A9wKZCKkkmw_6sLk3IsvJw0ncGe6PCV4QXz+RaCOljo=" in archive directory for
processed files "/iface_data/soatst03/xr2r/fin-int54a/td/archive".
For the value specified in the (Physical/Logical)ArchiveDirectory activation
parameter, ensure:
1) The directory exists and has write permission. and
2) If using a logical name, then ensure that the mapping from logical
name<->physical directory is correctly specified in the deployment
descriptor.

[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL]
[component_name: FININT54a_BankStatementTorontoDominionBAIBPEL]
[component_instance_id: 3123786] [composite_instance_id: 3133307] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileCAD [
SynchRead_ptt::SynchRead(Empty,body) ] Since file could not be copied to
specified archive directory, file : FIN_INT54a_TDBK_CHQ_CAD.TXT is being
copied to a default archive directory
:/oracle/soadev/Middleware/user_projects/domains/soa_domain/fileftp/defaultArc
hive/
##########

### ftpGetCheckPaidFileUSD ######
[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileUSD [
SynchRead_ptt::SynchRead(Empty,body) ] Copying file
:/oracle/soadev/Middleware/user_projects/domains/soa_domain/fileftp/temp_ftp/F
ININT54a_BankStatementTorontoDominionBAIBPEL/pwT9Bh8pXw2IAsmaGydM57ogsGDcgfQNH
yerRMrbhSs=/outbound/7k17n+qx_2mctHeigRKsmnaxPdFOci4aCdvNucz9ef4= to
user-defined archive directory
:/iface_data/soatst03/xr2r/fin-int54a/td/archive
[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileUSD [
SynchRead_ptt::SynchRead(Empty,body) ] User has selected UseRemoteArchive :
false
[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileUSD [
SynchRead_ptt::SynchRead(Empty,body) ] Error copying file to archive
directory for processed files.[[
Error copying file to archive directory for processed files.
Error while trying to copy file
"7k17n+qx_2mctHeigRKsmnaxPdFOci4aCdvNucz9ef4=" in archive directory for
processed files "/iface_data/soatst03/xr2r/fin-int54a/td/archive".
For the value specified in the (Physical/Logical)ArchiveDirectory activation
parameter, ensure:
1) The directory exists and has write permission. and
2) If using a logical name, then ensure that the mapping from logical
name<->physical directory is correctly specified in the deployment
descriptor.
]]
[composite_name: FININT54a_BankStatementTorontoDominionBAIBPEL] Ftp Adapter
FININT54a_BankStatementTorontoDominionBAIBPEL:ftpGetCheckPaidFileUSD [
SynchRead_ptt::SynchRead(Empty,body) ] Since file could not be copied to
specified archive directory, file : FIN_INT54a_TDBK_CHQ_USD.TXT is being
copied to a default archive directory
:/oracle/soadev/Middleware/user_projects/domains/soa_domain/fileftp/defaultArc
hive/

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