Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- adds a new transport
create-transport [--help] [--acceptorthreads acceptor-threads] [--buffersizebytes buffer-size] [--bytebuffertype byte-buffer-type] [--classname class-name] [--displayconfiguration={false|true}] [--enablesnoop={false|true}] [--idlekeytimeoutseconds idle-key-timeout] [--maxconnectionscount max-connections] [--readtimeoutmillis read-timeout] [--writetimeoutmillis write-timeout] [--selectionkeyhandler selection-key-handler] [--selectorpolltimeoutmillis selector-poll-timeout] [--tcpnodelay={false|true}] [--target target] transport-name
The create-transport subcommand creates a transport for a network listener. This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
The number of acceptor threads for the transport. The recommended value is the number of processors in the machine. The default value is 1.
The size, in bytes, of the buffer to be provided for input streams created by the network listener that references this transport. The default value is 8192.
The type of the buffer to be provided for input streams created by a network-listener. Allowed values are HEAP and DIRECT. The default value is HEAP.
The fully qualified name of the Java class that implements the transport. The default is com.sun.grizzly.TCPSelectorHandler.
If true, flushes the internal network configuration to the server log. Useful for debugging, but reduces performance. The default is false.
If true, writes request/response information to the server log. Useful for debugging, but reduces performance. The default is false.
The idle key timeout. The default is 30 seconds.
The maximum number of connections for the network listener that references this transport. A value of -1 specifies no limit. The default value is 4096.
The amount of time the server waits during the header and body parsing phase. The default is 30000 milliseconds, or 30 seconds.
The amount of time the server waits before considering the remote client disconnected when writing the response. The default is 30000 milliseconds, or 30 seconds.
The name of the selection key handler associated with this transport. There is no default.
The number of milliseconds a NIO Selector blocks waiting for events (user requests). The default value is 1000 milliseconds.
If true, the default, enables TCP_NODELAY (also called Nagle's algorithm). The default is false.
Creates the transport only on the specified target. Valid values are as follows:
Creates the transport on the default server instance. This is the default value.
Creates the transport in the specified configuration.
Creates the transport on all server instances in the specified cluster.
Creates the transport on the specified standalone server instance.
The name of the transport.
Example 1 Creating a Transport
The following command creates a transport named http1-trans that uses a non-default number of acceptor threads:
asadmin> create-transport --acceptorthreads 100 http1-trans Command create-transport executed successfully.
command executed successfully
error in executing the command
delete-transport(1), list-transports(1), create-network-listener(1)