Example: Migrating - Stopping an appserver
The WebSphere Application Server V4.0 wscp tool requires that you know the hierarchical name of the appserver in question (the node name and the server name). The same information is required in V5.x.
Tip: You are stopping a server object, not an appserver. Servers represent logical processes on many platforms, for instance Windows or AIX, and are the entity that is stopped and started. Application servers are contained within servers.
- wscp V4.0
ApplicationServer stop {/Node:mynode/ApplicationServer:Default Server/}
- wsadmin V5.x
Using Jacl:
$AdminControl stopServer servername [nodename immediateFlag]
Using Jython:
AdminControl.stopServer('servername', [nodename immediateFlag])For a Network Deployment installation:
Using Jacl:
$AdminControl stopServer servername nodename [immediateFlag]
Using Jython:
AdminControl.stopServer('servername', 'nodeName', [immediateFlag])
AdminControl object for scripted administration