Can't start confluence
Asked by Hiroshi Sakamoto:

I confirmed starting catalina but I have following issue.  
I searched how to solve my issue by knowledge database but I couldn't find it out.  
So, I want to ask you your advice again.  
![ConfluenceError after installation.png](https://community.atlassian.com/t5/image/serverpage/image-id/93061i224AF71DD36956A7/image-dimensions/351x134?v=v2 "ConfluenceError after installation.png")

30-Apr-2020 18:25:15.212 ?? \[main\] org.apache.catalina.startup.Catalina.start ??????? \[61,638\]ms  
30-Apr-2020 18:25:15.587 ?? \[http-nio-8090-exec-6\] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage\[errorCode=500, location=/500page.jsp\]  
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Container is not setup  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)  
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)  
at com.atlassian.confluence.web.filter.HttpSessionRegistrarFilter.sessionRegistry(HttpSessionRegistrarFilter.java:76)  
at com.atlassian.confluence.web.filter.HttpSessionRegistrarFilter.doFilter(HttpSessionRegistrarFilter.java:53)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:27)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:47)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:47)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:59)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:54)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)  
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)  
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)  
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)  
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394)  
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253)  
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:348)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)  
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)  
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)  
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)  
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594)  
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)  
at java.base/java.lang.Thread.run(Unknown Source)  
Caused by: java.lang.IllegalStateException: Container is not setup  
at com.atlassian.spring.container.LazyComponentReference.create(LazyComponentReference.java:41)


Answers:
author: Moses Thomas
body: [@Hiroshi Sakamoto](/t5/user/viewprofilepage/user-id/1097970) Try resolution(s) mentioned here

[Confluence does not start due to Spring Application context has not been set](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html)

please give feed back once you are up and running.

comments: author: Hiroshi Sakamoto
body: [@Moses Thomas](/t5/user/viewprofilepage/user-id/1138700) san,

Thanks for your response.  
I use SQLServer 2012 and Windows Server 2012 R2.  
The cause of the issue was Confluence 7.4.0 does not support TLS1.0.  
After applying the patch for TLS1.1 or 1.2 by the following page, Confluence 7.4.0 can connect SQL Server 2012.  
<https://support.microsoft.com/ja-jp/help/3135244/tls-1-2-support-for-microsoft-sql-server>


Tags: confluence-server

server