My Oracle Support Banner

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

Last updated on MARCH 24, 2019

Applies to:

Oracle SOA Suite - 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 <filename> 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 (<filename> and <filename>). This files are read using SyncRead. They are supposed to be archived like in #1 but this never happens and the following error occurs:

[composite_name: <name>] Ftp Adapter
<name> [
SynchRead_ptt::SynchRead(Empty,body) ] Copying file
:<name>= to
user-defined archive directory
:<dir >
[composite_name: <name>] Ftp Adapter
<name> [
SynchRead_ptt::SynchRead(Empty,body) ] User has selected UseRemoteArchive :
false
[composite_name: <name>] Ftp Adapter
<name> [
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
"<name>" in archive directory for
processed files "<name>".
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: <name>]
[component_name: <name>]
[component_instance_id: NNNNNN] [composite_instance_id: NNNNNN] Ftp Adapter
<name> [
SynchRead_ptt::SynchRead(Empty,body) ] Since file could not be copied to
specified archive directory, file : <name> is being
copied to a default archive directory
:<dir>
##########


[composite_name: <name>] Ftp Adapter
<name> [
SynchRead_ptt::SynchRead(Empty,body) ] Copying file
:<name> to
user-defined archive directory
:<dir>
[composite_name: <name>] Ftp Adapter
<name> [
SynchRead_ptt::SynchRead(Empty,body) ] User has selected UseRemoteArchive :
false
[composite_name: <name>] Ftp Adapter
<name> [
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
"<name>" in archive directory for
processed files "<dir>".
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: <name>] Ftp Adapter
<name> [
SynchRead_ptt::SynchRead(Empty,body) ] Since file could not be copied to
specified archive directory, file : <name> is being
copied to a default archive directory
:<dir>

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.