Migrated Confluence not starting with no error message
Asked by Jules Clements:

Performing a trial migration from CentOS 6 to CentOS 7. Imported database (PostgreSQL) and copied home directory. Downloaded gzip confluence, extracted as runtime user account, and restored home directory as the same user. Undated /confluence-init.properties with home location and started as the runtime user using ./bin/start-confluence.sh -fg

The tomcat connector is started, then the last message is \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$populateExistingClusterSetupConfig$1 Populating setup configuration if running with Cluster mode

After this there is no further logging. No errors, no response on the HTTP. If checked that the user has access to home.


Answers:
author: Jules Clements
body: arg, I forgot that logging also occurs in confluence-home/logs, it was in there that I found that password for the database was wrong, corrected this and migrations performed successfully.


author: Jules Clements
body: After 30 minutes, this appeared

org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file  
org.apache.catalina.core.StandardContext.startInternal Context \[\] startup failed due to previous errors

then after another minute or so

org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]  
org.apache.catalina.startup.Catalina.start Server startup in 1846370 ms

then after 5 minutes

INFO \[C3P0PooledConnectionPoolManager\[identityToken-\>1hge18o9w5xiw6u1rtfhvk\|3d5152f\]-HelperThread-#0\] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load \[com.mchange.v2.c3p0.ConnectionCustomizer\]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.  
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load \[com.mchange.v2.c3p0.ConnectionCustomizer\]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.  
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1372)  
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1360)  
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1219)  
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:214)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)