-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Getting an "APPARENT DEADLOCK!!!" message
PostPosted: Mon Dec 07, 2015 4:07 pm 
Newbie

Joined: Mon Dec 07, 2015 3:54 pm
Posts: 1
The below log is coming from our Tomcat/Confluence app. Are there any C3P0 settings that can cause this?

2015-12-05 16:50:19,008 WARN [Timer-0] [mchange.v2.async.ThreadPoolAsynchronousRunner] run com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@52cb2047 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
2015-12-05 16:50:19,132 WARN [Timer-0] [mchange.v2.async.ThreadPoolAsynchronousRunner] run com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@52cb2047 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StatementCloseTask@34677405 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StatementCloseTask@73f20f23 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StatementCloseTask@18bffe4d (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
Pending Tasks:
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StmtAcquireTask@64d07dec
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StmtAcquireTask@33fb44a9
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StmtAcquireTask@3558cde8
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@593655b4
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@7e34ca2d
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@3bc59116
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@27b85a02
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@381d4dad
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@bd6b5a3
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@3d2ee667
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@52189392
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@4b808059
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@616a79c8
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@15616b6f
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2ed44f60
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@74a73fa4
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@104363d1
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@384e36ae
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@16e7f663
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@56e0e954
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@47f6b65b
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@163e3546
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@4e1b9212
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@741303cd
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@c5ec344
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2165abb4
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@19ebc78d
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@467a0746
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7573a8cf
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7c4fea46
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@629dd96c
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@692d7408
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@271cef2a
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5c99c275
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@72adbed1
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6ccac628
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7497a3e4
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@f890989
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6dd10956
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@36bc256d
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7a3d332d
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@47eb0e0d
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@18e79c5e
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@dcaec18
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@55222bb
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@536625b7
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@57363c27
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@29a7512c
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@27c23511
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@3f2a037b
Pool thread stack traces:
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
net.sourceforge.jtds.jdbc.ConnectionJDBC2.releaseTds(ConnectionJDBC2.java:1898)
net.sourceforge.jtds.jdbc.JtdsStatement.close(JtdsStatement.java:853)
net.sourceforge.jtds.jdbc.JtdsPreparedStatement.close(JtdsPreparedStatement.java:486)
com.mchange.v1.db.sql.StatementUtils.attemptClose(StatementUtils.java:41)
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StatementCloseTask.run(GooGooStatementCache.java:404)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
net.sourceforge.jtds.jdbc.ConnectionJDBC2.releaseTds(ConnectionJDBC2.java:1898)
net.sourceforge.jtds.jdbc.JtdsStatement.close(JtdsStatement.java:853)
net.sourceforge.jtds.jdbc.JtdsPreparedStatement.close(JtdsPreparedStatement.java:486)
com.mchange.v1.db.sql.StatementUtils.attemptClose(StatementUtils.java:41)
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StatementCloseTask.run(GooGooStatementCache.java:404)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
net.sourceforge.jtds.jdbc.ConnectionJDBC2.releaseTds(ConnectionJDBC2.java:1898)
net.sourceforge.jtds.jdbc.JtdsStatement.close(JtdsStatement.java:853)
net.sourceforge.jtds.jdbc.JtdsPreparedStatement.close(JtdsPreparedStatement.java:486)
com.mchange.v1.db.sql.StatementUtils.attemptClose(StatementUtils.java:41)
com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StatementCloseTask.run(GooGooStatementCache.java:404)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


Top
 Profile  
 
 Post subject: Re: Getting an "APPARENT DEADLOCK!!!" message
PostPosted: Tue Dec 08, 2015 3:00 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
There are all sorts of things you can try to overcome this issue. Check this SO question:

http://stackoverflow.com/questions/14730379/apparent-deadlock-creating-emergency-threads-for-unassigned-pending-tasks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.