My Oracle Support Banner

Concurrent File Writes (File Adapter) Fail Due to when Reading Control File in a Cluster and BPEL Wait Activities do not Expire (Doc ID 1294713.1)

Last updated on FEBRUARY 24, 2019

Applies to:

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


You have configured a 10g SOA cluster and use a write (outbound) File Adapter.  As part of the cluster configuration a control file is used that is shared between all of the cluster nodes to keep track of the file writes being done by the multiple nodes.

However, usually under a heavy load you see a failure to read the control file when multiple nodes in the cluster are writing to the same file pattern at the same time.

As a side-affect it may also be seen that when running BPEL processes that contain Wait Activities, these do not expire at their defined times leaving the BPEL instance hung waiting for an expiration that never happens.

The following error is seen in the BPEL $ORACLE_HOME/bpel/domains/<domain name>/logs/domain.xml or $ORACLE_HOME/opmn/logs/<BPEL/ESB Runtime container>.log file in at least one of the nodes:

<2010-12-08 05:00:19,125> <DEBUG> <> <File
Adapter::Outbound> MemoryMutex::acquire called
<2010-12-08 05:00:19,125> <DEBUG> <> <File
Adapter::Outbound> Memory Mutex controlFile exists for
[/refresh/home/fAdapter/control/fileftp/controlFiles/d_ZTSawpsr_m_F+h_I0dUA==/outbound/] = true
<2010-12-08 05:00:19,125> <DEBUG> <> <File
Adapter::Outbound> MemoryMutex::saveProperties failed
<2010-12-08 05:00:19,138> <DEBUG> <> <File
at oracle.tip.adapter.file.MemoryMutex.saveProperties(
at oracle.tip.adapter.file.MemoryMutex.acquire(
at oracle.tip.adapter.file.FileUtil.replaceFileConvention(
at oracle.tip.adapter.file.FileUtil.getOutputFileName(
at oracle.tip.adapter.file.outbound.FileSender.sendNonBatched(
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(
at oracle.tip.adapter.file.outbound.FileInteraction.execute(
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(




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

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