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

## stop-appserv(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ERROR CODES | SEE ALSO

#### NAME

stop-appserv– stops the domains in the specified domains directory

#### SYNOPSIS

`stop-appserv` [––domaindir install_dir/domains] [––terse=false] [––echo=false] [––interactive=true]

#### DESCRIPTION

This command is deprecated use the `stop-domain` command instead. Use the `stop-appserv` command to stop the domains in specified domain directory. If the domain directory is not specified the domains in the default `install_dir/domains` directory are stopped.

This command is supported in local mode only.

#### OPTIONS

`––domaindir`

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

`–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 password options are prompted.

#### EXAMPLES

##### Example 1 Using the stop—appserv command

    asadmin> stop-appserv
    Stopping Domain sampleDomain, please wait
    Domain sampleDomain stopped
    Command stop-appserv executed successfully

Where: the `sampleDomain` domain in the default 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), stop-domain(1), list-domains(1), start-appserv(1)

J2EE SDK 1.4 Last Revised July 2005

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ERROR CODES | SEE ALSO

- © 2010, Oracle Corporation and/or its affiliates