Database connection

We are currently running JIRA 4.4 connecting to an Oracle Database. There are multiple connection errors in the JIRA logs or timeouts. The database is setup to drop idle connection after 15 minutes, this cannot be changed. Our web.xml setting "session-config" is set to the default of 300. When looking at the sessions within the application, sessions are staying open when a user just closes the web browser and doesn’t log off. If they log off the session goes away. Within the dbconfig.xml file I can change the database pool connection, but not much more. JIRA 5.1 has additional settings, idle timeouts etc. Can these setting be applied to 4.4? Are there any other settings that I can change to help with the errors?

1 answer

0 vote

Hi Ken,

I believe that you may follow the steps listed on this article to help you with these connections drops, upon adding a validation query on your configuration.


Thanks I have applied these changes, another related question. When I log into JIRA and go to the Security/Current User Sessions. Is there any way to drop sessions that are idle, if a user just closes their brouser the session remain open, for 4 hours. I will check the log for the database errors.

Thanks Ken

I found the correct web.xml file and changed the seesion timeout, this is removing all our idle session, except for the SOAP connections.

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 6 hours ago in Off-topic

Miscellaneous Monday - CreatatronV3

You may remember, not so long ago, that together we invented the most evil of machines: The Destructo5000!  The effects of missing Durian rippled over nations. Complete chaos as goat chee...

55 views 4 2
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