jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: About the parameter config of Mysql autoReconnect
Date Fri, 17 Nov 2006 13:53:04 GMT
Hi,

On 11/17/06, Thomas Mueller <thomas.tom.mueller@gmail.com> wrote:
> Why does the connection to the database breaks by the way?

I think there's a default 8 hour timeout in MySQL. One way to prevent
that could be to include a background thread in a custom
MySQLPersistenceManager that pings the database every now and then to
keep the connection alive.

BR,

Jukka Zitting

Mime
View raw message