Sun GlassFish Enterprise Server 2.1 Administration Reference

Properties

The following table describes properties for the availability-service element. For more information about replicated session persistence, see web-container-availability and ejb-container-availability.

Table 1–21 availability-service Properties

Attribute 

Default 

Description 

replication_measurement_enabled

false

If true, logs measurements of replication times.

One of these messages appears in the sending instance's log: 


messageSendSucceeded: id = session-id fastAckTime = 8  to partner: instance-name
messageSendFailed: id = session-id fastAckTime = 8  to partner: instance-name

This message appears in the receiving instance's log: 


messageReceiptSucceeded: bulkId = 1 receiptTime =  12 from partner: instance-name

replication_measurement_interval

1

Specifies the frequency of measurement of replication. It must be a positive integer: 1 means every replication, 2 means once every 2 replications, 3 means once every 3 replications, and so on. Applicable only if replication_measurement_enabled is set to true.