Use the start-domain command to start a domain. If the domain directory is not specified, the domain in the default install_dir/domains directory is started. If there is more that one domain, the domain_name operand must be identified.
This command is supported in local mode only.
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.
The ––password option is deprecated. Use ––passwordfile instead.
The file containing the domain application server password associated with the administrative instance. The password is defined in the following form: AS_ADMIN_PASSWORD=password. Where password is the actual administrator password for the domain.
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. Press CTRL-C 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> start-domain --domaindir /export/domains --user admin --passwordfile pass sampleDomain Starting Domain sampleDomain, please wait. Domain sampleDomain started
Where: the sampleDomain domain in the /export/domains directory is started using admin password stored in pass file.