Cannot connect MySQL database to Confluence

quoc February 18, 2019

Hi, 

I'm trying to connect confluence with my own database but I got this error.
Confluence 6.14.1
JDBC: mysql-connector-java-5.1.47
Mysql 5.7.25 (It's already connected successfully with jira server)


A system error has occurred - our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

a description of your problem and what you were doing at the time it occurred
a copy of the error and system information found below
a copy of the application logs (if possible).
Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.
Thank you!

Return to site homepage…

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
com.atlassian.config.ConfigurationException: Invalid bean definition with name 'tenantedLuceneConnection' defined in class path resource [indexingSubsystemContext.xml]: Could not resolve placeholder 'lucene.index.dir' in value "${lucene.index.dir}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'lucene.index.dir' in value "${lucene.index.dir}"
at com.atlassian.confluence.setup.actions.AbstractSetupAction.transitionFromColdToVacantState(AbstractSetupAction.java:162)
.....

Please help me, thanks you

1 answer

0 votes
Zak Laughton
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2019

Hello,

Looks like you are running into a "Spring Application context has not been set" error. This is a common misconfiguration error on new installations, often caused by insufficient permissions on the Confluence install and Home folders.

I recommend running through the resolutions in order in the Resolution section of Confluence does not start due to Spring Application context has not been set. These fixes almost always resolve the issue. If you still run into issues, please let us know what you tried and if you saw any change in behavior.

I hope this helps!
– Zak

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events