Crowd Data Center display duplicate nodes in Clustering information.

お困りですか?

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

コミュニティに質問

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

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

A single node Crowd Data Center is showing duplicate nodes in Clustering information.

環境

Crowd 4.1.0

診断

The following stack trace found in Crowd startup log:

2020-08-14 13:10:41,750 localhost-startStop-1 INFO [ContainerBase.[Catalina].[localhost].[*/crowd03*]] Initializing Spring root WebApplicationContext
2020-08-14 13:11:11,107 localhost-startStop-1 INFO [ContainerBase.[Catalina].[localhost].[*/crowd*]] Initializing Spring root WebApplicationContext

Two different context paths found on each node startup log:

  • /crowd03
  • /crowd

原因

/crowd Context path present in the server.xml file is modified to a custom path:

<Context path="/crowd03" docBase="../../crowd-webapp">
          <Manager pathname=""/>
        </Context>

(info) Crowd will load two different context roots, which essentially will start two instances of Crowd if the /crowd context path is altered or added to the server.xml

ソリューション

Remove the default context path set by Crowd in <Crowd-Install>/apache-tomcat/conf/Catalina/localhost/crowd.xml file.

Example steps

1. (warning) First perform a backup of the crowd.xml file in <Crowd-Install>/apache-tomcat/conf/Catalina/localhost to another directory.
2. From <Crowd-Install>/apache-tomcat/conf/Catalina/localhost, remove the crowd.xml file to prevent Tomcat from loading the /crowd context.
3. Restart Crowd

(info) If you have more than one Data Center node, please make sure that those steps are run for each node in your setup.

(info) Please note that you are probably being impacted by the following bug:

CWD-5304 - Getting issue details... STATUS

最終更新日 2020 年 11 月 18 日

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

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