Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Start a Domain (or Server)

When you start a domain, the domain administration server (DAS) is started. After startup, the DAS runs constantly, listening for and accepting requests.

If the domain directory is not specified, the domain in the default as-install/domains directory is started. If there are two or more domains, the domain_name operand must be specified. Each domain must be started separately.


Note –

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


This command is supported in local mode only.

  1. Start a domain by using the start-domain(1) command.


Example 2–4 Starting a Domain

The following example command starts domain1:


asadmin start-domain domain1

Information similar to the following is displayed:


Name of the domain started: [domain1] and its location: 
[C:\prelude\v3_prelude_release\distributions\web\target\glassfish
domains\domain1].
Admin port for the domain: [4848].

See Also

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