On 9 May 2010 07:43, 陈抒 <csfreeb...@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-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to