Coherence*Web provides a wide variety of configuration options as described in Table A-1. The process for configuring Coherence*Web is slightly different between the WebLogic SPI-based installation case and the generic WebInstaller installation case.
Table A-1 Configuration Parameters for Coherence*Web
Parameter Name | Description |
---|---|
The fully-qualified class name of the Defaults to |
|
The fully-qualified class name of the
A value for this parameter must be specified. |
|
If If Note: When using the WebInstaller, a value of If unspecified, this parameter defaults to |
|
Either If unspecified, defaults to |
|
The name of the Coherence cache that will be used to hold the servlet context data if the servlet context is clustered. If unspecified, defaults to |
|
The comma-delimited list of names of application classes that want to receive events from the Web container. This list comes from the application listeners declared in the |
|
When set to If unspecified, defaults to |
|
The number of milliseconds that a server will hold a lock on a session while accessing that session without the session being implied by the current request context. A session is implied by the current request context if and only if the current thread is processing a Servlet request, and the request is associated with that session. All other access to a session object is "out of context". For example, if a reference to an arbitrary session is obtained from a If unspecified, defaults to |
|
If unspecified, defaults to |
|
The name of the session cookie. If unspecified, defaults to |
|
The domain of the session cookie as defined by RFC 2109. By default, no domain is set explicitly by the session management implementation. |
|
The path of the session cookie as defined by RFC 2109. By default, no path is set explicitly by the session management implementation. |
|
The maximum age in seconds of the session cookie as defined by RFC 2109. A value of -1 indicates that the cookie will not be persistent on the client; a positive value gives the maximum age that the cookie will be persisted by the client. Zero is not permitted. If unspecified, defaults to -1. |
|
When set to true, enables URL encoding of session ids. If unspecified, defaults to |
|
The parameter name to encode the session id into the URL with. On some containers, this value cannot be overridden. If unspecified, defaults to |
|
When set to If unspecified, defaults to |
|
When set to If unspecified, defaults to |
|
When set to If unspecified, defaults to |
|
The number of times that the reaper reaps the sessions that are being used locally before it will check sessions that may be orphaned or expired elsewhere in the cluster. This setting is only used when coordinate reaping is disabled. Setting it to 1, for example, will cause the daemon to check this server's fair share of the session ids in the cluster every time that it wakes up to check for expired sessions (for example every 60 seconds). Setting it to 10 will cause those sessions to be checked every 600 seconds instead, but the sessions that are being used on this server will still be checked every 60 seconds. If unspecified, defaults to |
|
This setting allows the reaper to assume that the sessions that are stored on this node (for example, by a distributed cache service) are the only sessions that this node must check for expiry. This value must be set to If unspecified, defaults to |
|
The number of seconds that the daemon rests between reaping. For production clusters with long session timeouts, this can safely be set higher. For testing, particularly with short session timeouts, it can be set much lower. Setting it too low can cause more network traffic and use more processing cycles, and only has benefit if the application requires the sessions to be invalidated quickly when they have expired. If unspecified, defaults to |
|
The priority for the session reaper daemon. For more information, see the source for the If unspecified, defaults to |
|
This name overrides the name of the clustered cache that stores the sessions. If unspecified, defaults to |
|
This name overrides the name of the clustered cache that stores the IDs of "recently departed" sessions. If unspecified, defaults to |
|
This name overrides the name of the clustered cache that stores the management and configuration information for the session management implementation. Generally, it should be configured as a replicated cache. If unspecified, defaults to |
|
This value overrides the session expiry time, and is expressed in seconds. Setting it to -1 will cause sessions to never expire. If unspecified, defaults to |
|
This is the length, in characters, of generated session IDs. The suggested absolute minimum length is 8. If unspecified, defaults to |
|
This value determines how long the session management implementation waits before shutting down after receiving the last indication that the application has been stopped, either from If unspecified, defaults to 0, because some servers are not capable of asynchronous shut-down. |
|
This value, if set to If unspecified, defaults to |
|
This value, if set to If unspecified, defaults to |
|
This value, if set to If unspecified, defaults to |
|
This value, if set to If unspecified, defaults to |
|
This value specifies a class name of the Legal values include: |
|
This value specifies a class name of the optional See "Session Attribute Scoping" for more information. Legal values include: |
|
This value, if set to If unspecified, defaults to |
|
This name overrides the name of the local cache that stores non-distributed sessions when If unspecified, defaults to |
|
This name overrides the name of the local cache that stores non-distributed sessions when either If unspecified, defaults to |
|
For the split model, this value overrides the name of the clustered cache that stores the "large attributes" that exceed a certain size and thus are determined to be more efficiently managed as separate cache entries and not as part of the serialized session object itself. If unspecified, defaults to |
|
For the split model, this value specifies the minimum length (in bytes) that the serialized form of an attribute value must be for that attribute value to be stored in the separate "overflow" cache that is reserved for large attributes. If unspecified, defaults to |
Notes:
This parameter does not control Coherence Web behavior when used with the WebLogic SPI implementation. If you are configuring Coherence Web using the WebLogic SPI implementation, see "Configuring Web Applications for Coherence*Web" for more details on how to configure this attribute.