Cant start confluence and connect through browser:8090
Asked by Srinivas Korlipara:

It was working until last month. I had also connected to SQL Server successfully that time.

But stopped working now. Not reaching Confluence page at all.


Answers:
author: Nic Brough -Adaptavist-
body: What does the log file say the problem is? (On the server, \<confluence home\>/logs/atlassian-confluence.log is the place to start, but check the other files in that directory if that has no errors)

comments: author: Srinivas Korlipara
body: 31-Aug-2018 08:31:10.738 INFO \[C3P0PooledConnectionPoolManager\[identityToken-\>1hgeby99x121u5gm2etvuc\|2868370d\]-HelperThread-#0\] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load \[java.text.FieldPosition\]. 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 \[java.text.FieldPosition\]. 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 org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:67)  
at java.text.DateFormat.format(DateFormat.java:345)  
at org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert(PatternParser.java:443)  
at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:65)  
at org.apache.log4j.PatternLayout.format(PatternLayout.java:506)  
at com.atlassian.confluence.util.PatternLayoutWithStackTrace.format(PatternLayoutWithStackTrace.java:26)  
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:310)  
at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)  
at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)  
at com.atlassian.confluence.logging.ConfluenceHomeLogAppender.append(ConfluenceHomeLogAppender.java:149)  
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)  
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)  
at org.apache.log4j.Category.callAppenders(Category.java:206)  
at org.apache.log4j.Category.forcedLog(Category.java:391)  
at org.apache.log4j.Category.log(Category.java:856)  
at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:401)  
at com.mchange.v2.log.slf4j.Slf4jMLog$Slf4jMLogger$WarnLogger.log(Slf4jMLog.java:211)  
at com.mchange.v2.log.slf4j.Slf4jMLog$Slf4jMLogger.log(Slf4jMLog.java:238)  
at com.mchange.v2.resourcepool.BasicResourcePool.forceKillAcquires(BasicResourcePool.java:946)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$1100(BasicResourcePool.java:44)  
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1931)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)

31-Aug-2018 19:08:43.603 INFO \[C3P0PooledConnectionPoolManager\[identityToken-\>1hgeby99x121u5gm2etvuc\|6a991036\]-AdminTaskTimer\] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load \[com.mchange.v2.io.IndentedWriter\]. 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.io.IndentedWriter\]. 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.async.ThreadPoolAsynchronousRunner.getMultiLineStatusString(ThreadPoolAsynchronousRunner.java:419)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner.access$100(ThreadPoolAsynchronousRunner.java:49)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run(ThreadPoolAsynchronousRunner.java:799)  
at java.util.TimerThread.mainLoop(Timer.java:555)  
at java.util.TimerThread.run(Timer.java:505)


author: Nic Brough -Adaptavist-
body: This error message seems to be the shut-down messages you get when Confluence is shutting down because it cannot connect to the database you've given it.

I would expect to see some connection errors higher up in the log, before it starts to shut itself down, but check the network connection and the database credentials first.


Tags: confluence-server

server