Probelm with start Confluence http://localhost:8090/bootstrap/selectsetupstep.action
Asked by Grzegorz Szymczak:

Hello,

I am trying to install confluence but whenever I start the server and navigate to the above URI I get;

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.  
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set

### Cause {#toc-hId-1057539223}

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)


Answers:
author: Grzegorz Szymczak
body: This is it:

05-Apr-2019 15:02:58.321 INFO \[Thread-12\] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler \["http-nio-8090"\]  
05-Apr-2019 15:02:58.841 INFO \[Thread-12\] org.apache.catalina.core.StandardService.stopInternal Stopping service \[Tomcat-Standalone\]  
05-Apr-2019 15:02:58.851 INFO \[localhost-startStop-6\] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'dispatcher'  
05-Apr-2019 15:02:58.851 INFO \[localhost-startStop-5\] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'dispatcher'  
05-Apr-2019 15:02:58.861 INFO \[localhost-startStop-6\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.doClose Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Thu Apr 04 21:13:40 CEST 2019\]; root of context hierarchy  
05-Apr-2019 15:02:58.861 INFO \[localhost-startStop-5\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.doClose Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Thu Apr 04 21:14:12 CEST 2019\]; root of context hierarchy  
05-Apr-2019 15:02:58.871 INFO \[localhost-startStop-5\] org.springframework.context.support.DefaultLifecycleProcessor.stop Stopping beans in phase 2147483647  
05-Apr-2019 15:02:58.871 INFO \[localhost-startStop-6\] org.springframework.context.support.DefaultLifecycleProcessor.stop Stopping beans in phase 2147483647  
05-Apr-2019 15:03:01.331 INFO \[localhost-startStop-5\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.shutdown Shutting down ExecutorService 'defaultSockJsTaskScheduler'  
05-Apr-2019 15:03:01.331 INFO \[localhost-startStop-6\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.shutdown Shutting down ExecutorService 'defaultSockJsTaskScheduler'  
05-Apr-2019 15:03:48.191 WARNING \[localhost-startStop-4\] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application \[ROOT\] registered the JDBC driver \[org.h2.Driver\] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.  
05-Apr-2019 15:03:48.211 INFO \[Thread-12\] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler \["http-nio-8090"\]  
05-Apr-2019 15:04:06.026 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server} Setting property 'debug' to '0' did not find a matching property.  
05-Apr-2019 15:04:06.141 WARNING \[main\] org.apache.catalina.startup.SetAllPropertiesRule.begin \[SetAllPropertiesRule\]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.  
05-Apr-2019 15:04:07.371 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.  
05-Apr-2019 15:04:07.371 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.  
05-Apr-2019 15:04:07.411 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.  
05-Apr-2019 15:04:07.441 WARNING \[main\] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path \[${confluence.context.path}/synchrony-proxy\] does not meet these criteria and has been changed to \[/${confluence.context.path}/synchrony-proxy\]  
05-Apr-2019 15:04:07.441 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.  
05-Apr-2019 15:04:09.431 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]  
05-Apr-2019 15:04:10.241 INFO \[main\] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read  
05-Apr-2019 15:04:10.251 INFO \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 4373 ms  
05-Apr-2019 15:04:10.271 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Tomcat-Standalone\]  
05-Apr-2019 15:04:10.271 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.12  
05-Apr-2019 15:04:13.801 INFO \[localhost-startStop-2\] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.  
05-Apr-2019 15:04:14.691 INFO \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@4d017b1e\]  
05-Apr-2019 15:04:15.241 INFO \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'  
05-Apr-2019 15:04:15.241 INFO \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started  
05-Apr-2019 15:04:15.251 INFO \[localhost-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Fri Apr 05 15:04:15 CEST 2019\]; root of context hierarchy  
05-Apr-2019 15:04:15.436 INFO \[localhost-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions Registering annotated classes: \[class com.atlassian.synchrony.proxy.websocket.WebSocketConfig,class com.atlassian.synchrony.proxy.web.SynchronyWebMvcConfig\]  
05-Apr-2019 15:04:16.731 INFO \[localhost-startStop-2\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'  
05-Apr-2019 15:04:16.891 INFO \[localhost-startStop-2\] org.springframework.web.socket.server.support.WebSocketHandlerMapping.registerHandler Mapped URL path \[/v1/bayeux-sync1\] onto handler of type \[class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler\]  
05-Apr-2019 15:04:17.115 INFO \[localhost-startStop-2\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]  
05-Apr-2019 15:04:17.989 INFO \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Fri Apr 05 15:04:15 CEST 2019\]; root of context hierarchy  
05-Apr-2019 15:04:18.352 INFO \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/healthcheck\]}" onto public com.atlassian.synchrony.proxy.web.HealthCheckResult com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.getSynchronyProxyInfo()  
05-Apr-2019 15:04:18.354 INFO \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/reload\],methods=\[PUT\]}" onto public org.springframework.http.ResponseEntity com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.reloadConfiguration(com.atlassian.synchrony.proxy.web.SynchronyProxyConfigPayload)  
05-Apr-2019 15:04:18.756 INFO \[localhost-startStop-2\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647  
05-Apr-2019 15:04:18.881 INFO \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 3640 ms  
05-Apr-2019 15:04:42.891 INFO \[localhost-startStop-3\] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor \[C:\\Program Files\\Atlassian\\Confluence\\conf\\Standalone\\localhost\\synchrony-proxy.xml\]  
05-Apr-2019 15:04:42.901 WARNING \[localhost-startStop-3\] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value \[/synchrony-proxy\] in deployment descriptor \[C:\\Program Files\\Atlassian\\Confluence\\conf\\Standalone\\localhost\\synchrony-proxy.xml\] has been ignored  
05-Apr-2019 15:04:42.907 WARNING \[localhost-startStop-3\] org.apache.catalina.startup.SetContextPropertiesRule.begin \[SetContextPropertiesRule\]{Context} Setting property 'debug' to '0' did not find a matching property.  
05-Apr-2019 15:04:44.446 INFO \[localhost-startStop-3\] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.  
05-Apr-2019 15:04:44.924 INFO \[localhost-startStop-3\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@3990f31a\]  
05-Apr-2019 15:04:45.321 INFO \[localhost-startStop-3\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'  
05-Apr-2019 15:04:45.321 INFO \[localhost-startStop-3\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started  
05-Apr-2019 15:04:45.321 INFO \[localhost-startStop-3\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Fri Apr 05 15:04:45 CEST 2019\]; root of context hierarchy  
05-Apr-2019 15:04:45.391 INFO \[localhost-startStop-3\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions Registering annotated classes: \[class com.atlassian.synchrony.proxy.websocket.WebSocketConfig,class com.atlassian.synchrony.proxy.web.SynchronyWebMvcConfig\]  
05-Apr-2019 15:04:45.901 INFO \[localhost-startStop-3\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'  
05-Apr-2019 15:04:45.951 INFO \[localhost-startStop-3\] org.springframework.web.socket.server.support.WebSocketHandlerMapping.registerHandler Mapped URL path \[/v1/bayeux-sync1\] onto handler of type \[class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler\]  
05-Apr-2019 15:04:46.066 INFO \[localhost-startStop-3\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]  
05-Apr-2019 15:04:46.491 INFO \[localhost-startStop-3\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Fri Apr 05 15:04:45 CEST 2019\]; root of context hierarchy  
05-Apr-2019 15:04:46.691 INFO \[localhost-startStop-3\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/healthcheck\]}" onto public com.atlassian.synchrony.proxy.web.HealthCheckResult com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.getSynchronyProxyInfo()  
05-Apr-2019 15:04:46.696 INFO \[localhost-startStop-3\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/reload\],methods=\[PUT\]}" onto public org.springframework.http.ResponseEntity com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.reloadConfiguration(com.atlassian.synchrony.proxy.web.SynchronyProxyConfigPayload)  
05-Apr-2019 15:04:46.821 INFO \[localhost-startStop-3\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647  
05-Apr-2019 15:04:46.871 INFO \[localhost-startStop-3\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1545 ms  
05-Apr-2019 15:04:46.871 INFO \[localhost-startStop-3\] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor \[C:\\Program Files\\Atlassian\\Confluence\\conf\\Standalone\\localhost\\synchrony-proxy.xml\] has finished in \[3,980\] ms  
05-Apr-2019 15:04:46.871 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]  
05-Apr-2019 15:04:46.891 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in 36635 ms


author: Petr Van??ek
body: Hi,

if you can share your log from INSTALL-DIR/logs/catalina.out whet it occurs then it can help to find problem.

But try this - "Application context has not been set" is often problem during problems.

<https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html>