The Availability Service page opens.
The Web Container Availability page opens.
To disable availability, remove the check from the Availability Service Enabled box.
memory for no session persistence
file for session persistence based on the file system that is not highly available
web-method — The session state is stored at the end of each web request prior to sending a response back to the client. This mode provides the best guarantee that the session state is fully updated in case of failure. This is the default.
Persistence Frequency is only applicable if the Persistence Type is replicated.
session — The entire session state is stored every time. This mode provides the best guarantee that your session data is correctly stored for any distributable web application.
modified-session — The entire session state is stored if it has been modified. A session is considered to have been modified if HttpSession.setAttribute() or HttpSession.removeAttribute() was called. You must guarantee that setAttribute() is called every time an attribute is changed. This is not a Java EE specification requirement, but it is required for this mode to work properly.
modified-attribute — Only modified session attributes are stored. For this mode to work properly, you must follow these guidelines:
Call setAttribute() every time the session state is modified.
Make sure there are no cross-references between attributes. The object graph under each distinct attribute key is serialized and stored separately. If there are any object cross references between the objects under each separate key, they are not serialized and deserialized correctly.
Distribute the session state across multiple attributes, or at least between a read-only attribute and a modifiable attribute.
Persistence Scope is only applicable if the Persistence Type is replicated.
To make the single sign-on state unavailable for failover, remove the check from the Single-Sign-On State Enabled box.
The GlassFish Server does not define any additional properties for web container availability.
See Also
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices