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

portal-ext.properties ファイルがノードに反映されないように変更

written-by

Justin Mann

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

問題

  • portal-ext.propertiesファイルで異なるプロパティに変更を加えた後、Liferay起動時に環境に反映されない。

環境への配慮

  • ライフレイDXP 7.0

決議

  • Liferayを起動すると、異なる場所から複数のportal-ext.propertiesファイルを読み込むことがあります。
  • これを確認するには、Liferayの起動ログを表示するコンソールを確認して、異なるプロパティファイルをロードしている行がいくつか表示されているはずです(以下の例を参照)。
    Loading file:/home/user/liferay_home/portal-ext.properties
  • 複数の portal-ext.properties ファイルがあるかどうかを確認します。 ある場合は、これらのプロパティを1つのファイルにまとめ、重複する可能性のあるプロパティを調整します。
  • Liferayを再起動し、portal-ext.propertiesファイルが1つだけロードされていることを確認します。
did-this-article-resolve-your-issue

legacy-knowledge-base