Issue Details (XML | Word | Printable)

Key: GLASSFISH-16887
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rebecca Parks
Reporter: Shing Wai Chan
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

[UB] Update doc for default behavior changes of shutdown server for memory persistence type web application

Created: 21/Jun/11 10:07 AM   Updated: 30/Jun/11 08:09 PM   Resolved: 30/Jun/11 08:09 PM
Component/s: docs
Affects Version/s: 3.1.1
Fix Version/s: 3.1.1

Time Tracking:
Not Specified

Issue Links:

Participants: Paul Davies, Rebecca Parks and Shing Wai Chan

 Description  « Hide

In ,
it has mentioned above the saving of HttpSession in "memory" persistence type web application during server shutdown and it is recommended to turn it off by setting the property sessionFilename to "".

Since the default behavior has been changed as in GLASSFISH-15745, there is no need to set the property now.
We may like to update other related doc if necessary.

Paul Davies added a comment - 21/Jun/11 03:04 PM

[UB] - Affects unbundled documentation.

Reassigned to Rebecca Parks, who owns the affected documentation (Application Deployment Guide).

Rebecca Parks added a comment - 30/Jun/11 08:09 PM

In the Application Deployment Guide, changed the manager-properties property sessionFilename default to "empty string" and the description as follows:

Specifies the absolute or relative path to the directory in which the session state is preserved between application restarts, if preserving the state is possible. A relative path is relative to the temporary directory for this web module, one of the following:



By default, this property's value is set to an empty string, which disables this property and does not preserve the session state.

Applicable only if the persistence-type attribute of the parent session-manager element
is memory.

In the Application Development Guide chapter on web applications, there is a paragraph about the sessionFilename property. This paragraph already explains that an empty string disables the property. Added the following sentence: "The default value is an empty string."