To Set Up High Availability Session Persistence

Before You Begin

High availability session persistence is incompatible with dynamic deployment,
dynamic reloading, and autodeployment. These features are for development,
not production environments, so you must disable them before enabling HA session
persistence. For information about how to disable these features, see Sun GlassFish Enterprise Server v2.1.1 Application Deployment Guide.

If the instance is currently serving requests, quiesce the instance before
restarting it so that the instance gets enough time to serve the requests
it is handling. For more information, see Disabling (Quiescing) a Server Instance
or Cluster