I have MySQL under my Hibernate and I am also using c3p0-0.9.1 for connection pool.
When running on my laptop (I mean locally) I have no errors. But when I deploy it
Was missing a configuration property while setting up the ComboPooledDataSource ; was missing the jdbc driver name; when I set this - was able to get the connection;
Your c3p0-config.xml or c3p0-config.properties is not getting loaded, make sure one of the file should be include in the classpath while deploying in server.
Another problem which may cause this kind of exception is that your JDBC driver doesn't exists in the classpath ...
Some external problems and answers that might help:
Please follow the links, they all cover problems with the same exception.
Check your database connection. When it is down can happen this exception
Check your JDBC driver version, I've got the same problem. I'm using postgresql, I'd just updated the version in pom.xml and everything worked fine.