Sun GlassFish Communications Server 1.5 Administration Reference

keep-alive

Configures keep-alive threads.

Superelements

http-service, sip-service

Subelements

none

Attributes

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

Table 1–109 keep-alive Attributes

Attribute 

Default 

Description 

thread-count

1

(optional) Specifies the number of keep-alive threads. The value must be 1 or greater. Not implemented if the parent element is sip-service.

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. Not implemented if the parent element is sip-service.

timeout-in-seconds

60 (http-service)

0 (sip-service)

(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.