Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Database connection

Ken Johnston October 10, 2012

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
Arthur Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 10, 2012

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!

Ken Johnston October 23, 2012

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

Ken Johnston October 24, 2012

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