Maybe try the autoReconnect=true option at the end of the JdbcUrl eg.
<Resource id="MySQL Database" type="DataSource"> JdbcDriver com.mysql.jdbc.Driver JdbcUrl jdbc:mysql://localhost:3306/lemonadeStand?autoReconnect=true UserName lc Password lc JtaManaged true MaxActive 10 MaxIdle 5 MinIdle 5 TimeBetweenEvictionRunsMillis 600000 NumTestsPerEvictionRun 5 ValidationQuery select 1 TestWhileIdle true </Resource> -- View this message in context: http://openejb.979440.n4.nabble.com/Further-MySQL-woes-possible-timeouts-again-tp4664233p4664236.html Sent from the OpenEJB User mailing list archive at Nabble.com.
