Steps to change the JDBC Driver
This section explains step by step process to update the JDBC driver for a Zephyr installation running on MySQL, MSSQL, or Oracle databases.
Before proceeding, we recommend taking a snapshot or backup of the Zephyr instance.
To update the JDBC driver for a Zephyr installation:
-
Stop the Zephyr Server Service.
-
Take a backup of the jdbc.properties file from the location <Zephyr installation directory>\tomcat\webapps\flex\WEB-INF\classes.
-
Go to <Zephyr installation directory>\tomcat\webapps\flex\WEB-INF\lib folder and take a backup of the lib folder.
-
Remove the existing jar file (depends on the database used, such as MySQL, MSSQL, or Oracle) under <Zephyr installation directory>\tomcat\webapps\flex\WEB-INF\lib folder.
-
Download the recommended jar file for the specific database being used:
-
MySQL 8.x: mysql-connector-j-9.7.0.jar
-
MSSQL: mssql-jdbc-13.4.0.jre11.jar
-
After downloading, extract sqljdbc_13.4.0.0_enu.zip.
-
Go to \sqljdbc_13.4.2_enu\jars.
-
Pick only mssql-jdbc-13.4.0.jre11.jar.
-
-
Oracle: ojdbc7.jar
-
-
Copy the downloaded jar file and paste it into <Zephyr installation directory>\tomcat\webapps\flex\WEB-INF\lib folder.
-
Go to <Zephyr installation directory>\tomcat\webapps\flex\WEB-INF\classes folder.
-
Open the jdbc.properties file and locate the jarFileName = parameter.
-
Change the value of jarFileName to reflect the name of the new jar file.
For example, for MSSQL,
jarFileName = sqljdbc42.jar
-
Start the Zephyr Server service.
If the Zephyr instance is part of a cluster setup, these steps must be done on all nodes.