Use the restart-domain subcommand in remote mode to restart the Domain Administration Server (DAS) of the specified host. When restarting a domain, the DAS stops accepting new connections and then waits for all outstanding connections to complete. This shutdown process takes a few seconds. Until the domain has restarted, the Administration Console and most of the asadmin subcommands cannot be used.
This subcommand is particularly useful for environments where the server machine is secured and difficult to get to. With the right credentials, you can restart the server from a remote location as well as from the same machine.
Ensure that the server is running.
Remote subcommands require a running server.
Restart the domain by using the restart-domain(1) subcommand.
This example restarts mydoimain4 in the default directory.
asadmin> restart-domain mydomain4 Waiting for the domain to restart ........... Command restart-domain executed successfully.
This example invokes the restart-domain subcommand in a browser.
You can also view the full syntax and options of the subcommand by typing asadmin help restart-domain at the command line.