java.net.MalformedURLException unknown protocol c

お困りですか?

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

コミュニティに質問

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

問題

When configuring SSL in server.xml, the following appears in the catalina.out:

30-Jun-2016 15:21:23.577 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-443"]
 java.net.MalformedURLException: unknown protocol: c

原因

The keystoreFile configuration in the connector is misconfigured. There are two possible causes:

  1. / slash has been used instead of a \ slash
  2. The keystoreFile path is incorrect

ソリューション

Depending on the cause from above, there are different solutions. Both involve changes to the server.xml located in <BITBUCKET_HOME>/shared:

  1. Change all / to \ in the path for keystoreFile
  2. Check that the keystore path set in keystoreFile points to the correct location

Bitbucket Server 5.0

Bitbucket Server 5.0 以降では Tomcat のコネクタを直接設定することができません。このため、このセクションの設定は、Bitbucket Server 4.14 以前でのみ利用できます。

server.xml の設定は、<Bitbucket home directory>/shared/bitbucket.properties で置き換えられています。

The keystoreFile attribute has been replaced by ssl.key-store.

最終更新日 2018 年 11 月 2 日

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

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