ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Ellis <mar...@ellis.name>
Subject Re: How to correct the time out problem?
Date Sun, 09 May 2010 16:03:49 GMT
On 9 May 2010 07:43, 陈抒 <csfreebird@gmail.com> wrote:
> You should consider either expiring and/or testing
> connection validity before use in your application, increasing the server
> configured values for client timeouts, or using the Connector/J connection
> property 'autoReconnect=true' to avoid this problem.

The error message you've posted lists three ways to correct the problem.

The third is probably the easiest to try, it's a one line change: just add
?autoReconnect=true to your JDBC URI.

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message