日期:2014-05-18  浏览次数:20602 次

帮看看JDBC
ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out.我的 JDBC连接超时  MYSQL服务我是开的  MySQL-Front 也可以用的  JDBC连接池 也没有写错 。。还有其他原因嘛 ?


难道是容器的问题?


09:54:31.125 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out.
09:54:43.952 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out.
09:54:43.961 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out.
09:54:44.114 ERROR org.springframework.web.context.ContextLoader - Context initialization failed

气死我了

------解决方案--------------------
尝试 
checkoutTimeout 设置的长一点, 
maxPoolSize 连接池设置的大一点。
------解决方案--------------------
看看你的数据库配置文件
------解决方案--------------------
数据库名是jeecmsv5_f_demo的存在吗?改为已存在的数据库看下,比如test之类的。
------解决方案--------------------
jeecmsv5_f_demo这个你用MySQL-Front连的上吗??