How can I customize the JDBC drivers for the database?
How can I customize the JDBC drivers for the database?
If you do not want to use the default JDBC drivers, for example because more updated drivers have been released in the meantime, you can replace them with a few easy steps for both the master domain manager and Dynamic Workload Console.
Proceed as follows:
- Download the updated JDBC drivers for your database.
- Create a backup of the existing JDBC drivers installed together with the product
in the following paths:
- master domain manager
-
- On Windows operating systems
- TWA_home\TWS\jdbcdrivers\default_RDBMS
- On UNIX operating systems
- TWA_home/TWS/jdbcdrivers/default_RDBMS
- Dynamic Workload Console
-
- On Windows operating systems
- DWC_home\jdbcdrivers\default_RDBMS
- On UNIX operating systems
- DWC_home/jdbcdrivers/default_RDBMS
- default_RDBMS
- Indicates one of the following directories related to the database
you are using for the master domain manager and
the Dynamic Workload Console:
- db2
- db2z
- derby
- informix (applies to Informix and OneDB)
- mssql (applies to MSSQL and Azure SQL)
- oracle
- Stop Open Liberty for master domain manager and Dynamic Workload Console, as described in Application server - starting and stopping.
- Replace the default JDBC drivers with the updated ones. Ensure you maintain the same path and rename the updated drivers to the exact name of the previous drivers.
- Start Open Liberty for master domain manager and Dynamic Workload Console, as described in Application server - starting and stopping.
Note: When you upgrade the master domain manager and Dynamic Workload Console to a new product
version, the customized JDBC drivers are replaced by the drivers included in the
product installation packages. To continue using custom JDBC drivers, repeat this
procedure.