Stop an application server with the stopServer script

The stopServer script stops the specified 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 stop an instance with the stopServer script, follow these steps:

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

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

    cd /QIBM/ProdData/WebASE51/ASE/bin

    Run the stopServer script:

    stopServer -instance instance server

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

Syntax

The syntax of the stopServer script is:

stopServer server -instance instance [ -nowait ] [ -quiet ]
 [ -logfile filename ] [ -replacelog ] [ -trace ] [ -timeout seconds ]
 [ -statusport statusportnumber ] [ -port portnumber ]
 [ -username username ] [ -password password ] [ -conntype SOAP | RMI ]
 [ -help | -? ]

Parameters

The parameters of the stopServer script are:

Example

stopServer myserver -instance myserver -port 10380

This example uses port 10380 to stop the myserver application server in the myserver instance.