If the service level of Oracle has changed for any reason, for example, if you have applied a fix pack, you need to ensure that the Oracle JDBC driver is compatible. Follow the procedures in this section to update your Oracle JDBC driver if necessary.
To replace the Oracle JDBC driver, follow the steps below:
If you are replacing the Oracle JDBC driver in same directory and the full path name to driver file will stay the same, then do the following:
If you are replacing the Oracle JDBC driver and the full path name to the driver file changes, then do the following:
Remove the JDBC datasource. To call information from bcgdatabase.jacl:
./wsadmin.bat -f bcgdatabase.jacl -conntype NONE uninstall [db2 | oracle] <nodeName> <serverName>
Use the following values:
./wsadmin.bat -f bcgdatabase.jacl -conntype NONE uninstall oracle DefaultNode server1
Create the JDBC datasource. To call information from bcgdatabase.jacl, use the values and command below.Remember to replace the values within the angle brackets, <>, with values specified during your installation.
./wsadmin.bat -f bcgdatabase.jacl -conntype NONE install <dbType> <dbName> <dbHostname> <dbPort> <dbUserId> <dbPassword> <nodeName> <serverName> <dbZipFile> <jndiName>
./wsadmin.bat -f bcgdatabase.jacl -conntype NONE install oracle <dbName> <dbHostname> <dbPort> <dbUserId> <dbPassword> DefaultNode server1 <dbZipFile> datasources/OracleDS