Use the stop-domain command to stop a domain. If the domain directory is not specified, the domain in the default install_dir/domains directory is stopped. If there is more that one domain, the domain_name operand must be identified.
The directory where the domain is to be started. If specified, the path must be accessible in the filesystem. If not specified, the domain in the default install_dir/domains directory is started.
The authorized domain application server administrative username.
This option replaces the –– password option. Using the ––password option on the command line or through the environment is deprecated. The ––passwordfile option specifies the name of a file containing the password entries in a specified format. The entry for the password must have the AS_ADMIN prefix followed by the password name in capital letters. For example, to specify the domain application server password, use an entry with the following format: AS_ADMIN_PASSWORD=password, where password is the actual administrator password. Other passwords that can be specified include MAPPEDPASSWORD, USERPASSWORD, SAVEDMASTERPASSWORD, MQPASSWORD, and ALIASPASSWORD.
Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.
Setting to true will echo the command line statement on to the standard output. Default is false.
If set to true (default), only the required password options are prompted.
By default this flag is set to false. If set to true, detailed server startup output is displayed. On UNIX, press CTRL-C to kill the server. On Windows, press Ctrl-Break to kill the server. Press CTRL-\\ to print a thread dump.
By default this flag is set to false. If set to true, the server is started in debug mode and prints the JPDA port on the console.
asadmin> stop-domain --domaindir /export/domains sampleDomain Where: the sampleDomain domain in the /export/domains directory is stopped.