Adding substitution variables to a WebSphere Application Server v6.0

A substitution variable is a configuration property that can be used to provide a parameter for any value in a WebSphere® Application Server v6.0 configuration. The variable has a name and a value to be used in place of that name wherever the variable name is located within the configuration files.

Prerequisite

  • Created an enterprise application and target the server to WebSphere Application Server v6.0.
To add a substitution variable, follow these steps:
  1. Switch to the J2EE perspective.
  2. In the Project Explorer view, expand the Enterprise Applications folder.
  3. Under the enterprise application project folder for which you add the substitution variables, double-click the Deployment Descriptor to open the Application Deployment Descriptor editor.
  4. Select the Deployment tab at the bottom of the editor.
  5. Expand the Substitution Variables section.
  6. Click the Add button beside the Variables list table. The Add a Variable dialog box opens.
  7. In the dialog box, fill in a name, value, and description for the variable. For example, a variable with the symbolic name CONFIG_ROOT could represent the path C:\WebSphere\AppServer\Config. For more information about any of the fields on this dialog box, select the field and then press F1. Click OK.
  8. Save your changes and close the editor. The substitution variables entries have been added to the deployment descriptor files.
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.