Servlet context initialization parameters

The following list of servlet context initialization parameters can be specified in the properties file as required in the script or ANT-based splicing methods.

Parameters

persistenceMechanism
Specifies a string value that defines how the session is stored in eXtreme Scale. Indicate one of the following values:
  • ObjectGridStore: Each session attribute is stored as a different entry in the eXtreme Scale table.
  • ObjectGridAtomicSessionStore: The entire session is stored as a single entry in the eXtreme Scale table.
objectGridType
Specifies a string value that defines how the session is stored in eXtreme Scale. Indicate one of the following values:
  • EMBEDDED: System will start embedded XS container automatically.
  • REMOTE: You need to start XS containers in remote process.
objectGridName
Specifies a string value that defines the name of the ObjectGrid that will contain the session data for this Web application. This should match the ObjectGrid name in the XML files provided with eXtreme Scale. The default is "session".
catalogHostPort
Specifies the catalog server connection information; the value needs to be of the form host:port<,host:port>. This list can be arbitrarily long and the first viable address is used. This property should only be used for the remote, network-attached eXtreme Scale scenario.
defaultSessionTimeout
An integer value that defines the amount of time in minutes that a session can be inactive (for example, not accessed from a servlet) before the session is invalidated and removed from the system. The default is 30 minutes.
replicationInterval
Specifies an integer value of seconds, with 2 seconds as the default.
sessionTableSize
Specifies an integer value of session local cache size, with 2000 as the default.
sessionIDLength
An integer value that defines the length of the String identifiers that are created for HTTP sessions. The default is 23.
objectGridXML
Specifies a string value of objectGrid.xml file path, with null as the default. When it is not specified, we will use the default xml files packaged in our product.
objectGridDeploymentXML
Specifies a string value of objectGridDeployment.xml file path, with null as the default. When it is not specified, we will use the default xml files packaged in our product.
traceSpec
Specifies a string value of trace specification, with null as the default. Example: session=all=enabled. This is used in all kinds of application servers except inside WebSphere Application Server.
traceFile
Specifies a string value of either true or false, with false as the default. The true setting informs the filter that cookies are not being used, and the URL request provides the session id and eXtreme Scale SessionHandle. The URI can be retrieved by calling HttpServletResponse.encodeURL(String uri).
useURLEncoding
Specifies a string value of either true or false, with false as the default. The true setting informs the filter that cookies are not being used, and the URL request provides the session id and eXtreme Scale SessionHandle. The URI can be retrieved by calling HttpServletResponse.encodeURL(String uri).