Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

- Previous: Restarting the Server or Domain
- Next: Recreating the Domain Administration Server

## Stopping the Domain

Stopping a domain shuts down its administration server and application server instance. When stopping a domain, the server instance stops accepting new connections and then waits for all outstanding connections to complete. This process takes a few seconds because the server instance must complete its shutdown process. While the domain is stopped, the Admin Console or most `asadmin` commands cannot be used.

To stop a domain, type the `asadmin stop-domain` command and specify the domain name. For example, to stop the default domain (`domain1`), type the following:

    $ asadmin stop-domain domain1

If there is only one domain, then the domain name is optional. For the full syntax, type `asadmin help stop-domain`.

### To stop the domain using the Admin Console:

- In the tree component, select server (Admin Server) under the Standalone Instances node.

- On the General Information page, click Stop Server.

### On Windows, to stop the default domain:

From the Start menu select Programs -> Sun Microsystems -> Application Server-> Stop Admin Server.

- Previous: Restarting the Server or Domain
- Next: Recreating the Domain Administration Server

- © 2010, Oracle Corporation and/or its affiliates