Cannot start JIRA after fresh installation, 500 error page

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

問題

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

The following appears in the catalina.out

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.

診断

環境

  • Fresh installation

Diagnostic Steps

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

原因

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

ソリューション

Troubleshoot the system JAVA using below commands:

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.




説明 JIRA is unable to start and shows a 500 error page after a fresh install.
製品Jira
プラットフォームServer
最終更新日: 2018 年 10 月 11 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.