Application server - starting and stopping

Use the startappserver and stopappserver commands or the equivalent from the Dynamic Workload Console to start or stop the WebSphere Application Server Liberty Base. For a description of these commands, see startappserver and stopappserver.

These commands also stop appservman, the service that monitors and optionally restarts WebSphere Application Server Liberty Base.

If you do not want to stop appservman, you can issue startAppServer or stopAppServer, supplying the –direct argument. These scripts are located in TWA_home/appservertools.

The complete syntax of startAppServer and stopAppServer is as follows:
UNIX
Start the application server
./startAppServer.sh  [-direct]
Stop the application server
./stopAppServer.sh  [-direct] 
           
Note: If your WebSphere Application Server Liberty Base is for the Dynamic Workload Console, you must use the following syntax:
./stopAppServer.sh [-direct] 
            [-user <user_ID> 
           -password <password>]
           
The user ID and password are optional only if you have specified them in the soap.client.props file located in the properties directory of the WebSphere Application Server Liberty Base profile. Unlike the master domain manager installation, when you install the Dynamic Workload Console the soap.client.props file is not automatically customized with these credentials.
Windows
Start the application server
startAppServer.bat [-direct]
                 
Stop the application server
stopAppServer.bat [-direct
            [-wlpHome <installation_directory>]
            [-options <parameters>]]
z/OS
Start the application server
./startAppServer.sh  [-direct]
Stop the application server
./stopAppServer.sh  [-direct] 
           
where the arguments are as follows:
–direct
Optionally starts or stops the application server without starting or stopping the application server monitor appservman.

For example, you might use this after changing some configuration parameters. By stopping WebSphere Application Server Liberty Base without stopping appservman, the latter will immediately restart WebSphere Application Server Liberty Base, using the new configuration properties.

This argument is mandatory on UNIX when the product components are not integrated.

–options parameters
Optionally supplies parameters to the WebSphere Application Server Liberty Base startServer or stopServer commands. See the WebSphere Application Server Liberty Base documentation for details.
–wlpHome installation_directory
Defines the WebSphere Application Server Liberty Base installation directory, if it is not the default value.