Install Oracle Database client files for Apache Tomcat
If you want your Java application to be able to connect to a full featured and functional Oracle Database, please follow the steps below.
-
Stop the Tomcat server:
$ sudo /opt/bitnami/ctlscript.sh stop tomcat
-
Download the corresponding JDBC drivers for Oracle Database from the Oracle official website. Pay attention to the server version. For example, for a 11g Release 2 server, you will need OJDBC6.jar.
-
Unzip it and place it under the folder /opt/bitnami/tomcat/lib/ext
-
Start the Tomcat server again:
$ sudo /opt/bitnami/ctlscript.sh start tomcat