Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By : Dalton Iwazaki
Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By: Dalton Iwazaki

Overview of this book

Table of Contents (15 chapters)
Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Updating the Oracle JDBC driver


Oracle WebLogic Server 12c (Version 12.1.1.0 at the time of writing this book) 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...