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

后端 未结 6 811
长发绾君心
长发绾君心 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:38

    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;

提交回复
热议问题