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

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 Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

279 views 6 15
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot