Confluence can't startup the service
Asked by CHE LIN WANG:

![2020-01-15_18-02-04.png](/t5/image/serverpage/image-id/79062i702B721BD827D031/image-size/large?v=v2&px=999 "2020-01-15_18-02-04.png")

2020-01-15 17:22:35,298 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 6.15.7 \[build 8100 based on commit hash e6b42acaec191a9bce4ab234dae0b1b08af15496\] - synchrony version 2.1.0-release-confluence_6.15-32f7299a  
2020-01-15 17:22:42,273 INFO \[Catalina-utility-1\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization started  
2020-01-15 17:22:48,726 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] \<init\> Loading EhCache cache manager  
2020-01-15 17:23:15,492 INFO \[Catalina-utility-1\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization completed in 33219 ms  
2020-01-15 17:23:35,992 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-AdminTaskTimer\] \[mchange.v2.async.ThreadPoolAsynchronousRunner\] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2368b74e -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!  
2020-01-15 17:23:35,992 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-AdminTaskTimer\] \[mchange.v2.async.ThreadPoolAsynchronousRunner\] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2368b74e -- APPARENT DEADLOCK!!! Complete Status:  
Managed Threads: 3  
Active Threads: 3  
Active Tasks:  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@4e216f36  
on thread: C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-HelperThread-#0  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5adb91c9  
on thread: C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-HelperThread-#2  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3d9bd0d1  
on thread: C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-HelperThread-#1  
Pending Tasks:  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@374dddf8  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@311e4701  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@526014ab  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@177d890e  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@4e062404  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@d63448a  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5f74ccc1  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@243a1bd8  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5b632d5f  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@4c3365ad  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3558aa2e  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@41c88386  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3034735  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@544a54f5  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@24338d88  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@2162ee3b  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@38412fcd  
Pool thread stack traces:  
Thread\[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-HelperThread-#2,1,main\]  
java.net.SocketInputStream.socketRead0(Native Method)  
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  
java.net.SocketInputStream.read(SocketInputStream.java:171)  
java.net.SocketInputStream.read(SocketInputStream.java:141)  
java.io.BufferedInputStream.fill(BufferedInputStream.java:246)  
java.io.BufferedInputStream.read(BufferedInputStream.java:265)  
java.io.DataInputStream.readInt(DataInputStream.java:387)  
org.h2.value.Transfer.readInt(Transfer.java:153)  
org.h2.engine.SessionRemote.done(SessionRemote.java:622)  
org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:144)  
org.h2.engine.SessionRemote.connectServer(SessionRemote.java:453)  
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:334)  
org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:116)  
org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:100)  
org.h2.Driver.connect(Driver.java:69)  
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)  
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)  
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)  
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)  
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)  
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)  
Thread\[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-HelperThread-#1,1,main\]  
java.net.SocketInputStream.socketRead0(Native Method)  
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  
java.net.SocketInputStream.read(SocketInputStream.java:171)  
java.net.SocketInputStream.read(SocketInputStream.java:141)  
java.io.BufferedInputStream.fill(BufferedInputStream.java:246)  
java.io.BufferedInputStream.read(BufferedInputStream.java:265)  
java.io.DataInputStream.readInt(DataInputStream.java:387)  
org.h2.value.Transfer.readInt(Transfer.java:153)  
org.h2.engine.SessionRemote.done(SessionRemote.java:622)  
org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:144)  
org.h2.engine.SessionRemote.connectServer(SessionRemote.java:453)  
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:334)  
org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:116)  
org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:100)  
org.h2.Driver.connect(Driver.java:69)  
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)  
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)  
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)  
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)  
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)  
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)  
Thread\[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-HelperThread-#0,1,main\]  
java.net.SocketInputStream.socketRead0(Native Method)  
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)  
java.net.SocketInputStream.read(SocketInputStream.java:171)  
java.net.SocketInputStream.read(SocketInputStream.java:141)  
java.io.BufferedInputStream.fill(BufferedInputStream.java:246)  
java.io.BufferedInputStream.read(BufferedInputStream.java:265)  
java.io.DataInputStream.readInt(DataInputStream.java:387)  
org.h2.value.Transfer.readInt(Transfer.java:153)  
org.h2.engine.SessionRemote.done(SessionRemote.java:622)  
org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:144)  
org.h2.engine.SessionRemote.connectServer(SessionRemote.java:453)  
org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:334)  
org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:116)  
org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:100)  
org.h2.Driver.connect(Driver.java:69)  
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)  
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)  
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)  
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)  
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)  
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)

2020-01-15 17:24:36,054 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-AdminTaskTimer\] \[mchange.v2.async.ThreadPoolAsynchronousRunner\] log Task com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5adb91c9 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().  
2020-01-15 17:24:36,054 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-AdminTaskTimer\] \[mchange.v2.async.ThreadPoolAsynchronousRunner\] log Task com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3d9bd0d1 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().  
2020-01-15 17:24:36,054 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|254e3556\]-AdminTaskTimer\] \[mchange.v2.async.ThreadPoolAsynchronousRunner\] log Task com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@4e216f36 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().  
2020-01-15 17:27:39,264 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|10e63781\]-AdminTaskTimer\] \[mchange.v2.async.ThreadPoolAsynchronousRunner\] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@9c5efa8 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!  
2020-01-15 17:27:39,265 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>2zdmvpa71ar8nzj1niwnzz\|10e63781\]-AdminTaskTimer\] \[mchange.v2.async.Thre


Answers:
author: Shannon S
body: Hello there,

Thank you for raising this with us. We will need more information than what is provided here in order to solve this issue. We will need to know the following:

1. What version of Confluence are you running?
2. What database version are you using? Note if you are on the embedded H2 database, you will need to migrate ASAP to [a supported database](https://confluence.atlassian.com/doc/supported-platforms-207488198.html#SupportedPlatforms-Databases).
3. Is this a new installation, or an upgrade?
4. When were you last able to start Confluence?
5. Is your Confluence site able to communicate with your database server? Check out the following article for steps to troubleshoot this: [Unable to start due to net.sf.hibernate.exception.GenericJDBCException Cannot open connection](https://confluence.atlassian.com/confkb/unable-to-start-due-to-net-sf-hibernate-exception-genericjdbcexception-cannot-open-connection-128843899.html)
6. Please also have a look at your [Confluence Server Logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html). The logs you provided are lacking some specifics regarding the error, so you will find more helpful logs from your Server logs.

Looking forward to hearing from you!

Regards,

Shannon


Tags: confluence-server

server