Local Service In Cluster Is Not Finding Files Copied To Local Directory By A BPEL Process In A Node (Doc ID 1366534.1)

Last updated on MAY 19, 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

On : 10.1.3.4 version, Activation Agent

- You are running a bpel cluster with two nodes, where both of the nodes are up
- You have followed the instructions from Oracle regarding high availability recommendations
- A load balancer is distributing the load to the bpel cluster in a round-robin fashion
- A bpel process is using an ftp adapter to read a file from an external ftp server
- The Ftp adapter is set to singleton mode and is polling the external directory
- When the file fulfilling the search criteria arrives, an instance of the bpel process is created.
- The file is copied to a local directory on the calling server, the one running the bpel process.
- The local directory is not shared by the other bpel node, and thus the copied file is not available to the other node
- The design of the system does not include a shared file repository accessed by the two nodes.
- When the bpel instances is kicked of it invokes an internal - within the cluster - java web services that is reading the copied file from the directory.
- Although the file exists on the local directory of the first node, the java web service running probably on the second node is not able to find the file.
- This error happens some times only.

You would expect that the node that created the bpel instance is the node that is running the java webservice

The issue can be reproduced at will with the following steps:
1. Put a triggering file in the external server
2. A new bpel instance will be created in one of the cluster nodes which will copy a file to the local directory
3. Confirm the existence of that file on the local directory of the running instance.
3. When the internal java web service is called, you get an error that the file is not found in the correct path

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