3.8.2 Oracle Connection
Warning!
Currently, the Oracle Database JDBC drivers 21c and 23c are not supported.
Using ojdbc8.jar
from Oracle Database JDBC 21c and 23c will result in installation errors.
You are required to use the ojdbc8.jar
in Oracle Database JDBC driver 19c or older to avoid any installation errors.
The following steps are applicable when using an Oracle database. For configuration of Oracle RAC, skip to 3.8.3 Oracle RAC Connection.
- Go to the Oracle JDBC driver download page:
https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html. - Download the JDBC driver (
ojdbc<version>.jar
) for Oracle database that is compatible with the supported JDK version. - Store the JDBC driver in a directory that is available on the Platform Container host.
Run the the following command to install Oracle drivers and to configure the Oracle connection parameters:
$ ./setup.sh configure_oracle
Note!
The above command will ask for the user to input to the Oracle driver directory. It can also be passed as an argument by running the command as follows:
./setup.sh -Dmz.3pp.dir=/oracle/jdbc/driver/dir configure_oracle
If you are using Oracle 12, it is recommended that you set the property jvmargs.args
to -Djava.security.egd=file:///dev/urandom
for all pico instances that are expected to open connections towards Oracle. This is because the jdbc driver has changes which have better performance using /dev/urandom
.