Configuring the Credentials for Accessing a Remote FTP Server

Oracle JCA Adapter for FilesFTP 4-73 ■ Fault-policies and fault-bindings must be created for remote faults to ensure that the adapter acts correctly. For more information on fault-policies and fault-bindings, see Section 2.22, Error Handling. ■ The MaxRaiseSize property must be set in the inbound JCA file.

4.4.2.2 High Availability in Inbound Operations

The Oracle File and FTP Adapters must ensure that only one node processes a particular file in a distributed topology. You can use the database table as a coordinator to ensure that Oracle File and FTP Adapters are highly available for inbound operations. Using Database Table as a Coordinator You must use the following procedure to make an inbound Oracle File or FTP Adapter service highly available by using database table as a coordinator:

1. Create Database Tables

You are not required to perform this step because the database schemas are pre-created as a part of soainfra.

2. Modify Deployment Descriptor for Oracle File Adapter

Modify Oracle File Adapter deployment descriptor for the connection-instance corresponding to eisHAFileAdapter from the Oracle WebLogic Server Administration Console: a. Log in to your Oracle WebLogic Server Administration Console. To access the console, navigate to http:servername:portnumberconsole.

b. Click Deployments in the left pane for Domain Structure.

c. Click FileAdapter under Summary of Deployments on the right pane.

d. Click the Configuration tab.

Note: For large payloads, you must increase the transaction time-out for the SOADataSource by adding the following: xa-set-transaction-timeouttruexa-set-transaction-timeout xa-transaction-timeout1000xa-transaction-timeout Note: For Windows platforms, you must ensure that the input and output directories are canonicalized. For example, you must use C:\bpel\input instead of c:\bpel\input. Note the use of capitalized drive letter C: instead of c:. Note: On all platforms, you must not end input or output directory names with the Java system property file.separator value. For example, tmpfilein is invalid but tmpfilein is valid. Note: You must increase global transaction timeouts if you use database as a coordinator.