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 a domain

SYNOPSIS

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

DESCRIPTION

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.

This command is supported in local mode only.

OPTIONS

--domaindir

The directory where the domain is to be stopped. If specified, the path must be accessible in the filesystem. If not specified, the domain in the default install_dir/domains directory is stopped.

-t --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.

-e --echo

Setting to true will echo the command line statement on to the standard output. Default is false.

OPERANDS

domain_name

The unique name of the domain you wish to stop.

EXAMPLES

Example 1. Using the stop-domain command
asadmin> stop-domain --domaindir /export/domains sampleDomain
Stopping Domain sampleDomain, please wait
Domain sampleDomain stopped
Command stop-domain executed successfully

Where: the sampleDomain domain in the /export/domains directory is stopped.

EXIT STATUS

0

command executed successfully

1

error in executing the command

ERROR CODES

0

error message

1

error message

SEE ALSO

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


J2EE SDK 1.4Go To TopLast Changed 22 Dec 2004