Sun GlassFish Enterprise Server v2.1.1 Release Notes

Enterprise Server does not detect conflicts with the heartbeat port of a cluster (Issue number 1967)

Description

When a cluster is created, Enterprise Server randomly assigns a heartbeat port between 1026 to 45556. For default-cluster, which is the default cluster created by a Enterprise Server installation, a random number selected between 0 to 45556. The cluster creation process does not accurately detect if the heartbeat port is already being used by another service.

Solution

If automated cluster creation configuration selects a heartbeat port that is in conflict with another service that is already using that port, update the cluster heartbeat port to a port that is not being used by the system.

To change the heartbeat port of a cluster, use the following asadmin command:

asadmin set cluster-name.heartbeat-port=newportnumber