Sun GlassFish Enterprise Server 2.1 Administration Reference

Attributes

The following table describes attributes for the keep-alive element.

Table 1–100 keep-alive Attributes

Attribute 

Default 

Description 

thread-count

1

(optional) Specifies the number of keep-alive threads. The value must be 1 or greater. 

max-connections

256

(optional) Specifies the maximum number of keep-alive connections. A value of 0 means requests are always rejected. A value of -1 sets no limit to the number of keep-alive connections.

timeout-in-seconds

60

(optional) Specifies the maximum time for which a keep alive connection is kept open. A value of 0 or less means keep alive connections are kept open indefinitely.