legacy-knowledge-base
公開されました Jul. 2, 2025

Elasticsearchコネクタをリモート操作モードに設定した後、Liferay DXPが起動しない

written-by

Matheus Monteiro

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

問題

  • Liferay Elasticsearch コネクタをリモート操作モードで構成し、ポータルを再起動した後、Liferay と Elasticsearch 間の通信が失敗すると、ポータルにアクセスできなくなり、以下のエラーがログに表示されます。
None of the configured nodes are available: [{#transport#-1}{q-38f4_ZQHatS-xk6SdJ1w}{IP_ADDRESS}{IP_ADDRESS:PORT}]]

環境

  • DXP 7.1
  • Elasticsearch 6.x

解像度

  • ファイルを作成 (または既に存在する場合は変更) します。
    [Liferay_Home]/osgi/configs/com.liferay.portal.search.elasticsearch6.configuration.ElasticsearchConfiguration.config
  • プロパティ transportAdresses="IP.of.elasticsearch.node:Port"を使用して、IP アドレス/ポートを変更します。
  • ファイルを保存し、Liferay DXP を再起動します。

実行中のアクセス可能な Elasticsearch アドレスがなく、とにかくポータルにアクセスする必要がある場合は、プロパティを追加/変更できます。

operationMode="EMBEDDED"

本番環境での Elasticsearch の組み込みモードのサポートは ではなく であることを覚えておくことが重要です。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base