Set configuration properties in the properties files
We can set portal configuration service properties in the properties files and enable them by using a portal configuration task.
This option for setting portal service configuration properties is not available for all properties.
To set portal service configuration properties in the properties files...
- Determine the required property and the service configuration property file in which it is located. For a list of the portal services refer to Overview of portal configuration services. For a list of portal service configuration files and the properties in them refer to Portal service configuration.
- Open the property file with an editor. The property files are located in the following directory:
UNIX:
portal_server_root/config/properties
i5/OS:
portal_server_root/config/properties
Windows:
portal_server_root\config\properties
- Set the property to the value as required.
- Verify that the modified property is uncommented so that it is changed during the run of the configuration task in the next step.
- Run the following portal configuration task:
- UNIX:
portal_server_root/config/WPSconfig.sh update-properties
i5/OS:
portal_server_root/config/WPSconfig.sh update-properties
Windows:
portal_server_root\config\WPSconfig.bat update-properties
This activates the new value for the property.
It also comments the updated properties out again in the property file.
- If the are running WebSphere Portal in a cluster configuration, replicate the changes to the cluster.
- Restart the portal to make the changes become effective.
Parent Topic
Set portal configuration properties
Related tasks
Set configuration properties in the administrative console
Related reference
Overview of portal configuration services
Portal configuration services
Configuration task reference