stopappserver

Stops the WebSphere Application Server Liberty on the workstation.

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.

To be able to run conman stopappserver command, complete the following two customization procedure to provide the user credentials to WebSphere Application Server Liberty:
  • Customize the Attributes for conman (CLI in version 8.4) connections section in the localopts file by specifying the details of the connector or of the master domain manager.
    You must also:
    1. Create (or customize if already present) the useropts file manually, adding the USERNAME and PASSWORD attributes for the user who will run stopappserver. Make sure the useropts file name is entered in the USEROPTS key in the Attributes for conman (CLI) connections section. See the section about setting user options in Administration Guide for further details.
    2. Encrypt the password in the useropts file simply by running conman.

On Windows systems, you can also use the Shutdown utility command. For more information, see shutdown.