Re: Communications link failure due to underlying exception...various network exceptions
Posted by: Anthony Stevens
Date: July 14, 2007 01:12PM

I had the same problem and finally found these posts that solved my problem.

http://grid-devel.sdsc.edu/gd/node/231
http://forums.mysql.com/read.php?39,139821,160175#msg-160175

And go here for Hibernate's own recommended c3p0 settings:
http://www.hibernate.org/214.html

Turned out that Hibernates connection pool is VERY basic (as they say several times in their manual) so I needed to upgrade to a more robust connection pool. Hibernate recommended C3P0 and that's what I went with.

Be careful with your settings though as you can blow up your memory usage if you don't set the configuration properly....

Cheers and happy coding,
Anthony



Edited 1 time(s). Last edit at 07/14/2007 05:09PM by Anthony Stevens.

Options: ReplyQuote


Subject
Written By
Posted
Re: Communications link failure due to underlying exception...various network exceptions
July 14, 2007 01:12PM


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.