Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.6.24 start-webserver

The start-webserver subcommand starts a web server.

Synopsis

asadmin [asadmin_options] start-webserver webserver_name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The start-webserver subcommand starts the specified web server.

This subcommand is supported only in the remote mode.

When this subcommand is used, there is a timeout period for starting web server. If a timeout occurs while requesting to the Domain Administration Server, the start processing continues. If a timeout occurs while starting web server or reading the asadmin command, this subcommand fails to run. However, the start processing of web server continues. You can verify whether web server has been started successfully, by viewing list-webservers subcommand or web server status in the Administration Console.

Execution permission

General user

Precondition

The web server has been created.

Arguments

webserver_name

Specifies the name of the web server to be started.

Type: String

You can specify the following values:

  • Name of a web server that exists in the domain

Default value: (None. You must specify a value.)

Examples

The following example starts the web server Web1:

asadmin start-webserver Web1

Exit Status

Exit Status

Explanation

0

Normal termination.

1

Abnormal termination.