Example: Migrating - Removing an application server

Removing an application server involves a configuration command:

  • wscp V4.0

    ApplicationServer remove /Node:mynode/ApplicationServer:myserv/
    

  • wsadmin V6.x

    Jacl

    set serv [$AdminConfig getid /Node:mynode/Server:myserv/]
    $AdminConfig remove $serv
    $AdminConfig save
    

    Jython

    serv = AdminConfig.getid('/Node:mynode/Server:myserv/')
    AdminConfig.remove(serv)
    AdminConfig.save()