Oracle GlassFish Server 3.0.1 Quick Start Guide

Starting and Stopping the Default Domain

When you install GlassFish 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 Oracle GlassFish Server 3.0.1 Administration Guide.

ProcedureTo Start the Default Domain

Before You Begin

GlassFish Server software must be installed before you start the domain.

  1. To start the default domain, use the start-domain command:

    as-install/bin/asadmin start-domain

    The command starts the default domain, domain1.

ProcedureTo Stop the Default Domain

  1. To stop the default domain, use the asadmin stop-domain command:

    as-install/bin/asadmin stop-domain

    The command stops the default domain, domain1.

    Tip –

    To determine whether a domain is running, use the asadmin list-domains command: as-install/bin/asadmin list-domains