start-domains

Starts the Domain Administration Server(DAS) of the specified domains.

Synopsis

asadmin start-domains [--help]
[--timeout timeout]
[domain-name]

Description

The start-domains subcommand can be used to start the specified list of domains in the operand. This list must be specified as a comma separated string of values.

The domains will be started assuming default values for all options you would specify when running the start-domain command against one domain (default domain directory, debug mode off, verbose mode off, etc.)

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--timeout

Specifies how long to take for the domains to start in seconds. If starting the domains takes longer than this amount then this command will fail.

The default value is 600.

Operands

domain-names

The list of unique names of the domains you want to start.

Examples

Example 1 Starting multiple Domains

This example starts domain1 and testy in the default domains directory.

asadmin> start-domains domain1,testy
Waiting for domain1 to start ..............................
Successfully started the domain : domain1
domain  Location: /myhome/payara6/glassfish/domains/domain1
Log File: /myhome/payara6/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Started domain domain1
Waiting for testy to start ...............................
Successfully started the domain : testy
domain  Location: /myhome/payara6/glassfish/domains/testy
Log File: /myhome/payara6/glassfish/domains/domain1/logs/server.log
Admin Port: 6048
Started domain testy
Command start-domains executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also