Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Stop a Domain (or Server)

Stopping a domain shuts down its domain administration server (DAS). When stopping a domain, the DAS stops accepting new connections and then waits for all outstanding connections to complete. This shutdown process takes a few seconds. While the domain is stopped, the Administration Console and most of the asadmin commands cannot be used.


Note –

For Microsoft Windows, you can use an alternate method to stop a domain. From the Start menu, select Programs -> Sun Microsystems -> Enterprise Server -> Stop Admin Server.


  1. If necessary, notify users that you are going to stop the domain.

  2. Stop the domain by using the stop-domain(1) command.


Example 2–5 Stopping a Domain (or Server)

The following example command stops domain1:


asadmin stop-domain domain1

Information similar to the following is displayed:


Waiting for the domain to stop ...........
Command stop-domain executed successfully.

See Also

To see the full syntax and options of the command, type asadmin stop-domain --help at the command line.