How can a persistent Store use an XA Driver ? (Doc ID 2260600.1)

Last updated on AUGUST 10, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Goal

In this example, we see a JDBC Store, but in which the DS definition looks like the following:

<jdbc-driver-params>
<url>jdbc:oracle:thin:@(DESCRIPTION_LIST=(LOAD_BALANCE=OFF)(FAILOVER=ON)(DESCRIPTION=(CONNECT_TIMEOUT=10)(TRANSPORT_CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.yy.nl)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=www.yy.nl)))(DESCRIPTION=(CONNECT_TIMEOUT=10)(TRANSPORT_CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=ff.yy.nl)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=dd.yy.nl))))</url>
<driver-name>oracle.jdbc.xa.client.OracleXADataSource</driver-name>
<properties>
<property>
<name>user</name>
<value>jms_owner</value>
</property>
<property>
<name>oracle.jdbc.ReadTimeout</name>
<sys-prop-value>300000</sys-prop-value>
</property>
<property>
<name>oracle.net.CONNECT_TIMEOUT</name>
<sys-prop-value>10000</sys-prop-value>
</property>
</properties>
<password-encrypted>{AES}duSqHURdZ5NrCWEURv/qEMQRfttI58toUqbSylp3lMs=</password-encrypted>
</jdbc-driver-params>

 

The question here is:  How can a persistent Store use an XA Driver ? Normally such a definition would be considered to violate Oracle documentation as per https://docs.oracle.com/cd/E17904_01/web.1111/e13701/store.htm#CNFGD243
 

Solution

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