c3p0连接oracle报错
错误信息:
WARNING: com[email protected]38882d9a -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
四月 14, 2018 1:58:58 下午 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector runWARNING: com[email protected]38882d9a -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
[email protected]37 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
[email protected]e (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
[email protected]4 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
Pending Tasks:
[email protected]7e
错误原因:
在c3p0-config.xml配置文档中将jdbc写成大写。
xml文档大小写敏感,一定要注意,还有各种不该有的空格等!