Microsoft Access DataSource

We have problems connecting a Microsoft Access Database (*.mdb file) as data source to the Confluence server (so we can use it with the SQL Plugin from Bob Swift Software).

Is there a guide or official way to configure this?

We already added the file tomcat-jdbc.jar to the /libs directory

(according to

and configured the following in the server.xml:

<Resource  type="javax.sql.DataSource"
  url="jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=/mnt/srvdata/Intern/Oopc/oopc2k.mdb"

Yet still the Confluence page displays:

Error rendering macro 'sql-query' : dataSource: OOPC not found.

And the server says (when starting):

WARNUNG: Failed to register in JMX: javax.naming.NamingException: Could not load resource factory class Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool.DataSourceFactory

1 answer

I have not used Access, but I believe others have tried in the past. When you do get this working, can you please post to SQL plugin datasource configuration for others?

You seem to be looking in the right place for error messages. I would suggest removing the factory line from configuration since that is what it is complaining about. Then see if there are any other errors. Also, googling: Tomcat datasource Microsoft Access would be the next step.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

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...

2,811 views 26 10
Join discussion

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