legacy-knowledge-base
公開されました Sep. 10, 2025

セッション属性」の値がクラスタ内の他のノードにレプリケートされません。

written-by

Emma Liu

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  1. 2ノードのLiferay Clusterを設定し、「live.users.enabled=true」と設定します。
  2. ノード1でログインし、"コントロールパネル > ユーザー > 監視" に移動します。
  3. セッションIDを覚えておきましょう。 セッションの詳細ページに行くと、"Session Attributes "セクションに値があります。
  4. ノード2でログインし、"コントロールパネル > ユーザー > 監視" に移動します。 手順2で表示されたセッションIDと同じものにチェックを入れます。

結果。ノード2に「セッション属性」の値が表示されません。

環境への配慮

  • Liferay DXP 7.1

決議

  • アプリケーションサーバーレベルのセッションレプリケーションを設定すると、両方のノードで「セッション属性」の値が利用できるようになります。

追加情報

  • デフォルトでは、アプリケーションサーバーレベルのセッションレプリケーションを構成しないと、「セッション属性」の値は、現在のユーザーがログインしているノードにのみ存在します。
did-this-article-resolve-your-issue

legacy-knowledge-base