Example: Migrating - Stopping an application server

The WAS V4.0 wscp tool requires that you know the hierarchical name of the application server in question (the node name and the server name). The same information is required in V6.x.

Tip: You are stopping a server object, not an application server. 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 V6.x

    Jacl

    $AdminControl stopServer servername [nodename immediateFlag]
    

    Jython

    AdminControl.stopServer('servername', [nodename  immediateFlag])
    
    For a Network Deployment installation:

    Jacl

    $AdminControl stopServer servername nodename [immediateFlag]
    

    Jython

    AdminControl.stopServer('servername', 'nodeName', [immediateFlag])
    


 

See Also


Commands for the AdminControl object