Restart-Domains
Restarts the Domain Administration Server(DAS) of the specified domains.
Synopsis
asadmin [asadmin-options] restart-domains [--help]
[--domainTimeout timeout]
[--timeout timeout]
[domain-name]
Description
The restart-domains subcommand can be used to restart the specified list of domains in the operand. This list must be specified as a comma separated string of values.
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 restart in seconds. If restarting the domains takes longer than this amount then this command will fail.
+
The default value is 600.
--domainTimeout:
Specifies how long to take for each domain to restart in seconds. If restarting the domain takes longer than this amount then this command will fail.
+
The default value is 600.
Examples
Example 1 Restarting Domains
This example restarts domain1 and testy in the default domains directory.
asadmin restart-domains domain1,testy
Successfully restarted the domain
Restarted domain domain1
Successfully restarted the domain
Restarted domain testy
Command restart-domains executed successfully.
Exit Status
0: subcommand executed successfully 1: error in executing the subcommand
See Also
-
Java Platform Debugger Architecture (JPDA) (`https://docs.oracle.com/javase/8/docs/technotes/guides/jpda/index.html/)