Could not install confluence
Asked by Hoang_Minh_Phuc:

Hi, I'm trying to install confluence express with my host server. I do fully step in this site

<https://confluence.atlassian.com/doc/installing-confluence-on-linux-143556824.html#InstallingConfluenceonLinux-SetupConfluence>

But when I access to https:localhost/8090 the brower show below error

Cause  

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)  
Stack Trace:\[hide\]  

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)  
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)  
at com.atlassian.confluence.setup.webwork.ConfluenceXWorkTransactionInterceptor.getTransactionManager(ConfluenceXWorkTransactionInterceptor.java:28)  
at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:56)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.xwork.SetupIncompleteInterceptor.intercept(SetupIncompleteInterceptor.java:52)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.security.interceptors.SecurityHeadersInterceptor.intercept(SecurityHeadersInterceptor.java:39)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.setup.actions.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:27)  
at

Can anyone help me to solved this problem

Thanks so much


Answers:
author: Shankar Asam {Appfire}
body: Hello,

Can you please check the below KB article from Atlassian on this issue?

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

It appears that you're trying to access confluence using https, did you install certificates already? and also try using port like http://localhost:8090

Regards,

Shankar

comments: author: Hoang_Minh_Phuc
body: Dear Shankar

did you install certificates already ?

==\> what's kind of certificates I have to install ?


author: Hoang_Minh_Phuc
body: There are so many cause and resolution in the article. I don't know what exactly my problem ?


author: Shankar Asam {Appfire}
body: Hi Hoang,

Since you have mentioned https in your URL, I assumed that you have secured the application by installing SSL certificates. You can ignore if you don't have certs or plans to secure the site(application)


author: Hoang_Minh_Phuc
body: Sorry for confusing, actually, I'm using http right now. It's typo mistake


author: Hoang_Minh_Phuc
body: I resolved this issue. #1 cause is my problem.

Thx you all for supporting


author: Shankar Asam {Appfire}
body: I'm glad that the issue is fixed.