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

JDBC_Ping クラスター環境に要素がありません

written-by

Madeleine Clay

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

問題

  • JDBC_Ping クラスター環境から要素が欠落しており、ログに Unsupported template manager ftl エラーが表示されます。
  • クラスタリングを無効にすると、要素がすべて存在します。

Environment

  • DXP 7.2

解決策

  • ノードがデフォルトの自動検出アドレスでお互いを検出できない可能性があります。
  • portal-ext.propertiesで、 cluster.link.autodetect.address ポータル サーバーまたはローカル ゲートウェイに等しく設定します。
## Cluster Link
#
# Set this property to autodetect the default outgoing IP address so that
# JGroups can bind to it. The property must point to an address that is
# accessible to the portal server, www.google.com, or your local gateway.
#
# Env: LIFERAY_CLUSTER_PERIOD_LINK_PERIOD_AUTODETECT_PERIOD_ADDRESS
#
cluster.link.autodetect.address=www.google.com:80

追加情報

  • cluster.link.autodetect.address 、Liferay ノードが使用している JGroups を、他の Liferay ノードを検出できるアドレスにポイントするために使用されます。
  • ほとんどの場合、Liferay ノードはインターネットにアクセスできるため、google.com を指すデフォルト値で十分です。
  • ただし、クラスタが google.com を使用して他の Liferay ノードを検出できない場合 (たとえば、インターネットにアクセスできない場合)、このプロパティを更新してノードをポータル サーバーまたはローカル ゲートウェイに向けることができます。

did-this-article-resolve-your-issue

legacy-knowledge-base