发表于: 2017-06-22 21:58:32
2 1193
我真的是觉得日狗了。。。
Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
这个问题。。今天又出来了。。还是c3p0的问题。。。
com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@3623b893 -- timeout at awaitAvailable()
然后也是一番百度折腾了好久。。。再试一下,结果自己好了。。。简直无话可说。。
然后师兄建议。。还是换个连接池吧
打算换成阿里的
Jar包下载网址:http://mvnrepository.com/artifact/com.alibaba/druid/1.0.2
配置文件参考资料:http://blog.csdn.net/burpee/article/details/51507245
http://www.open-open.com/lib/view/open1410420296711.html
结果。。配置文件一直出错
明天再解决剩下的问题了。。
评论