そういえばJDBCで長時間放置しているとコネクションが切れる問題を解決したのをスッカリ忘れていました。 MySQLは8時間通信が無いと、コネクションを切るそうなのですが、JDBCの設定でautoReconnect=trueを設定しておけば問題無いハズなのですが、今回はなぜかautoReconnect=trueの設定をしても再接続されずに3日ほどドツボにハマッておりましたが、結局プログラムで例外をキャッチしてリトライさせる方法で解決しました。 —–2009/04/28追記—– ConnectionPoolingを利用している場合、以下の設定もご確認下さい。 autoReconnectForPools=true JDBCが3.2系の場合、以下のプロパティをtrueにする必要があります。3.3系からはautoReconnectの機能が削除されています。 enableDeprecatedAutor