-->
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 Stopped Connecting to MySQL after a Month
PostPosted: Thu Mar 19, 2009 5:50 am 
Newbie

Joined: Wed Mar 18, 2009 6:40 am
Posts: 1
Hi all,

I have a relatively simple web application which has very low usage requirements. Anyway its been working perfectly fine for over a month since the last update. Recently its stopped logging in (the first DB task it has). It creates the following exception:

java.sql.SQLException: Connections could not be acquired from the underlying database!

I assumed something had happened to the MySQL DB but its working correctly. All the data is there in the DB and accessible with the same user credentials as the Hibernate is using.

On my development box it all still works perfectly. I tried to disable connection pooling but to no effect, I have also check the Hibernate.cfg.xml file to make sure no one has altered the MySQL settings.

I have seen serveral reports of the same expection on these forums, some with intermitent load related problems and a few who simply got the connection url wrong. But since it was working fine for a month and it has a very low load, I can't see either case applies.

Does anyone have any ideas about what could be causing this or where to look next?

Thanks

Charlie M


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.