Set configuration properties

 

+
Search Tips   |   Advanced Search

 

This topic explains how you set service configuration properties in IBM WebSphere Portal.

The configuration for each service is stored in and accessible through the IBM WAS Administrative Console. Each service is registered as a separate Resource Environment Provider with custom properties that represent the service configuration. Initially in a default portal installation, only the most common properties are exposed as custom properties. You might need to add additional properties with key and value as required, or you might want to remove properties that can be used with their default values or are no longer required.

We can add, change, or remove portal service configuration properties by one of the following procedures:

 

Configure using the administrative console

  1. If the portal is running standalone, use the local console; if the portal is installed in a cluster, use the console of the Deployment Manager.

  2. Start the administrative console...

       http://host:admin_port/ibm/console 

  3. Go to...

    Resource | Resource Environment Providers | service | Custom Properties

  4. Do one of the following as required:

    • Select one or more properties for removal.

    • Select a property and change its value.

    • Create a new property. If you create a new property, use java.lang.String as its type and don't mark the property as required. Otherwise you will not be able to delete it later.

  5. When you are done, click Save at the top of the screen under Message(s).

  6. Click Save again when prompted to confirm the changes.

 

Configure using a portal configuration task

This option for setting portal service configuration properties is not available for all properties.

  1. Determine the required property and the service configuration property file in which it is located.

  2. Edit the property file

  3. Set the property to the value as required.

  4. Verify that the modified property is uncommented so that it is changed during the run of the configuration task in the next step.

  5. Run the following portal configuration task:

    This activates the new value for the property.

    It also comments the updated properties out again in the property file.

  6. Restart WebSphere Portal

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:

Portal service configuration

 

Related concepts

Portal service configuration
Portal configuration services.
Overview of portal configuration services
Configuration task reference