Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Reference Manual

## delete-domain(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | SEE ALSO

#### NAME

delete-domain– deletes the given domain

#### SYNOPSIS

`delete-domain` [––domaindir install_dir/domains] [––terse=false] [––echo=false] [––interactive=true] domain_name

#### DESCRIPTION

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.

#### OPTIONS

`––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.

#### OPERANDS

domain_name

  The unique name of the domain you wish to delete.

#### EXAMPLES

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

#### 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 SDK 1.4 Last Revised 31 Jan 2005

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | SEE ALSO

- © 2010, Oracle Corporation and/or its affiliates