Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to load database driver: oracle.jdbc.OracleDriver in Bamboo Task ?

We are facing the issue when executing the SQL configuration task with ORACLE database

“Task exception: Unable to load database driver: oracle.jdbc.OracleDriver. Make sure your configuration is correct. Exception: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver “

Driver is present in the location /apps/bamboo/lib/ojdbc8.jar and dbJar pointing the same.

The below is our dBProfile

dbUser = ${bamboo.dbUser} | dbPassword = ${bamboo.dbPassword} | dbUrl = jdbc:oracle:thin:@${bamboo.dbHostname}:${bamboo.dbPort}:${bamboo.dbName} | dbDriver = oracle.jdbc.OracleDriver | dbJar = jar:file:/${bamboo.dbJar}!/

Please let me know if you need some more information  ?


2 answers

1 accepted

0 votes
Answer accepted

This was the Syntax issue 

dbJar = jar:file:/${bamboo.dbJar}!/ should be  dbJar = ${bamboo.dbJar}

Due to this wrong syntax sytem not able  to identify the driver files.

0 votes

Hi @Mohanraj

I'll need more details to better understand how you are using the task.
First of all, can you confirm what is the task type you are using?

You said you are using SQL configuration task, but Bamboo does not have a native task for this. Are you referring to a task from this (SQL for Bamboo | Atlassian Marketplace) plugin?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you