Click FileAdapter under Summary of Deployments on Oracle WebLogic Server Click the Outbound Connection Pools tab, and expand Click eisHAFileAdapter. The Outbound Connection Properties for the

5-66 Oracle Fusion Middleware High Availability Guide Database-based mutexes are used as coordinators to ensure these behaviors in a clustered topology. Configuring a Database Mutex Configure a database table as a coordinator by modifying Oracle File and FTP Adapter deployment descriptor for the connection-instance corresponding to eisHAFileAdapter from Oracle WebLogic Server Administration Console:

1. Click FileAdapter under Summary of Deployments on Oracle WebLogic Server

Administration Console.

2. Click the Outbound Connection Pools tab, and expand

javax.resource.cci.ConnectionFactory to see the configured connection factories.

3. Click eisHAFileAdapter. The Outbound Connection Properties for the

connection factory corresponding to high availability is displayed. 4. Update the connection factory properties. Update the Adapter configuration to use the connection factory as shown in the following example: adapter-config name=FlatStructureOut adapter=File Adapter xmlns=http:platform.integration.oracleblocksadapterfwmetadata connection-factory location=eisHAFileAdapter adapterRef= endpoint-interaction portType=Write_ptt operation=Write interaction-spec className=oracle.tip.adapter.file.outbound.FileInteractionSpec property.. property.. interaction-spec endpoint-interaction adapter-config The new parameters in connection factory for Oracle File and FTP Adapters are as follows: ■ controlDir - Set this parameter to the directory structure where you want the control files to be stored. Set it to a shared location if multiple Oracle WebLogic Server instances are running in a cluster. ■ inboundDataSource - Set this parameter to jdbcSOADataSource. This is the data source where the schemas corresponding to high availability are pre-created. The pre-created schemas are located under MW_ HOMEAS11gR1SOArcuintegrationsoainfrasqladaptercreatesc hema_adapter_oracle.sql. To create the schemas elsewhere, use this script. Set the inboundDataSource property accordingly if you choose a different schema. ■ outboundDataSource - Set this parameter to jdbcSOADataSource. This is the data source where the schemas corresponding to high availability are pre-created. The pre-created schemas can be found under MW_ HOMEAS11gR1SOArcuintegrationsoainfrasqladaptercreatesc hema_adapter_oracle.sql. To create the schemas elsewhere, use this script. Set the outboundDataSource property if you do create the schemas elsewhere. Note: The location attribute is set to eisHAFileAdapter for the connection factory. Configuring High Availability for Oracle Fusion Middleware SOA Suite 5-67 ■ outboundLockTypeForWrite - Set this parameter to oracle if you are using Oracle database. By default Oracle File and FTP Adapters use an in-memory mutex to lock outbound write operations. Choose one of the following values for synchronizing write operations: – memory - Oracle File and FTP Adapters use an in-memory mutex to synchronize access to the file system. – oracle - The adapter uses Oracle database sequence. – db - The adapter uses a pre-created database table FILEADAPTER_MUTEX as the locking mechanism. Use this option only if you are using a schema other than the Oracle database schema. – user-defined - The adapter uses a user-defined mutex. In order to configure the user-defined mutex, implement the mutex interface: oracle.tip.adapter.file.Mutex and then configure a new binding-property with the name oracle.tip.adapter.file.mutex and value as the fully qualified class name for the mutex for the outbound reference.

5.10.2.3 Oracle Database Adapters High Availability