Connect PocketQuery to Oracle Database



I've installed the PocketQuery Confluence add on and now want to configure it to point at an Oracle database.


Within the PocketQuery Admin area I've defined a connection - but the connection fails when tested...


Cannot connect to this database. Error message was:
[JDBC driver class not found: oracle.jdbc.driver.OracleDriver]
Please refer to your log files or check the stack trace here:

Is there some further configuration required in Confluence in order for this all to work, if so what?

2 answers

1 accepted

Accepted Answer
1 vote

Hi Graeme,

Thank you for using PocketQuery!

Yes, there is some further configuration needed. In order to connect to an Oracle database, you need to provide Confluence with the proper JDBC driver jar. Download it (e.g. from here: and add it to the folder WEB-INF/lib within your Confluence installation directory. After that restart Confluence. Then your connection should work fine.

Please refer to our quick start guide for a more detailed step-by-step explanation:

Hope this helps! Let me know, if you need further help.



Hi Graeme,

Confluence comes bundled with the JDBC driver for PostgreSQL and Microsoft SQL Server, but unfortunately not with the Oracle driver due to licensing constraints as it says on

So you need to manually download the driver as it is linked in the table in the link above and put the jar file into the WEB-INF/lib of your Confluence installation directory, i.e. /opt/atlassian-confluence-6.0.1/confluence/WEB-INF/lib and restart the server for the classloader to pick it up.

After that the JDBC driver should be available. Hope that helps!

Best regards


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

91 views 3 6
View post

Atlassian User Groups

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!

Find my local user group

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

Groups near you