JAVAMelody configurations - JNDI

I have configured Javamelody plugin in my JIRA 6.0.6 environment. According to documentation, it requires to change dbconfig.xml and server.xml files. It says it requires to use a jdbc datasource from jndi in order to monitor jdbc connections and SQL requests.

I'm using Oracle database and configuration line mentioned MYSQL.

Is it possible to configure this plug-in for Oracle db as well? If so what is the configuration?

3 answers

1 accepted

Hi Heshan,

It should be possible with all JIRA supported databases. The jdbc URL for Oracle should be something like this:



Hi heshan,

you need to do following steps

1. Add the javamelody jar file to <atlassian-jira>/WEB-INF/lib

2. Shutdown the jira

3. In dbconfig.xml replace the

<jdbc-datasource> </jdbc-datasource>















4. Modify the below as per your jdbc-datasource and add

inside the <Context > </Context> tag of server.xml


<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"

url="jdbc:oracle:thin:@ No:JIRA"













validationQuery="select 1 from dual"



5. Now start the jira and do some search realted activity and monitor the jdbc connections and SQL requests.

This work for my jira.

can i do this with confluence as well? and if so what's the difference?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

421 views 79 11
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