can't set up confluence from UI
Asked by Mengmeng Yu:

Hi team

I tried to install confluence following below page.

<https://confluence.atlassian.com/doc/installing-confluence-on-linux-from-archive-file-255362363.html>

when I go to step6.2 after I choose Production installation from UI

I got interface like this, don't know where can I click to install anything.

![prd-testevidence.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/161915i4DEA32F7F2C4DF13/image-size/large?v=v2&px=999 "prd-testevidence.PNG")


Answers:
author: Kishan Sharma
body: Hi [@Mengmeng Yu](/t5/user/viewprofilepage/user-id/4286669)

I can see that you have used a different port during the installation. Not sure if the port is open so that confluence application can listen on it. Have you checked \<confluence_home\>/logs/atlassian-confluence.log to see if there are any errors ? Will also suggest blurring/removing proprietary info while posting screenshot.

comments: author: Mengmeng Yu
body: Hi [@kishan sharma](/t5/user/viewprofilepage/user-id/2854295)

Thanks for your help. the port is open .

yes, there is some error from \<confluence_home\>/logs/atlassian-confluence.log as below :

com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true  
javax.servlet.error.exception: java.lang.NullPointerException  
--------------------------  
Parameters  
--------------------------  
caused by: java.lang.NullPointerException  
at com.atlassian.confluence.core.actions.IndexAction.execute(IndexAction.java:22)

2021-09-25 21:00:01,842 FATAL \[http-nio-5050-exec-9\] \[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set  
-- traceId: 00ee937a7e420a54  
2021-09-25 21:00:01,844 FATAL \[http-nio-5050-exec-9\] \[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set  
-- traceId: 00ee937a7e420a54  
2021-09-25 21:00:01,844 ERROR \[http-nio-5050-exec-9\] \[confluence.util.profiling.ConfluenceSitemeshErrorDecorator\] renderInternal Failed to render error decorator. Falling back to using no decorator  
-- traceId: 00ee937a7e420a54  
javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLanguageJs' in class com.atlassian.confluence.core.ConfluenceActionSupport threw exception java.lang.IllegalStateException: Spring Application context has not been set at /langmacro.vm\[line 2, column 15\]  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$ErrorThrowingErrorHandlingStrategy.handleException(ConfluenceSitemeshDecorator.java:286)  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$StreamingResponseWritingStrategy.renderToResponse(ConfluenceSitemeshDecorator.java:335)  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator.applyDecoratorUsingVelocity(ConfluenceSitemeshDecorator.java:249)  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator.applyDecorator(ConfluenceSitemeshDecorator.java:147)  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshErrorDecorator.renderInternal(ConfluenceSitemeshErrorDecorator.java:46)  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator.render(ConfluenceSitemeshDecorator.java:117)  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshErrorDecorator.render(ConfluenceSitemeshErrorDecorator.java:38)  
at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:33)  
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84)  
at com.atlassian.confluence.util.profiling.ProfilingSiteMeshFilter.doFilter(ProfilingSiteMeshFilter.java:50)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:43)  
at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:50)  
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.HttpSessionRegistrarFilter.doFilter(HttpSessionRegistrarFilter.java:44)  
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.SecurityFilter.doFilter(SecurityFilter.java:88)  
at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.applyFilter(ConfluenceSecurityFilter.java:40)  
at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:29)  
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.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:43)  
at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:50)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)  
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:43)  
at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:50)  
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:67)  
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:398)  
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:257)  
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:352)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:177)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)  
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)  
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)  
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:880)  
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1601)  
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)  
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)  
at java.base/java.lang.Thread.run(Thread.java:834)  
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLanguageJs' in class com.atlassian.confluence.core.ConfluenceActionSupport threw exception java.lang.IllegalStateException: Spring Application context has not been set at /langmacro.vm\[line 2, column 15\]  
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342)  
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)  
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)  
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)  
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)  
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)  
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)  
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)  
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)  
at org.apache.velocity.Template.merge(Template.java:328)  
at org.apache.velocity.Template.merge(Template.java:235)  
at com.atlassian.confluence.util.velocity.VelocityUtils.renderTemplateWithoutSwallowingErrors(VelocityUtils.java:70)  
at com.atlassian.confluence.util.velocity.VelocityUtils.renderTemplateWithoutSwallowingErrors(VelocityUtils.java:76)  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$StreamingResponseWritingStrategy.renderToResponse(ConfluenceSitemeshDecorator.java:326)  
... 69 more  
Caused by: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)  
at com.atlassian.confluence.core.ConfluenceActionSupport.getLocaleManager(ConfluenceActionSupport.java:830)  
at com.atlassian.confluence.core.ConfluenceActionSupport.getLocale(ConfluenceActionSupport.java:716)  
at com.atlassian.confluence.core.ConfluenceActionSupport.getLocaleString(ConfluenceActionSupport.java:722)  
at com.atlassian.confluence.core.ConfluenceActionSupport.getLanguageJs(ConfluenceActionSupport.java:736)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.base/java.lang.reflect.Method.invoke(Method.java:566)  
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:385)  
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:374)  
at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:28)  
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)  
... 81 more  
2021-09-25 21:00:23,314 WARN \[http-nio-5050-exec-9\] \[web.filter.validateparam.RequestParamValidationFilter\] validateParam Potential attempt by user to send null data in parameter. \[path=/login_up.php3;paramName=locale_id\]  
-- url: /login_up.php3 \| traceId: 00486f6d63ed3224  
2021-09-25 21:00:24,436 WARN \[http-nio-5050-exec-10\] \[web.filter.validateparam.RequestParamValidationFilter\] validateParam Potential attempt by user to send null data in parameter. \[path=/cgi-bin/faqmanager.cgi;paramName=toc\]  
-- url: /cgi-bin/faqmanager.cgi \| traceId: 00d3fc19fa4b6556


author: Kishan Sharma
body: Thank you for the details. Please refer [this KB article on how to fix this error.](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html)


Tags: confluence-server

server