SUDHARSANN01 Posted October 3, 2019 Share Posted October 3, 2019 I am setting up the JasperReports on our DEV environment and one of the requirement is to connect to in-house Oracle database. Since the Oracle JDBC driver is not available by default, I installed the same by uploading the ojdbc8.jar from the UI and I am able to connect to the Oracle database and generate reports.My questions are:Is this jar stored on the file system somewhere? I logged into the running container and searched for it but couldn't locate it. Is this jar stored in the database?According to Jasper Reports documentation, the jar should be placed at /buildomatic/conf_source/db/oracle/native.jdbc but I didn't place it there nor updated the default_master.properties file. But still everything was working fine.How can I make the JDBC driver available across the other environments like QA, PROD without manually adding the driver from the UI ?Do let me know if you need any more information. Link to comment Share on other sites More sharing options...
joseng62 Posted October 11, 2019 Share Posted October 11, 2019 You could add it to your webserver lib directroy. WEBSERVER_install_PATHlib You will notice that the postgres and maria db driver are already avaiable in the given directory. Restart server after deploy. It could be then added to your servers classpath on start up."Is this jar stored on the file system somewhere? I logged into the running container and searched for it but couldn't locate it. Is this jar stored in the database?"- Yes correct, save in your jasper's database"According to Jasper Reports documentation, the jar should be placed at /buildomatic/conf_source/db/oracle/native.jdbc but I didn't place it there nor updated the default_master.properties file. But still everything was working fine."- This is no install time when you want your jasperserver to run on a oracle database instead of default postgressHope this all helps. Good Luck Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now