How to config database TAF on Oracle RAC
Issue
Trying to config TAF with Oracle database.DB is working fine in getting connection but when trying to test TAF with long running sql, it's failed. Is the data-source configuration correct?
*Datasource configuration:
<xa-datasource>
<jndi-name>TOBECORE</jndi-name>
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
<xa-datasource-property name="URL">jdbc:oracle:oci:@mdmdb-scan:1521/MDM</xa-datasource-property>
<xa-datasource-property name="User">TOBECORE</xa-datasource-property>
<xa-datasource-property name="Password">TOBECORE</xa-datasource-property>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<blocking-timeout-millis>60000</blocking-timeout-millis>
<new-connection-sql>select 1 from dual</new-connection-sql>
<check-valid-connection-sql>select 1 from dual</check-valid-connection-sql>
<min-pool-size>20</min-pool-size>
<max-pool-size>20</max-pool-size>
<no-tx-separate-pools/>
</xa-datasource>
Environment
- Red Hat JBoss Enterprise Application Platform
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.