Example: Stopping a server using wsadmin
The following example stops an application server with the node specified.
- The following command stops server1 in node mynode.
$AdminControl stopServer server1 mynodeExample output:
WASX7337I: Invoked stop for server "server1" Waiting for stop completion. WASX7264I: Stop completed for server "server1" on node "mynode"- The stop command has serveral command syntaxes.
If you have Network Deployment installation, use the one of following command syntax:
$AdminControl stopServer serverName nodeName $AdminControl stopServer serverName nodeName immediateIf you have application server base installation, you can use the following syntax, in addition to the previous syntax:
$AdminControl stopServer serverName $AdminControl stopServer serverName immediate