Re: Connector/J "Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost."
Posted by: Simon Prinzleve
Date: February 03, 2009 03:00PM

Ah - interesting solution.

I solved this problem by switching to c3p0 for the connection pool. (Scenario was writing portlets for the liferay open source portal)

Detailed solution can be found here:
http://liferay-portlets.blogspot.com/2009/01/meanwhile-hibernate-mysql-problems.html

Options: ReplyQuote


Subject
Written By
Posted
Re: Connector/J "Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost."
February 03, 2009 03:00PM


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.