Chinaunix首页 | 论坛 | 博客
  • 博客访问: 567284
  • 博文数量: 78
  • 博客积分: 2043
  • 博客等级: 大尉
  • 技术积分: 733
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-26 11:52
文章分类

全部博文(78)

文章存档

2011年(5)

2009年(64)

2008年(9)

分类: 系统运维

2011-08-05 19:35:08


C3P0 Exception:

org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool
Caused by: 
java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool

要调整一下数据库连接池参数:

    30   #尝试30次
    100  #每100ms尝试一次
    false

阅读(20830) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~