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 Commandsdelete-domain(1)


NAME

 delete-domain - deletes the given domain

SYNOPSIS

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

DESCRIPTION

 

delete-domain deletes the specified domain. The domain must already exist and must be stopped. This command is supported in local mode only.


OPTIONS

 
--domaindir
directory where the domain is to be deleted. If specified, path must be accessible in the filesystem. If not specified, the domain in the default install_dir/domains directory is deleted.
--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 delete-domain
 
 
asadmin> delete-domain sampleDomain
deleted domain sampleDomain successfully

Where: the sampleDomain domain is deleted.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

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



J2EE 1.4 SDKGo To TopLast Changed March 2004