Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Create an HTTP Configuration

Use the create-http subcommand in remote mode to create a set of HTTP parameters for a protocol. This set of parameters configures one or more network listeners,

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. Create an HTTP configuration by using the create-http(1) subcommand.

    Information about options and properties for the subcommand are included in this help page.


Example 16–4 Creating an HTTP Configuration

This example creates an HTTP parameter set for the protocol named http-1.


asadmin> create-http --timeout-seconds 60 --default-virtual-server server http-1
Command create-http executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help create-http at the command line.