Druid mysql 查询报错!

DavidWu 发布于 2013/02/07 10:34
阅读 1K+
收藏 0

@wenshao 你好,想跟你请教个问题:

com.alibaba.druid.pool.GetConnectionTimeoutException: loopWaitCount 0, wait millis 60000
at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:1076)
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:756)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:644)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4530)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:659)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4526)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:626)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:618)

加载中
0
红薯
红薯
这是拿不到连接了,池满没释放?
0
DavidWu
DavidWu

嗯,代码中忘记close了

现在好了。谢谢!

返回顶部
顶部