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
|