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

DXP 7.3 フィックスパック 1 に更新またはアップグレードした後、.cfg ファイルをインストールできない

written-by

Joel Garman

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

問題

  • *.cfg ファイルを LIFERAY_HOME/osgi/configs フォルダーに配置すると、ログにエラーが生成されます。
    Unable to install .cfg file "{cfg-file-name}", please use .config file instead.
  • LIFERAY_HOME/osgi/configs フォルダーに配置された *.cfg 拡張子を持つファイルは読み取られません。

環境

  • Liferay DXP 7.3 フィックスパック 1 / サービス パック 1 以降

解像度

Liferay DXP 7.3 Fix Pack 1 には、デフォルトで cfg ファイルのサポートを削除する LPS-118855 が含まれています。 モジュール設定の管理を継続するには、次のいずれかを行います。

  1. すべての *.cfg ファイルを *.config ファイルに再フォーマットします。
  2. portal-ext.properties ファイルで、 module.framework.file.install.enable.cfg=true を設定して、従来の *.cfg ファイル形式の処理を有効にします。

追加情報

  • LPS-118855 、Apache Felix File Install OSGi 管理エージェントを削除した結果として実装されました。 Apache Felix File Install ライブラリは、サードパーティ ライブラリのセキュリティの脆弱性を軽減するために削除されました。

did-this-article-resolve-your-issue

legacy-knowledge-base