Start an application server with the startServer script

The startServer script reads the configuration file for the specified server process and starts the server.

For information on running Qshell scripts, see Configure Qshell to run WebSphere Application Server - Express scripts.

Authority

To run this script, your user profile must have *ALLOBJ authority. For information on setting explicit authorities for a user profile that does not have *ALLOBJ authority, see Set explicit authorities for the startServer and stopServer scripts.

Usage

To start an application server with the startServer script, follow these steps:

  1. On the CL command line, run the STRQSH (Start Qshell) command.

  2. Run the cd command to change to the directory that contains the script:

    cd /QIBM/ProdData/WebASE51/ASE/bin
  3. Run the startServer script:

    startServer -instance instance server

    where instance is the name of the instance that you want to start and server is the name of the server that you want to start.

When the application server is running, the script displays this message:

ASE6123: Application server started.                                      
 Cause . . . . . :   Application server instance in ASE5 instance instance has
   started and is ready to accept connections on admin port admin_port

where instance is the name of your instance and admin_port is the port number for the WebSphere administrative console.

Note: If you specify the -nowait parameter, the script does not display this message. You must verify that the application server has started before you continue.

Syntax

The syntax of the startServer script is:

startServer server -instance instance
 [ -nowait ] [ -timeout seconds ] [ -trace ] [ -help | -? ]

where server is the name of the configuration directory of the server you want to start.

Parameters

The parameters of the startServer script are:

Examples

startServer -instance myinst

This example starts the myinst application server in the myinst instance.

startServer devinst -instance devinst -nowait

This example starts the devinst application server in the devinst instance and returns control immediately to the user.