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
- affinityManager
- Specifies the fully qualified package and Java™ class name of a servlet filter plugin to facilitate HTTP session routing affinity. This value is ignored for WebSphere® Application
Server because affinity support is built in. Indicate one of the following values:
- No affinity (default): com.ibm.ws.httpsession.NoAffinityManager
- Vendor affinity mechanism: com.ibm.ws.httpsession.AssumeAffinityManager
- Construct a new affinity manager: Use the com.ibm.wsspi.session.ISessionAffinityManager interface
- 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.
- objectGridName
- Specifies a string value that defines the name of the table that is used for a particular Web application. The default name comes from the Web application name as derived from the ServletContext value. Setting this parameter overrides that value.
- 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 is only needed for the remote, network attached eXtreme Scale scenario.
- replicationType
- A string value that defines the how updates to sessions are written to eXtreme Scale. The valid values are asynchronous and synchronous. The default is asynchronous., which is only applicable if affinity is used. Otherwise, only synchronous is supported.
- replicationInterval
- An integer value that defines the time in seconds between writing of updated sessions to eXtreme Scale when the replicationType parameter value is asynchronous. The default value is 10 seconds.
- sessionTableSize
- An integer value that defines the number of sessions that are kept in memory with the servlet filter in addition to being stored in eXtreme Scale. The default is 1000.
- 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.
- sessionIDLength
- An integer value that defines the length of the String identifiers that are created for HTTP sessions. The default is 23.
- shareSessionsAcrossWebApps
- Specifies a string value of either true or false. The default is false. Per the servlet specification, HTTP sessions cannot be shared across Web applications. An extension to the servlet specification is provided to allow this sharing.
- cookieName
- Specifies a string value that defines the name of the cookie for this Web application. The default is JSESSIONID. If you want to use a unique cookie name, add this property to the splicer.properties file.