Issue
- When placing a *.cfg file in the LIFERAY_HOME/osgi/configs folder an error is generated in the log:
Unable to install .cfg file "{cfg-file-name}", please use .config file instead.
- Files with the *.cfg extension placed in the LIFERAY_HOME/osgi/configs folder are not read.
Environment
- Liferay DXP 7.3 Fix Pack 1 / Service Pack 1 and Above
Resolution
Liferay DXP 7.3 Fix Pack 1 contains LPS-118855 which removes the cfg file support by default. In order to continue to manage module settings either:
- Reformat all *.cfg files to *.config files.
- In a portal-ext.properties file set
module.framework.file.install.enable.cfg=true
to enable processing of the legacy *.cfg file format.
Additional Information
- LPS-118855 was implemented as a consequence of removing Apache Felix File Install OSGi management agent. The Apache Felix File Install libraries were removed in order to mitigate security vulnerabilities in the third-party library.