These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Connection Pooling
PostPosted: Fri May 16, 2008 11:54 am 
Newbie

Joined: Fri May 16, 2008 11:34 am
Posts: 1
Hi,

We use hibernate , and c3p0 for connection pooling. The database is MySQL.
What is the general strategy for recovering from Stale connections(though c3p0 documentation has lot of details, and we tried by setting some parameters). For example if we browse the application ,and then restart MySQL in-between, and access the application again we get the following error:

com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

The same happens as some users say when MySQL has timmed out.

Regards

Nitin


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.