Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Spring Application context has not been set

Purdue ACM SIGApp
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2018

I have already looked at the related link, but no dice, sadly. I specifically have tried deleting `confluence.cfg.xml` and resetting permissions on both folders multiple times, but it still gives me the error. Any help is appreciated. I can post the stack if requested, but I didn't to keep under the 20,000 character limit

 

Cause:

com.atlassian.config.ConfigurationException: IOException parsing XML document from class path resource [jmxContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [jmxContext.xml] cannot be opened because it does not exist
    at com.atlassian.confluence.setup.actions.AbstractSetupAction.transitionFromColdToVacantState(AbstractSetupAction.java:162)

caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [jmxContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [jmxContext.xml] cannot be opened because it does not exist
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:344)

caused by: java.io.FileNotFoundException: class path resource [jmxContext.xml] cannot be opened because it does not exist
    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)

 

URL: /setup/setupdbtype.action

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2018

Hi,

I am not confident that I know the root cause of what is happening for your instance, since the URL is  "/setup/setupdbtype.action" it sounds like a new install. None of my test instances have that file "jmxContext.xml"

Since your instance is looking for that file, one thing we could try is to download it from the bottom of this page: Unable to Start Confluence Due to JMX and place it in the <confluence-install>/confluence/WEB-INF/classes folder

I look forward to hearing the result.

Thanks,

Ann

Purdue ACM SIGApp
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 16, 2018

It is a new install. Sorry for not mentioning that earlier. It was already there, but I re-downloaded it, and the same error happened. I then tried deleting it and restarting, and the same error.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events