Starting and stopping a server from the command prompt

You can use the server tasks to start or stop a server.

About this task

The wlp/bin directory contains a script called server to help with controlling the server process. The syntax of this script is as follows:
server action serverName [options]

For available values of [options], see Liberty profile: server command options.

Note: If a server is not specified on the command line, the action is performed against the default server instance, defaultServer, if it exists.

Procedure

Example

To start or stop a server by using the server script on Windows systems:
server.bat start serverName
server.bat stop serverName
To start or stop a server by using the server script on other systems:
server start serverName
server stop serverName

Icon that indicates the type of topic Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Wednesday, 22 May 2013
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=twlp_admin_startstopserver_cmd
File name: twlp_admin_startstopserver_cmd.html