One of the most important pieces of information when resolving a customer issue is the portal-ext.properties file for your environment. It is now possible to upload the portal-ext.properties file before opening a ticket. This article describes what you need to know to locate your portal-ext.properties file(s) for upload to the ticket.
Resolution
Location
Perhaps the most straightforward place to put the portal-ext.properties
file is directly into the [LIFERAY_HOME]
folder. However, the portal-ext.properties file that is being read may also be located in other locations as well (e.g. In Tomcat, webapps/ROOT/WEB-INF/classes is a common location).
To determine the location of the portal-ext.properties file that is being read by your portal, simply search your log file for "portal-ext.properties". Within the log file should be the location of the portal-ext.properties that was loaded by the portal.
e.g. Loading file:/C:/Users/Liferay/Liferay/Bundles/liferay-portal-6.1.20-ee-ga2/portal-ext.properties
Other Properties Files
Keep in mind that portal-bundle.properties
, portal-setup-wizard.properties
, and portal-company-id.properties
can be set up to override your portal-ext.properties
.
See the include-and-override property in your portal-ext.properties file to see if any additional properties files will need to be uploaded to the ticket in addition to the portal-ext.properties.
Additional Information
- It is recommended to remove any passwords (i.e. database passwords) that may be present in your
portal-ext.properties
files. Simply replace the actual password with something like replaced. - Creating Liferay Support Tickets - best practices