Configure the server: Create a new instance

To create a new instance, run the crtwasinst script from Qshell the command line. This script creates all new server directories and sets up the correct authorities. To run this script, your iSeries user profile must have *ALLOBJ authority.

  1. Enter the Start Qshell (STRQSH) command on an OS/400 command line.

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

    cd /QIBM/ProdData/WebAS5/Base/bin
  3. Run the crtwasinst script. Enter this command:

    crtwasinst -instance mdbconfig -portblock portblock

    where mdbconfig is the name of the instance that is created and portblock is the first of a block of 13 consecutive ports. For more information on the crtwasinst script and additional parameters, see The crtwasinst script.

Continue Next: Enable your instance to use Java Message Service (JMS)