Locating the property file name prefix

You can find PROPERTY_FILE_NAME_PREFIX for a property.

About this task

To find the PROPERTY_FILE_NAME_PREFIX for a property:

Procedure

  1. If you do not know the name of the file containing the property you are overriding, find the file by searching for the property in the <INSTALL_DIR>/properties directory. For example, if you want to find the file that contains the api.security.token.enabled property, search the <INSTALL_DIR>/properties directory for api.security.token.enabled. In this case, you find the yfs.properties file.
  2. In the <INSTALL_DIR>/properties directory, locate the servers.properties file and open it in a text editor.
  3. In the servers.properties file, find the entry for the property file that you located in step 1. In the example for step 1, you found the yfs.properties file. In this case, find an entry for the yfs.properties file in the servers.properties file.
  4. The part of the entry before the equal sign (=) is the prefix that you will use in customer_overrides.properties. Make note of it.
    For example, locate the entry for yfs.properties in servers.properties:

    yfs=<INSTALL_DIR>/properties/yfs.properties

    yfs is the prefix for the yfs.properties property file.

Results

Note: Extensions for property files are not listed in the servers.properties file. For example, yfs.properties_ycs_ext is listed as yfs.properties in the servers.properties file.