SOA 10g: Problems with FTP / File Adapter in a Cluster, 'FileNotFoundException' (Doc ID 1184356.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Oracle(R) BPEL Process Manager 10g - Version 10.1.3.4 and later
Information in this document applies to any platform.

Symptoms

You have a multi-node cluster, either active-active or active-passive, and you have multiple JVMs configured on each node (i.e. numProcs > 1 in opmn.xml).  Some of your processes have file or FTP adapters, and you often see some or all of the following:


If you look at the log file, you see errors like the following:


<2010-07-17 13:33:51,393> <WARN> <JCA-work-instance:FTP Adapter-0> <batch_inbound.collaxa.cube.ws> <File Adapter::Outbound> Failed to open a input stream to file :IAA0007461.txt
<2010-07-17 13:33:51,394> <WARN> <JCA-work-instance:FTP Adapter-0> <batch_inbound.collaxa.cube.ws> <File Adapter::Outbound>
java.io.FileNotFoundException: /CTRL/fileftp/temp_ftp/Store_Replenishment_Req_Batch_Inbound_Service~10.3.0/YiVZzjo3+0Aj4U8ZwnPpTw==/inbound/9KN6Dy4TS0TBeskYo94ggA== (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)

<2010-07-17 13:33:51,408> <WARN> <JCA-work-instance:FTP Adapter-0> <batch_inbound.collaxa.cube.ws> <File Adapter::Outbound> ProcessWork::Delete failed, the operation will be (A) -> retried for max of [2] times
(1st retry) -> <2010-07-17 13:33:54,432> <WARN> <JCA-work-instance:FTP Adapter-0> <batch_inbound.collaxa.cube.ws> <File Adapter::Outbound> ProcessWork::Delete failed, the operation will be retried for max of [1] times
(2nd retry) -> <2010-07-17 13:33:57,456> <WARN> <JCA-work-instance:FTP Adapter-0> <batch_inbound.collaxa.cube.ws> <File Adapter::Outbound> ProcessWork::Delete failed, the operation will be retried for max of [0] times
(B) -> <2010-07-17 13:34:00,467> <INFO> <JCA-work-instance:FTP Adapter-0> <batch_inbound.collaxa.cube.ws> <File Adapter::Outbound> Processer thread calling onFatalError with exception File deletion failed.
File : /test0/48p/inbound/files/i2fp2omim/IAA0007461.txt could not be deleted. [Caused by: No such file]
Delete the file and restart server. Contact oracle support if error is not fixable.

<2010-07-17 13:34:00,468> <FATAL> <JCA-work-instance:FTP Adapter-0> <batch_inbound.collaxa.cube.activation> <AdapterFramework::Inbound> [Get_ptt::Get(Root-Element)]Resource Adapter requested Process shutdown!


Additionally, if you look closely at the log file, you will see that it appears that both adapters are polling, even though you have configured them correctly for the cluster.

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