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.
For Microsoft Windows, you can use an alternate method to start a domain. From the Windows Start menu, select the command for your distribution of GlassFish Server:
If you are using the Full Platform, select Programs -> Oracle GlassFish Server -> Start Admin Server.
If you are using the Web Profile, select Programs -> Oracle GlassFish Server Web Profile -> Start Admin Server.
This subcommand is supported in local mode only.
Start a domain by using the start-domain(1) subcommand.
This example starts domain2 in the default domain directory.
asadmin> start-domain domain2
If there is only one domain, you can omit the domain name. If you do not include the password, you might be prompted to supply it.
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: .
You can also view the full syntax and options of the subcommand by typing asadmin help start-domain at the command line.