Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsstart-appserv(1)


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 startappserv 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.4Go To TopLast Changed 22 Dec 2004