MESSAGE: Can not read response
from
server. Expected to read 4 bytes, read 0 bytes before
connection was unexpectedly lost.
改了jdbc驱动也不好使。。。
最后找到网上的方法。。是因为mysql的wait_timeout。。参数不对。是480.。写成28800就好了。
http://www.cnblogs.com/keia/p/3625633.html
http://www.cnblogs.com/jiunadianshi/articles/2388871.html