|
|
|
NAME
delete-domain - deletes the given domain
SYNOPSIS
delete-domain [--domaindir install_dir/domains] [--terse=false] [--echo=false] [--interactive=true] domain_name
Use the delete-domain command to delete the named
domain. The domain must already exist and must be stopped.
This command is supported in local mode only.
- --domaindir
-
The directory where the domain to be deleted is located. If
specified, the path must be accessible in the filesystem. If not specified,
the domain in the default install_dir/domains directory is deleted.
- -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.
- -I --interactive
-
If set to true (default), only the required
options are prompted.
-
domain_name
-
The unique name of the domain you wish to delete.
Example 1. Using the delete-domain command
asadmin> delete-domain --domaindir /export/domains sampleDomain
deleted domain sampleDomain successfully
Where: the sampleDomain domain is deleted from
the /export/domains directory.
- 0
-
command executed successfully
- 1
-
error in executing the command
create-domain(1), start-domain(1), stop-domain(1), list-domains(1)
J2EE SDK 1.4 | Go To Top | Last Changed 22 Dec 2004 |
Company Info
|
Contact
|
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|