Legacy Knowledge Base
Published Sep. 10, 2025

How to resolve when basic configuration portal properties are not read during startup

Written By

Isaac Wilson

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When starting a pre-built Liferay DXP bundle for the first time, some of the properties set in a portal-ext.properties file (such as the default.admin.* and company.default.*  properties) do not take effect and the Liferay defaults remain.

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2

Resolution

  • To allow the default.admin.*company.default.*, and other initialization properties to take effect when a bundle is first launchedconnect the test bundle to a fresh database, and the portal-ext.properties should then be implemented as expected upon initial startup.

Additional Information

  • This issue can encountered with freshly unzipped bundles because tables with default values (such as the default Liferay site and Test user) have already been created using the Liferay defaults in the embedded Hypersonic database. Since those properties only affect initialization, they will not overwrite the values already present in the database.
  • If you would like to use a fresh Hypersonic database (for deployment and demonstration purposes), you can delete the [Liferay_Home]/data/hypersonic directory while the application server is shut down, and the tables will be recreated as a fresh database using the values set in the portal-ext.properties file when the server is started again.
    Please note: the contents of the/hypersonic directory should only be deleted when a brand new environment is desired, as any previously generated data within the Hypersonic database will be permanently lost upon directory deletion 
  • For production environments, please review our Supported Databases for 7.2, 7.1, or 7.0
  • Other common causes for portal-ext.properties not taking effect can be found in this related Help Center article.
  • More information on how to set, configure, and override Liferay DXP features through properties can be found in our Portal Properties documentation.
Did this article resolve your issue ?

Legacy Knowledge Base