After upgrade to 8.18.x version JIRA does not start

お困りですか?

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

コミュニティに質問

プラットフォームについて: 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 は除く

要約

After a upgrade to the 8.18.x version of Jira, the JVM process starts up. But it is not listening on the configured port in server.xml and the login or dashboard page cannot be loaded.

環境

8.18.x

診断

Looking at the catalina.out file during the startup, we can see the protocol handler fail to start for connector on port 8080.

13-Aug-2021 15:06:44.835 SEVERE [main] org.apache.catalina.core.StandardService.startInternal Failed to start connector [Connector[HTTP/1.1-8080]]
	org.apache.catalina.LifecycleException: Protocol handler start failed
		at org.apache.catalina.connector.Connector.startInternal(Connector.java:1101)
......
                at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:766)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
		at org.apache.catalina.startup.Catalina.start(Catalina.java:688)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
		at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
	Caused by: java.lang.IllegalArgumentException: Key protection  algorithm not found: java.security.UnrecoverableKeyException: Encrypt Private Key failed: unrecognized algorithm name: PBEWithSHA1AndDESede

The server.xml shows that the port 8080 was configured to handle https traffic with keystore file location and other parameters provided.

原因

Jira 8.18.x version uses JRE version 8u292. If instances are run with the default JRE packaged with Jira and the instance is configured to handle SSL connection at the Jira node itself rather than a proxy, users would encounter this problem due to https://bugs.openjdk.java.net/browse/JDK-8266261

ソリューション

1. Install a higher version of Jira such as 8.19. It contains a higher JRE version which avoids this problem.

2. Install AdoptopenJDK or Oracle JDK with a version higher than 292 and setting Jira to use the JDK.

最終更新日: 2021 年 10 月 27 日

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

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