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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 5 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

23 views 0 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