Configuring Log Files Oracle Fusion Middleware Online Documentation Library

Configuring the SOA Infrastructure 3-15

3.5 Changing the Driver Name to Support XA Drivers

If your data sources require support for XA drivers, you must change the driver name on Oracle WebLogic Server. This is particularly true for environments in which BPEL processes assume XA is present when calling database adapters and JMS adapters. To change the driver name through one of the following methods: ■ Edit in Oracle WebLogic Server Administration Console. 1. Log into Oracle WebLogic Server Administration Console.

2. In the left pane, select Domain Structure.

3. Select Services JDBC Data Source SOADataSource Connection Pool.

4. For the Driver Class Name, change the value to

oracle.jdbc.xa.client.OracleXADataSource. This provides support for the XA driver. 5. Restart the server. ■ Edit the SOADataSource-jdbc.xml file. 1. Open the soaDataSource-jdbc.xml file on Oracle WebLogic Server. 2. Change the SOADataSource driver name from oracle.jdbc.OracleDriver to oracle.jdbc.xa.client.OracleXADataSource. ?xml version=1.0 encoding=UTF-8? jdbc-data-source . . . . . . nameSOADataSourcename jdbc-driver-params urljdbc:oracle:thin:adc60086fems.us.oracle.com:1537:co0yd570url driver-nameoracle.jdbc.xa.client.OracleXADataSourcedriver-name properties property nameusername valuefusion_soainfravalue property properties . . . . . . jdbc-driver-params . . . . . . jdbc-data-source

3.6 Specifying a Nondefault XA Transaction Timeout Value for XA Data Sources

The default XA transaction timeout value for XA data sources is 0 seconds. You can change the default value in the Oracle WebLogic Server Administration Console. Follow these steps. To specify a nondefault XA transaction timeout value for XA data sources: 1. Log in to Oracle WebLogic Server Administration Console. 3-16 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite

2. Under Domain Structure on the left side of the page, select Services JDBC

Data Sources .

3. In the Name column of the Data Sources table, select EDNDataSource for event

delivery network transactions or SOADataSource for all other types of transactions.

4. Under the Configuration tab at the top, click the Transaction subtab.

5. In the XA Transaction Timeout field, enter a value in seconds.

6. Select the Set XA Transaction Timeout checkbox. You must select this checkbox

for the new XA transaction timeout value to take effect.

7. Click Save.