stop-domains

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

Synopsis

asadmin stop-domains [--help]
[--domainTimeout timeout]
[--timeout timeout]
[domain-name]

Description

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

Options

--timeout

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

The default value is 600.

--domainTimeout

Specifies how long to take each domain to stop in seconds. If stopping the domain takes longer than this amount then this command will fail.

The default value is 600.

Operands

domain-names

The names of the domains you want to stop.

Examples

Example 1 Stopping Domains

This example stops the domains named domain1 and testy in the default domains directory.

asadmin stop-domains domain1,testy

Stopping domain domain1
Stopped domain

Stopping domain testy
Stopped domain

Command stop-domains executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also