`
cuijiemin
  • 浏览: 265140 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

APPARENT DEADLOCK!!! Complete Status:

    博客分类:
  • J2EE
阅读更多

C3P0发生如下错误,正在寻求解决方法。

[hb] WARN  [Timer-16] 2011-01-23 19:36:52 - com.mchange.v2.async.ThreadPoolAsynchronousRunner(608)  - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@8e8f3a -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

[hb] WARN  [Timer-16] 2011-01-23 19:37:23 - com.mchange.v2.async.ThreadPoolAsynchronousRunner(624)  - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@8e8f3a -- APPARENT DEADLOCK!!! Complete Status: 

Managed Threads: 3

Active Threads: 3

Active Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@188ab5 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13aac9e (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)

com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@11af639 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)

Pending Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@11b2f51

Pool thread stack traces:

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

 

 

[hb] WARN  [Timer-16] 2011-01-23 19:54:46 - com.mchange.v2.async.ThreadPoolAsynchronousRunner(608)  - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@8e8f3a -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

[hb] WARN  [Timer-16] 2011-01-23 19:55:05 - com.mchange.v2.async.ThreadPoolAsynchronousRunner(624)  - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@8e8f3a -- APPARENT DEADLOCK!!! Complete Status: 

Managed Threads: 3

Active Threads: 3

Active Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@6f55b4 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)

com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@163bf85 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)

com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@1b2ead1 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)

Pending Tasks: 

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1564971

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1efbe4d

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b6ebab

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@12a4190

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@136589c

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@f39eb4

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@384c52

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1ac9c4

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b47667

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1c97911

Pool thread stack traces:

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]

com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:560)

 

 

 

本人的问题解决是因为:

由于数据源配置出错,数据库名字后面多了一个空格导致的。

分享到:
评论
1 楼 nomad2 2012-01-05  
this is not the root cause. are you sure you have fixed this issue? the c3p0 guy doesn't have good solution yet... see http://sourceforge.net/tracker/?func=detail&aid=3432139&group_id=25357&atid=383690

相关推荐

    C3P0错误APPARENT DEADLOCK 解决根本问题

    网上传言C3P0是因为本身的BUG问题,然而今天我遇到这个问题并解决了,结果发现并不是。通过配置c3p0.maxStatements=0 这种方案只是治标不治本,或者干脆无效。我上传的解决方案肯定能解决这个问题的根本原因。...

    SQL Server上的一个奇怪的Deadlock及其分析方法

    SQL Server上的一个奇怪的Deadlock及其分析方法 Deadlock是SQL Server中的一种常见问题,它会导致事务无法继续执行,影响系统的性能和可靠性。了解Deadlock的产生原因和分析方法是非常重要的。本文将详细介绍SQL ...

    【Linux系统无法访问MySQL数据库怎么办】-sql无法访问数据库-.doc

    当遇到无法访问MySQL数据库时,可能会出现如描述中的异常情况:“ThreadPoolAsynchronousRunner - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@75d634ea -- APPARENT DEADLOCK!...

    Apparent:愚蠢的 Swift µFramework 用于 Swift 处理愚蠢的 UIAppearance 的愚蠢方式

    "Apparent"是一个开源的Swift µFramework(微型框架),它旨在简化这个过程,让开发者能够更优雅地处理UIAppearance。 在Objective-C中,UIAppearance接口非常直观,允许开发者通过类方法来设置特定UI组件的全局...

    power_flow.zip_apparent_流动_流动方程_能量方程_能量流动

    "power_flow.zip_apparent_流动_流动方程_能量方程_能量流动"这个标题暗示了我们正在探讨的是电力系统的功率流分析,这涉及到电能如何在电网中传输。"apparent flow"(视在流动)和"流动方程"可能指的是电路理论中的...

    考研英语-作文分类词汇短语总结.doc

    - 完成:complete, fulfill, accomplish, achieve - 保存:keep, preserve, retain, hold 4. 影响与损害: - 有害于:destroy, impair, undermine, jeopardize - 减轻:ease, alleviate, relieve, lighten 三...

    apparent-solar-time:用React编写的Solar time演示应用程序,已通过Jasmine + Karma测试,并与Webpack捆绑在一起

    表观太阳时间该应用程序可计算特定位置和时间范围内的太阳能数据。 它利用了和 。 为了运行此演示应用程序的实例,您需要生成自己的API密钥,并从~/config.js文件中导出它们: const geocodeApiKey = 'YOUR_OWN_...

    apparent contour-开源

    "Apparent Contour" 是一个开源项目,专注于处理三维(3D)模型的外观轮廓。在计算机图形学中,外观轮廓是指当一个3D对象被渲染时,由于法线(normal)与观察者视线(view direction)垂直而形成的边缘。这些轮廓在...

    股票爬虫实例程序

    r.raise_for_status() r.encoding=r.apparent_encoding return r.text except: return "error" def fillUnivList(ulist,html): soup=BeautifulSoup(html,"html.parser") for tr in soup.find('tbody').children: ...

    Python程序设计:requests模块.pptx

    * `apparent_encoding`: 从内容分析出的响应内容的编码方式(备选编码方式)。 * `content`: HTTP 响应内容的二进制形式。 * `headers`: HTTP 响应内容的头部内容。 requests 模块访问页面 requests 模块可以用来...

    python图像爬虫代码:用于爬取网站上的图片和视频资源.txt

    response.encoding = response.apparent_encoding # 设置正确的编码 return response.text except: print("Failed to get the content of the url") ``` **知识点解析**: 1. **requests.get(url)**:这是发送 ...

    第一讲整理1

    - `apparent_encoding`:基于内容分析的编码方式,当`encoding`不准确时可以使用。 - `content`:响应内容的二进制形式。 **注意**:如果HTTP头中没有指定`charset`,`encoding`默认为ISO-8859-1,而`apparent_...

    源码10 个 Python 爬虫入门实例

    response.encoding = response.apparent_encoding print("状态码:", response.status_code) print(response.text) ``` 第二个实例演示了get方法的基本使用,打印出响应的状态码和内容: ```python import requests...

    python爬取淘宝商品信息

    r.raise_for_status() r.encoding = r.apparent_encoding return r.text except: return "" def fillUnivList(ulist, html): soup = BeautifulSoup(html, "html.parser") for a in soup.find('tbody')....

    英语作文常用替换高级词汇.doc

    - 完成:complete可以换成fulfill, accomplish或achieve。 - 保存:keep可以用preserve, retain或hold来表示。 - 有害于:destroy可以用impair, undermine或jeopardize来替换。 - 减轻:ease可以用alleviate, ...

    大学四级英语作文高分·高级词汇替换精华.docx

    - 完成:complete、fulfill、accomplish和achieve表示完成任务或达成目标。 - 保存:keep、preserve、retain和hold都有保持或保存的意思。 - 有害于:destroy、impair、undermine和jeopardize都表示对某事造成...

    高中英语阅读理解688个高频词汇(已排序).doc

    * apparent:显然的,明白的 * appeal:呼吁,恳求 * appetite:胃口;欲望 * applause:鼓掌,掌声 * appliance:器具,器械 * applicable:可应用的,适当的 * applicant:申请人 这些词汇继续拓展了学生的词汇量...

    Apparent_Resistivity_Error.rar_电法_计算视电阻率误差

    程序语言为Fortran,计算速度快,程序可改性也很强,欢迎学习电法的同行来下载!

    Data Science for Business

    “This timely book says out loud what has finally become apparent: in the modern world, Data is Business, and you can no longer think business without thinking data. Read this book and you will ...

Global site tag (gtag.js) - Google Analytics