Sun Java System Web Server 7.0 Update 2 CLI Reference Manual
只搜尋這本書
以 PDF 格式下載這本書 (2046 KB)

set-http-listener-prop(1)

NAME | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also

NAME

    set-http-listener-prop – edits the HTTP listener properties

Synopsis

    set-http-listener-prop <connect_options> [--echo|-e] 
    [--no-prompt|-Q] [--verbose|-v] --config|-c name 
    --http-listener|-l name  (propertyname=value)+
    

Description

    Use this command to edit the HTTP listener properties. The properties that you can set are as follows:

    • enabled - Indicates whether the listener is enabled at runtime.

    • name - The name that uniquely identifies the HTTP listener.

    • ip - The IP address on which to listen.

    • port - The port on which to listen.

    • acceptor-threads - The number of threads dedicated to accept connections received by this listener. The range of values is 1–128. The default value is default.

    • server-name - The name of the default server. Can include a scheme (for example, http://) as prefix and port (for example, 80) as suffix.

    • blocking-io - Indicates whether the server uses blocking IO. The default value is false.

    • family - The name of the protocol family.

    • listen-queue-size - The maximum size of the operating system listen queue. The range of values is 1 - 65536.

    • receive-buffer-size - The size (in bytes) of the operating system socket receive buffer. The range of values is 1 - 1048576.

    • send-buffer-size - The size (in bytes) of the operating system socket send buffer. The range of values is 1 - 1048576.

    • default-virtual-server-name - The name of the virtual server that processes requests which did not match a host.

    • description - The description of the HTTP listener.

    • handle-protocol-mismatch - Indicates whether the server responds to SSL or non-SSL protocol mismatches in client requests. The default is true, meaning the server will attempt to detect SSL or non-SSL protocol mismatches and send an HTTP redirect or SSL alert when a mismatch is detected.

Options

    For connect_options description, see help(1).

    --echo|-e

    Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.

    --no-prompt|-Q

    If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.

    --verbose|-v

    Specify this option to display a verbose output.

    --config|-c

    Specify the name of the configuration on which the HTTP listener socket exists.

    --http-listener|-l

    Specify the name of the HTTP listener.

Operands

    propertyname=value

    Specify the name and value of the property that you want to edit.

Examples


    wadm set-http-listener-prop --user=admin --host=serverhost
    --password-file=../admin.passwd --port=8989 --ssl=true --no-prompt 
    --rcfile=null --config=config1 --http-listener=ls1 family=default
    send-buffer-size=5000 receive-buffer-size=5000 blocking-io=false
    enabled=true acceptor-threads=10 listen-queue-size=512 
    

Exit Status

    The following exit values are returned:

    0

    command executed successfully

    >0

    error in executing the command

See Also

SJS Web Server Last Revised March 2007

NAME | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also