Connect external database jira plugin

Hello guys,

I have a big problem.

I'm using Active Objects in my application. With Active Objects I'm using jira database. I don't have problem with AO, It's working well.

But in my jira I need to get informations from another database (Oracle).

I put in my pom.xml:


When I put this, my plugin stop to work and I have this error:

Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle (CLASS_PLUGIN) [185]: Unable to resolve 185.0: missing requirement [185.0] osgi.wiring.package; (

When I change to:


I don't have any error but when I run my code:


I have:

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver not found by ... [166]

What can I do to fix this problem ?


2 answers

0 vote

Natively JIRA supports connections to Oracle databases (for storing JIRA data).  However with JIRA 7, it only supports Oracle 12c.  As such our installation packages are actually shipping an existing jdbc driver.   I think this file is in the install folder/lib and tends to be named ojdbc7.jar or something alike.  I think you might still be able to use this 12 driver for connecting to an 11 database, but I'm not sure.   

I did notice that in the JIRA dbconfig.xml if you configure JIRA to use Oracle as the database that stores JIRA data, the format of the dbconfig lists the driver-class value as "oracle.jdbc.OracleDriver".   But I see in your code it is listed as "oracle.jdbc.driver.OracleDriver".   Try changing the class name to match my example and see if that works.

do you have exactly dependency in your pom where could send me ?

@leandro siciliano

Hey Leandro, 

I am experiencing issues as you. Did you manager to find a solution?

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday 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  – ...

460 views 8 16
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