Sun GlassFish Enterprise Server v3 Prelude Quick Start Guide

Starting and Stopping the Default Domain

By default, when you install Enterprise Server, a default domain named domain1 is created.

ProcedureTo Start the Default Domain

Before You Begin

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

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

    • Use the short form:


      as-install/bin/asadmin start-domain
      
    • Use the long form:


      java -jar as-install/glassfish/modules/admin-cli.jar start-domain
      

    Either command starts the default domain, domain1.

ProcedureTo Stop the Default Domain

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

    • Use the short form:


      as-install/bin/asadmin stop-domain
      
    • Use the long form:


      java -jar as-install/glassfish/modules/admin-cli.jar stop-domain
      

    Either command stops the default domain, domain1.