I browsed a lot about above exception, and got some doubt for one of the servers I' am looking into. I have Websphere Application Server 8 running with MySQL 5.5, all works fine. Until one day when the connections start failing on runtime and DB is running fine and no networking issues. Websphere needs a restart to recover from the situation. WebSphere logs "communication failure messages, caused by EOF: Can not read response from Server" thourgh out the period.
Could it be due to having default (1800 seconds) time set for Unused connections in websphere connection pool and low default (30s and 60s) net_read_timeout and net_write_timeout for Mysql?
MySql Timeouts: connect_timeout :10s interactive timeout : 28800s wait_timeout : 28800s net_read_timeout : 30s net_write_timeout : 60s
WebSphere timeouts: Unused Timeout :1800s Reap time : 180s minimum connections :10 max connections : 250 connection timeout : 180s
Thanks!