How to retrieve JIRA DB connection numbers? ("numactive" "numidle")


I have a question about how to get the db connection pool numbers for JIRA 4.4.4.

In previous version (e.g. 4.1.2), we can use jmx api to check "datasource" information in mBeans.

But after we upgrade JIRA from 4.1.2 to 4.4.4, now all "Active Connection number, Idle Connection number,Total Connection number" are all zero in databasource of mBeans from JMX.
We fount out JIRA 4.4.4 is using new db configuration, "dbconfig.xml".

We already know that JIRA 5.1 supply this feature on Admin panel:

Where can we retrieve JIRA DB connection numbers on JIRA 4.4.4?


1 answer


maybe in MBeans -> com.atlassian.jira -> BasicDataSource -> Attributes -> NumActive/NumIdle ?

It works for me (JIRA 5.1.5)


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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

236 views 1 18
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