Oracle GlassFish Server 3.0.1 Domain File Format Reference

Attributes

The following table describes attributes for the transport element.

Table 1–173 transport Attributes

Attribute 

Default 

Description 

name

none 

Specifies a unique name for the transport. 

classname

com.sun.grizzly.TCPSelectorHandler

(Optional) Specifies the class name of the transport implementation. 

selection-key-handler

none 

(optional) Specifies the name of the selection-key-handler associated with this transport.

idle-key-timeout-seconds

30

(Optional) Specifies the idle key timeout. 

read-timeout-millis

30000 (30 seconds)

(optional) Specifies the amount of time the GlassFish Server waits during the header and body parsing phase. 

write-timeout-millis

30000 (30 seconds)

(optional) Specifies the amount of time the GlassFish Server waits before considering the remote client disconnected when writing the response. 

selector-poll-timeout-millis

1000 (1 second)

(optional) Specifies the time a NIO Selector blocks waiting for events (user requests). 

display-configuration

false

(optional) If true, flushes the internal network configuration to the server log. Useful for debugging, but reduces performance.

snoop-enabled

false

(optional) If true, writes request/response information to the server log. Useful for debugging, but reduces performance.

tcp-no-delay

false

(optional) If true, enables TCP_NODELAY (also called Nagle's algorithm).

max-connections-count

4096

(optional) Specifies the maximum number of pending connections on a network-listener that references this transport.

acceptor-threads

1

(optional) Specifies the number of processors in the machine. 

To set the number of request processing threads, use the max-thread-pool-size attribute of the thread-poolelement.

byte-buffer-type

HEAP

(optional) Specifies the type of the buffer to be provided for input streams created by a network-listener. Allowed values are HEAP and DIRECT.

buffer-size-bytes

8192

(optional) Specifies the size, in bytes, of the buffer to be provided for input streams created by a network-listener.