Confluence does not start with "Unable to load server configuration from..." error in catalina.out

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible


Confluence is failing to boot. catalina.out log file indicates that tomcat configuration cannot be loaded:

WARNING [main] org.apache.catalina.startup.Catalina.parseServerXml Unable to load server configuration from [/path/to/confluence/atlassian-confluence-install/conf/server.xml]
	org.xml.sax.SAXParseException; systemId: file:/path/to/confluence/atlassian-confluence-install/conf/server.xml; lineNumber: 92; columnNumber: 31; Error at line [92] column [31]: [null]
		at org.apache.tomcat.util.digester.Digester.createSAXException(
		at org.apache.tomcat.util.digester.Digester.createSAXException(
		at org.apache.tomcat.util.digester.Digester.endElement(
	Caused by: java.lang.NullPointerException
		at org.apache.catalina.util.ContextName.<init>(
SEVERE [main] org.apache.catalina.startup.Catalina.start Cannot start server, server instance is not configured


  1. Attempt to start Confluence
  2. Open <confluence_install>/log/catalina.out and check last events being logged
  3. If you observe Unable to load server configuration from WARNING, then tomcat is failing to load due to configuration error
  4. WARNING will also indicate which file is misconfigured, in the example error above, server.xml is incorrect


Tomcat needs correctly defined configuration in server.xml and other files in order to boot and load Confluence. 


Go to location in the specified file indicated by line and column values in the error message. Issue might be with incorrect declaration or simply missing character.

You can also use new Confluence installation of the same version for reference for default configuration or content of certain system files.


Error above indicated failure in Error at line [92] column [31]

Looking at server.xml, we can see that tomcat failed to recognise and load specified context declaration, because it was made incorrectly. Declaration added within its own <Context> ... </Context> tags, as opposed to being added within the existing <Context > ... </Context> tags. Removing or correcting declaration allowed for correct boot.

Last modified on Sep 20, 2021

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.