Hi, '?autoReconnect=true' can't solve this problem. I add the following properties.Are they helpful for this problem? <property name="poolPingQuery" value="select * from jobstatus"/> <property name="poolPingEnabled" value="true"/>
陈抒 Best regards http://blog.csdn.net/sheismylife On Mon, May 10, 2010 at 12:03 AM, Martin Ellis <mar...@ellis.name> wrote: > 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 > >