My Oracle Support Banner

File Adapter Turns Off Reporting if the File cannot be Copied to Archive (Doc ID 988816.1)

Last updated on MAY 15, 2023

Applies to:

Oracle SOA Suite - Version 11.1.1.1.0 and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)

Symptoms

You've implemented a File Adapter that reads from an NFS share and that archives the file to a sub-directory of that share.  Occasionally, you will see that the File Adapter will be turned off, and you will see something like the following error in the log file:

Sucessfully sent message : /u01/Shared/BPEL/DMS/inbound/interface/<filename>.20092610930 to Adapter Framework.

Copying file :/u01/Shared/BPEL/DMS/inbound/interface/<filename>.20092610930 to user-defined archive directory for processed files :/u01/Apps/BPEL/DMS/inbound/interface/archive

Processor calling onAlert for exception index : 11003
onAlert: sent alert Error copying file to archive directory for processed files

Error while trying to copy file "<filename>.20092610930" in archive directory for processed files "/u01/Apps/BPEL/DMS/inbound/interface/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 namephysical directory is correctly specified in the deployment descriptor.
>> to BPEL process.
Since file could not be copied to specified archive directo
ry, file : <filename>.20092610930 is being copied to a default archive directory :/u01/Apps/BPEL/DMS/config/fileftp/defaultArchive/

Shutting down process to prevent data loss as file :<filename>.20092610930 could not be being copied to default archive : /u01/Apps/BPEL/DMS/config/fileftp/defaultArchive/. Please ensure that there is eno
ugh free space available to copy this file.

java.io.FileNotFoundException: /u01/Shared/BPEL/DMS/inbound/interface/<filename>.20092610930 (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at oracle.tip.adapter.file.FileUtil.copyFile(FileUtil.java:810)
at oracle.tip.adapter.file.inbound.ProcessWork.defaultArchive(ProcessWork.java:2261)
at oracle.tip.adapter.file.inbound.ProcessWork.doneProcessing(ProcessWork.java:534)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:406)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:219)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
at java.lang.Thread.run(Thread.java:595)
Processer thread calling onFatalError with exception /u01/S
hared/BPEL/DMS/inbound/interface/SBSS-I-003/ABQE2UNDD304407.20092610930 (No such file or directory)
[Read_ptt::Read(Root-Element)]Resource Adapter request


Despite the error, you will see that the file is correctly copied and delivered.  And although you've checked your configuration, permissions, etc you can see nothing wrong.

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!


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