Sun GlassFish Enterprise Server v2.1.1 Administration Reference

O

orb

Configures the ORB.

To enable SSL for outbound connections, include an ssl-client-config subelement in the parent iiop-service element.

Superelements

iiop-service

Subelements

The following table describes subelements for the orb element.

Table 1–140 orb Subelements

Element 

Required 

Description 

property

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the orb element.

Table 1–141 orb Attributes

Attribute 

Default 

Description 

use-thread-pool-ids

none 

Specifies a comma-separated list of thread-pool-id values defined in thread-pool elements used by the ORB.

message-fragment-size

1024

(optional) GIOPv1.2 messages larger than this number of bytes are fragmented. 

max-connections

1024

(optional) The maximum number of incoming connections on all IIOP listeners. Legal values are integers. 

overload-protection-service

Configures the overload protection service for HTTP requests.

Superelements

config

Subelements

none

Attributes

The following table describes attributes for the overload-protection-service element.

Table 1–142 overload-protection-service Attributes

Attribute 

Default 

Description 

enabled

false

If true, the overload protection manager is enabled and operates according to cpu-overload-protection, memory-overload-protection, and other overload-protection-service attributes. Overload regulation protects the HTTP container from too high CPU or memory usage.

cpu-overload-protection

false

If true, CPU overload protection is enabled. Applicable only if enabled is set to true.

memory-overload-protection

false

If true, memory overload protection is enabled. Applicable only if enabled is set to true.

cpu-http-threshold

70

Specifies the CPU usage threshold level for HTTP requests. Allowed values are 0 to 100. Any SIP requests received when the system is operating beyond this threshold are responded to with a 503 error. Applicable only if cpu-overload-protection is set to true.

mem-http-threshold

85

Specifies the memory usage threshold level for HTTP requests. Allowed values are 0 to 100. Any SIP requests received when the system is operating beyond this threshold are responded to with a 503 error. Applicable only if memory-overload-protection is set to true.

cpu-mm-threshold

99

Specifies the CPU usage threshold level when all messages are dropped. Allowed values are 0 to 100. Applicable only if cpu-overload-protection is set to true.

mem-mm-threshold

99

Specifies the memory usage threshold level when all messages are dropped. Allowed values are 0 to 100. Applicable only if memory-overload-protection is set to true.

sample-rate

2

Specifies the sample rate in seconds for updating threshold levels. Allowed values are 1 to 120 seconds.

number-of-samples

5

Specifies the number of consecutive samples needed before a threshold is raised. Allowed values are 2 to 20.

retry-after-interval

10

Specifies the interval in seconds between response retries. This is part of the retry-after header in a 503 response.

cpu-overload-activation-algorithm

MEDIAN

Specifies the activation algorithm for CPU overload protection. Allowed values are MEDIAN and CONSECUTIVE.

cpu-overload-deactivation-algorithm

CONSECUTIVE

Specifies the deactivation algorithm for CPU overload protection. Allowed values are MEDIAN and CONSECUTIVE.

mem-overload-activation-algorithm

MEDIAN

Specifies the activation algorithm for memory overload protection. Allowed values are MEDIAN and CONSECUTIVE.

mem-overload-deactivation-algorithm

CONSECUTIVE

Specifies the deactivation algorithm for memory overload protection. Allowed values are MEDIAN and CONSECUTIVE.

mm-threshold-http-wait-time

2

Specifies the time in seconds for which a thread is held before being released back to the thread pool. Used in the context of maximum overload for HTTP requests.