WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Variables

WebSphere variables are name and value pairs that are used to provide settings for any of the string data type attributes contained in one of the XML formatted configuration files that reside in the product repository.

WebSphere variables are used to configure:
Each variable has a scope. A scope is the range of locations in the WebSphere Application Server network where the variable is applicable.

You can also use variables in configuration values such as file system path settings. Use the following syntax to refer to a variable:

${variable_name}

The value of a variable can contain a reference to another variable. The value of the variable is computed by substituting the value of the referenced variable recursively.

Variables are useful when concatenating two path variables when the specification does not accept the AND operator. For example, suppose that the following variables exist:

Variable name Variable value
ROOT_DIR /
HOME_DIR ${ROOT_DIR}home
USER_DIR ${HOME_DIR}/myuserdir

The variable reference ${USER_DIR} resolves to the value /home/myuserdir.

Not all WebSphere components support the use of a variable that you can define using this function. Therefore, you should always run one of your applications to verify that your system is correctly using any variables that you define.




Related tasks
Configuring WebSphere variables
Configuring the IBM Toolbox for Java
Setting up the application serving environment
Concept topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/ccws_variable.html

© Copyright IBM Corporation 2005, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)