Configuring JBoss data sources for Oracle RAC
The BMC IT Business Management Suite installation program does not configure JBoss data sources for an Oracle Real Application Cluster (RAC). However, you can configure them manually.
To manually configure JBoss data sources for Oracle RAC
- Run the installation program to configure JBoss.
- Locate the oracle-xa-ds.xml and oracle-ds.xml files in \jboss-as\server\production\deploy.
In the oracle-xa-ds.xml file, locate the following lines:
<xa-datasource-property name="URL">
jdbc:oracle:thin:@node1-dns-name:1521: RACDB
</xa-datasource-property>Replace them with the following new lines:
<xa-datasource-property name="URL">
jdbc:oracle:thin:@(description=(address_list=(load_balance=off)(failover=on)
(address=(protocol=tcp)(host=node1-dns-name)(port=1521))
(address=(protocol=tcp)(host=node2-dns-name)(port=1521))
(address=(protocol=tcp)(host=node3-dns-name)(port=1521))
)(connect_data=(service_name=RACDB)(failover_mode=(type=select)(method=basic))))
</xa-datasource-property>- Save and close the file.
In the oracle-ds.xml file, locate the following lines:
<connection-url>
jdbc:oracle:thin:@ node1-dns-name:1521: RACDB
</connection-url>Replace them with the following new lines:
<connection-url>
jdbc:oracle:thin:@(description=(address_list=(load_balance=off)(failover=on)
(address=(protocol=tcp)(host=node1-dns-name)(port=1521))
(address=(protocol=tcp)(host=node2-dns-name)(port=1521))
(address=(protocol=tcp)(host=node3-dns-name)(port=1521))
)(connect_data=(service_name=RACDB)(failover_mode=(type=select)(method=basic))))
</connection-url>- Save and close the file.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*