Fresh install of Confluence on Win Server 2012 R2, trying to connect to Oracle 126.96.36.199.0 on a different host. I have placed the ojdbc7.jar file in the <installdir>\confluence\WEB-INF\Lib directory and no luck, I get the classic
'Problem connecting to your database
com.atlassian.config.bootstrap.BootstrapException: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver'
error. I have also tried the ojdbc8.jar and ojdbc7-188.8.131.52.jar drivers as well.
I have also tried putting these in <installdir>\confluence\Lib as well.
I am out of patience... help.
You were on the right track adding the ojdbc8.jar file to the <installation-directory>/confluence/WEB-INF/lib directory. Based on this, I assume you saw the instructions on this page: Database JDBC Drivers
The only reason I can think of why the setup wizard is complaining that the driver cannot be found, is file system permissions. Does the user account you are installing with have access to the folder, <installation-directory>/confluence/WEB-INF/lib? Maybe the permissions on the driver file are different because it was copied into the folder later, so please check the permissions on the file as well as the folder.
Ann, I did check the permissions but after reading your post I went back and unchecked the read-only attributes as well for the directory. I also rebooted for good measure and it worked. Thanks for making me re-look at that.
Interesting to note is that when I did that I moved the ojdbc8.jar file to the directory based on your feedback and when I opened IE to configure it threw an ugly exception saying it could not find the ojdbc7-184.108.40.206.jar file. So it must save that as a config parameter somewhere? When I put the ojdbc7-220.127.116.11.jar file back and removed the ojdbc8.jar and restarted IE, everything worked.
Thanks for the response.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs