Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsstop-domain(1)


NAME

 stop-domain - stops the given domain

SYNOPSIS

 stop-domain [ --domaindir install_dir/domains ][ --terse=false ] [ --echo=false ] [ domain_name ]

DESCRIPTION

 

stop-domain stops the specified domain. If there is only one domain in the default domain directory (install_dir/domains), then no operand is required to stop the domain. However, if there is more than one domain, the domain operand must be specified. This command is supported in local mode only.


OPTIONS

 
--domaindir
directory where the domain is to be stopped. If specified, path must be accessible in the filesystem. If not specified, the domainis stopped in the default install_dir/domains directory.
--terse
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.
--echo
setting to true will echo the command line statement on the standard output. Default is false.

OPERANDS

 
domain_name
name of the domain. Must be a unique name.

EXAMPLES

 Example 1. Using stop-domain
 
 
asadmin> stop-domain sampleDomain
Stoping Domain sampleDomain, please wait
Domain sampleDomain stopped
Command stop-domain executed successfully

Where: the sampleDomain domain in the default domains directory is stopped.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

create-domain(1), delete-domain(1), start-domain(1), list-domains(1)



J2EE 1.4 SDKGo To TopLast Changed March 2004