Re: Connector/J "Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost."
Posted by: Mark Matthews
Date: February 19, 2008 11:25AM

JO,

First, it would be handy if you enabled --log-warnings on the mysql server, and told us if anything is showing up in your error logs.

Second, if you could tell us what your DBCP settings look like, and under what circumstances you see the exception, i.e. connection fails on fresh checkout, has been idle for some period of time, etc. We should be able to make a testcase from that.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: Connector/J "Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost."
February 19, 2008 11:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.