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

## start-appserv(1)

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

#### NAME

start-appserv– starts the domains in the default domains directory

#### SYNOPSIS

`start-appserv` [––domaindir install_dir/domains] [––terse=false] [––echo=false]

#### DESCRIPTION

Use the `start-appserv` command to start the domains in the default `install_dir/domains` directory.

The `start-appserv` command requires that the user has set up an AS_ADMIN_USER environment and that all domains have the same admin user. The user will be prompted for the admin password for each domain (unless there is an AS_ADMIN_PASSWORD variable). The user will be prompted for the master password for each domain (unless `––password` was specified at domain creation time.

This command is supported in local mode only.

#### OPTIONS

`––domaindir`

  The directory where the domains are to be started. If specified, the path must be to 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.

#### EXAMPLES

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

    asadmin> start-appserv
    Starting Domain sampleDomain, please wait
    Domain sampleDomain started
    Command start-appserv executed successfully

Where: the `sampleDomain` domain in the default domains directory is started.

#### 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), stop-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