|Oracle® Fusion Middleware Configuring and Managing JDBC Data Sources for Oracle WebLogic Server
11g Release 1 (10.3.6)
Part Number E13737-11
|PDF · Mobi · ePub|
This chapter provides information on how to use WebLogic server with Oracle Fast Connection Failover.
WebLogic Server supports Fast Connection Failover, an Oracle feature which provides an application-independent method to implement Oracle RAC event notifications, such as detection and cleanup of invalid connections, load balancing of available connections, and work redistribution on active Oracle RAC instances.
For more information, see "Fast Connection Failover" at http://download-east.oracle.com/docs/cd/B19306_01/java.102/b14355/fstconfo.htm#CIHJBFFC in the Oracle® Database JDBC Developer's Guide and Reference.
To enable Fast Connection Failover on a data source, set the following connection pool properties:
In Driver Class Name—set the class name to
In Properties—set the ONS configuration string to remotely subscribe the Oracle RAC nodes to Oracle FAN/ONS events. For example:
Oracle's OracleDataSource class is not XA-capable, so the resulting data source does not implement a XA connection pool.
Because the Oracle driver uses ONS to implement Fast Connection Failover, you must add
ons.jar to the WebLogic
classpath. To do so, edit the
setDomainEnv script in the domain's
bin directory, and add
ons.jar to the