Cannot start JIRA after fresh installation, 500 error page

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

Summary

Problem

JIRA is unable to start and shows a 500 error page after a fresh install.

The following appears in the catalina.out

1 2 3 4 5 6 7 http-nio-8080-exec-16 ERROR [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [] threw exception [Servlet execution threw an exception] with root cause java.lang.NoClassDefFoundError: Could not initialize class webwork.dispatcher.GenericDispatcher at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.prepareDispatcher(JiraWebworkActionDispatcher.java:192) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:132)   http-nio-8080-exec-16 INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml com.atlassian.jira.util.RuntimeIOException: Error reading database configuration file.

Diagnosis

Environment

  • Fresh installation

Diagnostic Steps

  • Ensure that instance complies with the supported JIRA platforms for your specific version.

Cause

This is caused by the conflicting system JAVA. Verify that system JAVA is the supported JAVA as well.

Solution

Resolution

Troubleshoot the system JAVA using below commands:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Edit JAVA_HOME path: gedit /etc/environment Replace with below: export JAVA_HOME="/usr/lib/jvm/oracle_jdk8" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$JAVA_HOME"; To append the JAVA_HOME changes: source /etc/environment Recheck java: java -version echo $JAVA_HOME sudo update-alternatives --config java to change the system java as well.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.