
Administration Commands                          delete-domain(1)

NAME
     delete-domain - deletes the given domain

SYNOPSIS
     delete-domain  [--domaindir install_dir/domains]
     [--terse=false] [--echo=false]
     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   sen-
                                 tences    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 delete.

EXAMPLES
     Example 1 Using the delete-domain command

       asadmin> delete-domain --domaindir /export/domains sampleDomain
       Domain sampleDomain deleted

Java EE 5           Last change: 30 Jan 2007                    1

Administration Commands                          delete-domain(1)

     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)

Java EE 5           Last change: 30 Jan 2007                    2

