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)
本人的问题解决是因为:
由于数据源配置出错,数据库名字后面多了一个空格导致的。
分享到:
相关推荐
网上传言C3P0是因为本身的BUG问题,然而今天我遇到这个问题并解决了,结果发现并不是。通过配置c3p0.maxStatements=0 这种方案只是治标不治本,或者干脆无效。我上传的解决方案肯定能解决这个问题的根本原因。...
SQL Server上的一个奇怪的Deadlock及其分析方法
表观 愚蠢的 Swift µFramework 用于 Swift 处理愚蠢的UIAppearance的愚蠢方式。
表观太阳时间该应用程序可计算特定位置和时间范围内的太阳能数据。 它利用了和 。 为了运行此演示应用程序的实例,您需要生成自己的API密钥,并从~/config.js文件中导出它们: const geocodeApiKey = 'YOUR_OWN_...
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: ...
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')....
程序语言为Fortran,计算速度快,程序可改性也很强,欢迎学习电法的同行来下载!
能量流动方程运行能量流动分析。变量是文件名。读取系统数据。
“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 ...
神经网络中单离子通道问题的一篇很老的文章
数学模拟和实验研究不同衣下空气层厚度下的衣表温度,张昭华,王云仪,文章通过数值模拟和实验方法研究了衣下空气层厚度对服装表面温度的影响。用三维人体扫描仪测量了不同号型服装的衣下空气层分布。
Direction information of the palmprint provides one of the most promising features for palmprint recognition.... The method first extracts the apparent direction from the surface layer o
处理规则3D表面的外观轮廓,即法线与视图方向正交的表面点的观察者视图
One clear editorial screwup is apparent where Chapter 1 calls this "pre-test" and all other chapters call it "self-test." That's why I say "rush job". I found myself confused with the authors ...
本文实例为大家分享了python爬取淘宝商品的具体代码,供大家... r.encoding = r.apparent_encoding return r.text except: return "" def parasePage(ilt, html): try: plt = re.findall(r'\"view_price\"\:\"[\
r.raise_for_status() r.encoding=r.apparent_encoding print(r.text[:1000]) except: print(爬取失败) 正常页面爬取 实例二–爬取页面 import requests url=https://www.amazon.cn/gp/product/B01M8L5Z3Y try...
本文实例为大家分享了Python爬取最好大学网大学排名的具体代码,供大家参考,具体内容如下 源代码: #-*-coding:utf-8-*- ''''' Created on 2017年3月17日 ... r.encoding = r.apparent_encoding retu
python网络爬虫 ...1.Resquests库入门 1.get()方法:r=requests.get(url) ... r.apparent_encoding --从内容中分析出的响应内容编码方式(备选编码方式) r.content --HTTP响应内容的二进制形式 2.Requests的异常 reques
笔记本的风扇控制 ---------------------------------------- 09 November 2006. Summary of changes for version 20061109: 1) ACPI CA Core Subsystem: Optimized the Load ASL operator in the case where the...
我想我应该告诉你们我又干了什么憨批事 ... r.raise_for_status() # 异常处理 r.encoding = r.apparent_encoding # 记住ta print(r.text[:1000]) except: print('爬取失败') 今天我们要接触的