Databases Reference
In-Depth Information
Updating the Oracle JDBC driver
Oracle WebLogic Server 12 c (Version 12.1.1.0 at the time of writing this topic) contains the
Oracle Database 11g Release 2 (Version 11.2.0.3) JDBC drivers.
This recipe shows the steps to update the JDBC drivers to a different version.
Getting ready
Download the updated JDBC drivers from the Oracle website.
The Oracle JDBC driver filename is ojdbc6.jar . Create a temporary folder, such as ~/
jdbctemp , and download the file to it.
The procedure is done manually, so make sure that none of the WebLogic Server instances
are running, including the Administration Server.
How to do it...
Back up the original JDBC driver and copy the updated file to the WebLogic installation folder:
1. Log in as a wls user to the prod01 shell and run the following commands:
[wls@prod01]$ cd $WL_HOME/server/lib
[wls@prod01]$ mv ojdbc6.jar ojdbc6.original
[wls@prod01]$ cp ˜/jdbctemp/ojdbc6.jar .
2. Repeat the step in prod02 and all machines of the cluster.
3. Start the Administration Server and all the Managed Servers.
How it works...
Updating the Oracle JDBC drivers is a straightforward process.
Just make a backup copy of the JDBC driver file ojdbc6.jar , replace it with the new file
version, and start the WebLogic Server instances.
 
Search WWH ::




Custom Search