APPARENT DEADLOCK! Creating emergency threads for unassigned pending tasks!

This is an “APPARENT DEADLOCKS” problem that doesn’t fit the usual criteria as defined in “Troubleshooting deadlocks in Confluence” - https://confluence.atlassian.com/confkb/troubleshooting-deadlocks-in-confluence-182683241.html

There are 3 of us on this team, working on Confluence Plugins. We all have the same set up and the other 2 can replicate my actions without any problems. We use Eclipse and use the External Tool “Start Confluence” to run Confluence on our laptops.

The issue is that I can log into Confluence as any user in the test fixture apart from ‘admin’ (without the quotes). When I try to log in as ‘admin’ I get the error:

[INFO] [talledLocalContainer] 2020-10-22 08:09:06,937 WARN [C3P0PooledConnectionPoolManager[identityToken->1hge163adlxb2e0xhl2ya|76a78d14]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@62563609 – APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

All I have done is attempt to log in, nothing else. The background of the “Recently worked on” screen comes up with the cursor in the middle of the screen, rotating. At this point, the deadlock message showed up in the console.

This happens every time I attempt to log in as ‘admin’. I can log in as any other user that I have the password for, no problem.

I have searched this website and googled this error and found some workarounds but most of them apply to multi-user situations. This isn’t multi-user, it’s just me on my laptop and the rest of the team are fine. We have all been looking into it but have drawn a blank.

I realise that this probably isn’t an error in the Confluence code, but someone out there, a Confluence Developer perhaps, may have experienced this problem and found a resolution. I would be very grateful if someone can help me out.

Here is the relevant bit from the log:

[INFO] [talledLocalContainer] – referer: http://localhost:1990/confluence/login.action?logout=true | url: /confluence/ | traceId: 6986aaec15161e50 | userName: admin

[INFO] [talledLocalContainer] Oct 22, 2020 8:08:31 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate

[INFO] [talledLocalContainer] INFO: Initiating Jersey application, version ‘Jersey: 1.19.4 05/24/2017 03:20 PM’

[INFO] [talledLocalContainer] Oct 22, 2020 8:08:32 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate

[INFO] [talledLocalContainer] INFO: Initiating Jersey application, version ‘Jersey: 1.19.4 05/24/2017 03:20 PM’

[INFO] [talledLocalContainer] 2020-10-22 08:09:06,937 WARN [C3P0PooledConnectionPoolManager[identityToken->1hge163adlxb2e0xhl2ya|76a78d14]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@62563609 – APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

[INFO] [talledLocalContainer] 2020-10-22 08:09:06,987 WARN [C3P0PooledConnectionPoolManager[identityToken->1hge163adlxb2e0xhl2ya|76a78d14]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@62563609 – APPARENT DEADLOCK!!! Complete Status:

[INFO] [talledLocalContainer] Managed Threads: 3
[INFO] [talledLocalContainer] Active Threads: 3
[INFO] [talledLocalContainer] Active Tasks:
[INFO] [talledLocalContainer] com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@585d750f

[INFO] [talledLocalContainer] on thread: C3P0PooledConnectionPoolManager[identityToken->1hge163adlxb2e0xhl2ya|76a78d14]-HelperThread-#1

[INFO] [talledLocalContainer] com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@508997c7

[INFO] [talledLocalContainer] on thread: C3P0PooledConnectionPoolManager[identityToken->1hge163adlxb2e0xhl2ya|76a78d14]-HelperThread-#0

[INFO] [talledLocalContainer] com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@34456bde

[INFO] [talledLocalContainer] on thread: C3P0PooledConnectionPoolManager[identityToken->1hge163adlxb2e0xhl2ya|76a78d14]-HelperThread-#2

Thank you,

Jim

Fixed it! The admin account had something tying it to the “Recently worked on” screen. I cleared out all my browsing history, cookies, the lot for Firefox, Chrome, IE and Edge (I have never used it but there was stuff in there). Admin can now log in. Woohoo!

thanks for the awesome information.