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 votes

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
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

62 views 0 6
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