Retry Count and Retry Interval Being Ignored In ESB File Adapter (Doc ID 604899.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle9i AS Integration Platform - Version: 10.1.3.3
Oracle ESB - Version: 10.1.3.3
This problem can occur on any platform.

Symptoms

-- Problem Statement:

Retry Count and Retry Interval do not take affect for write file adapter, they seem to be completely ignored in the following scenario:

The write file adapter is setup to try and write the file to a directory that it does not have permission to write to.  This error is issued several times in the log.xml:

CORRELATION_DATA>
   
<EXEC_CONTEXT_ID><UNIQUE_ID>10.141.161.6:64747:1213897583433:23</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
  </CORRELATION_DATA>
  <PAYLOAD>
    <MSG_TEXT>JCA: esb:///ESB_Projects/ccc_fileadapter/write1.wsdl [
Write_ptt::Write(opaque) ] - Could not invoke operation 'Write' against the 'File Adapter' due to:

ORABPEL-11054
Directory cannot be created successfully.
Directory: /fake cannot be created successfully.
Contact oracle support if error is not fixable.

But the retry counter and retry interval never seem to be used for this case.  In fact it just seems to output the ORABPEL-11054 several times without any regard for the retry count or interval.  If it was set to say this in esb_config.ini:

OutboundRetryCount = 3
OutboundRetryInterval = 5
OutboundRetryEnabled = true
 
Would expect the following messages in the logfile:

<PAYLOAD>
    <MSG_TEXT>Trying again 1 configured retry count 3</MSG_TEXT>
</PAYLOAD>

<PAYLOAD>
    <MSG_TEXT>sleeping ... for 5000</MSG_TEXT>
</PAYLOAD>

<PAYLOAD>
    <MSG_TEXT>Trying again 2 configured retry count 3</MSG_TEXT>
</PAYLOAD>

<PAYLOAD>
    <MSG_TEXT>sleeping ... for 5000</MSG_TEXT>
</PAYLOAD>

<PAYLOAD>
    <MSG_TEXT>Trying again 3 configured retry count 3</MSG_TEXT>
</PAYLOAD>

<PAYLOAD>
    <MSG_TEXT>sleeping ... for 5000</MSG_TEXT>
</PAYLOAD>


But none of these are ever seen.  Even when setting this in esb_config.ini:

OutboundRetryCount = 0
OutboundRetryInterval = 0
OutboundRetryEnabled = false

The ORABPEL-11054 is output several times for some reason.  So it looks like the Retry parameters are being completely ignored for this case.

Verified that the $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/esb-rt/orion-application.xml had all commented out values, since this file may override the values in esb_config.ini.

Would expect to see the following behavior for this case:

(1) If there are settings in the esb_config.ini file, apply these retry parameters as they are defined, this is not happening.  This includes not doing any retries with the following settings, this does not work either:

OutboundRetryCount = 0
OutboundRetryInterval = 0
OutboundRetryEnabled = false

With the above settings it looks like the adapter is just trying multiple times to create the directory in the log.xml, if there are no retries then it seems like this attempt should only be happening once, not multiple times.

(2) If the Endpoint Parameters RetryCount and RetryInterval are applied to the write file adapter we would expect these to apply, but tried this too and the behavior was the same as when using the settings in esb_config.ini.


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