Confluence : Confluence stops responding after some time
This page last changed on Oct 18, 2006 by david.soul@atlassian.com.
I am using MySQL, and after a while Confluence stops working with database errors. MySQL's JDBC drivers have an annoying default behaviour where if a connection is idle for a certain amount of time (by default, eight hours), it is closed. Since Confluence uses a connection pool, this means that pooled connections die if they are not used within a certain time period. The solution is to append ?autoReconnect=true to the end of your database's JDBC URL.
![]() ![]() In Confluence versions 1.0RC5 and before, there was a bug that manifested when you used Confluence to connect directly to a MySQL database instead of going through a datasource configured in the application-server under which Confluence runs. Unfortunately the symptoms of the bug were identical to the much more common problem above, so it took us a little longer to find the problem than we should have. So long as you specify autoReconnect=true, Confluence 1.0RC6 and later should remain connected to your MySQL database indefinitely.
RELATED TOPICSConfiguration Guide |
![]() |
Document generated by Confluence on Mar 22, 2007 20:59 |