Manage substitution variables with the administrative console

In WebSphere Application Server - Express, you can use substitution variables to represent values in configuration files. For example, the variable LOG_ROOT represents the value /QIBM/UserData/WebASE51/ASE/instance/logs, where instance is the name of your instance. To change the location of the log files for your instance, change the value of the LOG_ROOT variable to the new path.

For instructions on adminstering substitution variables, see these sections:

Create substitution variables

To add a new substitution variable, follow these steps:

  1. Start the WebSphere administrative console.

  2. In the topology tree, expand Environment and click Manage WebSphere Variables.

  3. On the WebSphere Variables page, specify the scope for which you want to define the variable and click Apply.

  4. Click New.

  5. Specify a name and value for the variable.

  6. Click OK.

  7. Save the configuration.

Modify substitution variables

To modify a substitution variable, follow these steps:

  1. Start the WebSphere administrative console.

  2. In the topology tree, expand Environment and click Manage WebSphere Variables.

  3. On the WebSphere Variables page, specify the scope that contains the variable that you want to modify and click Apply.

  4. Click the name of the variable that you want to modify.

  5. Make your changes.

  6. Click OK.

  7. Save the configuration.

Remove substitution variables

To remove a substitution variable, follow these steps:

  1. Start the WebSphere administrative console.

  2. In the topology tree, expand Environment and click Manage WebSphere Variables.

  3. On the WebSphere Variables page, specify the scope that contains the variable that you want to remove and click Apply.

  4. Select the checkbox for the variable that you want to remove.

  5. Click Delete.

  6. Save the configuration.

You can also use wsadmin to manage substitution variables for your appliation server instance. See Use wsadmin to manage substitution variables for information.