浏览 2519 次
该帖已经被评为隐藏帖
|
|
---|---|
作者 | 正文 |
发表时间:2007-08-10
最后修改:2009-03-18
root cause java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: A ResourcePool could not acquire a resource from its primary factory or source. com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:68) com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:57) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:213) com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedDataSource.java:64) com.mchange.v2.c3p0.ComboPooledDataSource.getConnection(ComboPooledDataSource.java:464) org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:112) org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:292) org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:366) org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:374) org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:405) cn.com.uncc.database.JdbcTool.queryForList(JdbcTool.java:65) org.apache.jsp.kexueyanjiu_jsp._jspService(kexueyanjiu_jsp.java:183) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 以前是没问题的,但自从双机备份后重装系统后就不行了,但在其他机器上是没问题的,还有如果用Jdbc最基本的方法是可以连接的,也可以得到数据,可是用从c3p0就是不行,一点头绪都没有,郁闷! 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |