When you install Enterprise Server, a default domain named domain1 is created. The following procedures describe how to start and stop domain1 when it is the only domain. For information about starting and stopping a domain when there are multiple domains, see Chapter 3, Administering Domains, in Sun GlassFish Enterprise Server v3 Administration Guide.
Enterprise Server software must be installed before you start the domain.
To start the default domain, use the start-domain command:
as-install/bin/asadmin start-domain |
The command starts the default domain, domain1.
To stop the default domain, use the asadmin stop-domain command:
as-install/bin/asadmin stop-domain |
The command stops the default domain, domain1.
To determine whether a domain is running, use the asadmin list-domains command: as-install/bin/asadmin list-domains