Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to change the oracle JDBC driver jar file name and version in JRS 9.0.0


    Jivan Phadtare
    • Features: Data Sources Version: v9.0.0 Product: JasperReports® Server

    During upgrade to JRS 9.0.0, customers encountered below error :

    ------------------------
         [echo] Validating administrative database connection at jdbc:oracle:thin:@rk624932-ewo44:1521:mdb. Phase: [test]
         [echo]   Specified JDBC driver jar not found on this path: 
         [echo]   C:/js-jrs_9.0.0_bin/jasperreports-server-pro-9.0.0-bin/buildomatic/conf_source/db/oracle/jdbc/ojdbc8-23.2.0.0.jar

    ------------------------

    As per this error, it is looking for "ojdbc8-23.2.0.0.jar" jar file of version 23.2.0.0.

    From oracle website using below URL navigate to "23.2.0.0" version and download the jar file for this version and need to rename as "ojdbc8-23.2.0.0.jar". 
    https://www.oracle.com/database/technologies/appdev/jdbc-drivers-archive.html


    The name of jar file is coming from "db.properties" file located at : ...\jasperreports-server-pro-9.0.0-bin\buildomatic\conf_source\db\oracle\
    by default it's configured to the latest ojdbc8 version.
    -----------------
    # for maven: artifact info so unit tests can get to the correct jdbc driver
    maven.jdbc.groupId=com.oracle.database.jdbc
    maven.jdbc.artifactId=ojdbc8
    maven.jdbc.version=23.2.0.0

    -----------------

    If you wish to modify it, you can make changes to the properties mentioned above in the "db.properties" file.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...