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 specified domains directory

SYNOPSIS

 start-appserv [--domaindir install_dir/domains] [--terse=false] [--echo=false] [--interactive=true]

DESCRIPTION

This command is deprecated use the start-domain command instead. Use the start-appserv command to start the domains in specified domain directory. If the domain directory is not specified the domains in the default install_dir/domains directory are started. The start-appserv command requires that the user has set up an AS_ADMIN_USER environment variable and that all domains have the same administration user. You are prompted for the master password for each domain (unless the --savemasterpassword option was specified at the domain creation time.

The start-appserv command functions correctly if every domain is created with --savemasterpassword. Remember that the user and password do not need to be passed to start-appserv in the Platform Edition. If --savemasterpassword is not specified, then you are prompted for the master password for every domain.

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 accessible in the filesystem. If not specified, the domain in the default install_dir/domains directory is started.

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