com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source

后端 未结 6 800
长发绾君心
长发绾君心 2020-12-01 16:05

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

6条回答
  •  佛祖请我去吃肉
    2020-12-01 16:40

    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.

提交回复
热议问题