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.

Cheers!

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
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

132 views 6 8
View post

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