Change application server properties

To change certain properties of an application server, run the chgwassvr script from the Qshell command line. To run the script, follow these steps:

  1. On the OS/400 command line, run the STRQSH (Start Qshell) command.

  2. On the Qshell command line, use the cd command to change to the directory that contains the script:

    cd /QIBM/ProdData/WebAS5/edition/bin

    where edition is Base for WebSphere Application Server and ND for WebSphere Application Server Network Deployment.

  3. Run the chgwassvr script:

    chgwassvr -instance instance -server server [options]

    where instance is the name of the instance that contains the server you want to change, server is the name of the server you want to change, and options specifies the changes you want to make. For more information on the chgwassvr script and additional parameters, see The chgwassvr script.

Example

In this example, the ports assigned to the application server devsvr2 in the instance devinst are changed.

chgwassvr -instance devinst -server devsvr2 -portblock 11400

In this example, the administrative console port for the application server devsvr2 in the instance devinst is changed.

chgwassvr -instance devinst -server devsvr2 -admin 9093