The Answer to Life, the Universe, and Everything

Thursday, January 08, 2009

Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost

I faced the following error and here is the solution.
  ** BEGIN NESTED EXCEPTION **

java.io.EOFException
MESSAGE: Can not read response from server. Expected to read 4 bytes, read 2
bytes before connection was unexpectedly lost.

STACKTRACE:

java.io.EOFException: Can not read response from server. Expected to read 4
bytes, read 2 bytes before connection was unexpectedly lost.


Comment the wait_timeout such as below.
#wait_timeout=30

No comments: