(Just like all other operations in the Admin Console, after you make a set of changes, make sure you commit the changes by clicking a "Save" link, then the "Save" button.)
The instructions in the WebSphere docs for setting up shared libraries for
DB drivers are wrong. They work for the first-level shared libocijdkb9.so,
but not for the others. So, forget setting $LIBPATH or any other
variables. Don't even waste your time setting the Native Library Path for
the Provider. Just export LD_LIBRARY_PATH=$ORACLE_HOME/lib before
starting
WAS. (Alternatively, you could copy the 3 needed .so's to a system lib
location or add $ORACLE_HOME/lib as a system lib location).
Use Admin Console to perform the following actions.
Environment/WebSphere-Variables. Set
ORACLE_JDBC_DRIVER_PATH to the value of $ORACLE_HOME/jdbc/lib.
Resources/JDBC Providers
${ORACLE_JDBC_DRIVER_PATH}/classes12.zip.
oracle.jdbc.pool.OracleConnectionPoolDataSource.
$WAS_HOME/bin/stopServer.sh server1; $WAS_HOME/bin/startServer.sh server1
Admin Console again.
Resources/JDBC Providers/Oracle JDBC oci8 Driver/DataSources
jdbc:oracle:oci8:@keeper.