Using an Inbound Polling FTP or File Adapter to Process Several Files, Not all Files are Picked Up By the Adapter, Get Errors in Logfiles: "JCA: Control socket read failed" and "DATA=[TIMEDOUT]" (Doc ID 952894.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.1 to 10.1.3.5.0 - Release: AS10gR3 to
Oracle SOA Platform - Version: 10.1.3.1.0 to 10.1.3.5.0   [Release: AS10gR3 to ]
Oracle ESB - Version: 10.1.3.1 to 10.1.3.5   [Release: AS10gR3 to ]
Information in this document applies to any platform.
***Checked for relevance on 21-Sep-2011***

Symptoms

Using a polling FTP or File adapter, several files are put into the polling directory and sometimes some files are not picked up by the adapter. When the files are put again into the polling directory they do get picked up and are processed successfully.  There are no files put into the rejected messages folder or processed as a rejected message.  The files are just not handled by the Adapter resulting in data loss.

For ESB one or more of the following errors are seen in the ESB Runtime logfile at $ORACLE_HOME/j2ee/<BPEL/ESB Runtime container name>/log/*_*_*_group_*/oc4j/log.xml:

<MESSAGE>
  <HEADER>
    <TSTZ_ORIGINATING>2009-10-12T18:05:01.657+07:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_ID>J2EE JTA-00109</MSG_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>test.us.oracle.com</HOST_ID>
    <HOST_NWADDR>abc.abc.abc.abc</HOST_NWADDR>
    <MODULE_ID>transaction</MODULE_ID>
    <THREAD_ID>25</THREAD_ID>
    <USER_ID>oracle</USER_ID>
  </HEADER>
  <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>abc.abc.abc.abc:28372:1254941611075:6</UNIQUE_ID><SEQ>-25335</SEQ></EXEC_CONTEXT_ID>
  </CORRELATION_DATA>
  <PAYLOAD>
    <MSG_TEXT>Transaction has been marked for rollback: Timed out</MSG_TEXT>
  </PAYLOAD>
</MESSAGE>

<MESSAGE>
  <HEADER>
    <TSTZ_ORIGINATING>2009-10-12T18:05:01.657+07:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>test.us.oracle.com</HOST_ID>
    <HOST_NWADDR>abc.abc.abc.abc</HOST_NWADDR>
    <MODULE_ID>esb.monitor.agent</MODULE_ID>
    <THREAD_ID>25</THREAD_ID>
    <USER_ID>oracle</USER_ID>
  </HEADER>
  <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>abc.abc.abc.abc:28372:1254941611075:6</UNIQUE_ID><SEQ>-25335</SEQ></EXEC_CONTEXT_ID>
  </CORRELATION_DATA>
  <PAYLOAD>
    <MSG_TEXT>Could not register the transaction callback with the transaction manager to obtain the transaction status Transaction has been marked for rollback: Timed out. Flow : [FlowId=RKoXp-vANOGHqKwibI8jMw==,SubFlowId=1255345501654]</MSG_TEXT>
  </PAYLOAD>

<MESSAGE>
  <HEADER>
    <TSTZ_ORIGINATING>2009-10-12T18:09:37.791+07:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>test.us.oracle.com</HOST_ID>
    <HOST_NWADDR>abc.abc.abc.abc</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>28</THREAD_ID>
    <USER_ID>oracle</USER_ID>
  </HEADER>
  <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>abc.abc.abc.abc:28372:1254941651033:9</UNIQUE_ID><SEQ>310</SEQ></EXEC_CONTEXT_ID>
  </CORRELATION_DATA>
  <PAYLOAD>
    <MSG_TEXT>JCA: Control socket read failed by [WorkExecutorWorkerThread-19] DATA=[TIMEDOUT] in [1010 msecs]</MSG_TEXT>
  </PAYLOAD>
</MESSAGE>


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