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 Base 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 Base 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 Base. If you use Windows services, the appserverman process, which continues to run, will start WebSphere Application Server Liberty Base again. Use this command instead.
- Customize the
Attributes for conman (CLI in version 8.4) connections
section in thelocalopts
file by specifying the details of the connector or of the master domain manager.You must also:- Create (or customize if already present) the
useropts
file manually, adding theUSERNAME
andPASSWORD
attributes for the user who will run stopappserver. Make sure theuseropts
file name is entered in theUSEROPTS
key in theAttributes for conman (CLI) connections
section. See the section about setting user options in Administration Guide for further details. - Encrypt the password in the
useropts
file 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.