stopappserver
Syntax
{stopappserver | stopapps} [domain!][folder/]workstation
[;wait]
Arguments
- domain
- Specifies the name of the domain of the workstation. Because workstations have unique names, the
domain is not needed when stopping the WebSphere Application Server
Liberty on a specific
workstation. Wildcard characters are permitted.
If domain is omitted, and workstation contains wildcard characters, the default domain is the one in which conman is running.
- [folder/]workstation
- Specifies the name of the workstation where you want to stop the monitoring engine. Wildcard characters are permitted. If no domain and workstations are specified, the action is on the local workstation.
- wait
- Waits until WebSphere Application Server Liberty has stopped before prompting for another command.
Comments
Permission to stop actions
on cpu objects is required in the security file to
be enabled to run this command.
On Windows systems refrain from using Windows services to stop
WebSphere Application Server
Liberty. If you use
Windows services, the appserverman process, which continues to run, will start
WebSphere Application Server
Liberty again. Use this
command instead.
- Customize the
Attributes for conman (CLI in version 8.4) connectionssection in thelocaloptsfile by specifying the details of the connector or of the master domain manager.You must also:- Create (or customize if already present) the
useroptsfile manually, adding theUSERNAMEandPASSWORDattributes for the user who will run stopappserver. Make sure theuseroptsfile name is entered in theUSEROPTSkey in theAttributes for conman (CLI) connectionssection. See the section about setting user options in Administration Guide for further details. - Encrypt the password in the
useroptsfile simply by running conman.
- Create (or customize if already present) the
On Windows systems, you can also use the Shutdown utility command. For more
information, see
shutdown.