Jira instance is not starting due to malformed server.xml
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
Accessing Jira after restart shows page stating Jira home directory is locked.
診断
Logs show Jira starting again after 5 seconds in the middle of original start up.
Second start complains about Jira home already being locked and jira is unaccessible
2021-01-28 15:14:42,021+0000 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] The jira.home directory is locked
2021-01-28 15:14:42,021+0000 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] The jira.home directory C:\Atlassian\Application Data\JIRA is locked by another running instance of JIRA. Your jira.home directory can only be used by one running JIRA instance.
Review our documentation for more information on setting your JIRA home.原因
server.xml file contains 2 Contexts inside the Engine tag.
ソリューション
Remove one of the Contexts from the server.xml file and restart the application
この内容はお役に立ちましたか?