diff --git a/README.md b/README.md index 7a47623..02c931c 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,10 @@ The following steps configure a sample P2P for Hazelcast Session Replication. Optionally, you can add a `configLocation` attribute into the `` element. If not provided, `hazelcast.xml` in the classpath is used by default. URL or full filesystem path as a `configLocation` value is supported. +***Classloader for Hazelcast Instance*** + +Hazelcast instance sets and uses context classloader (`WebAppClassLoader`) whilst the initialization. However, Hazelcast's classloader configuration cannot be changed dynamically after the instance startup. Thus, if the context's classloader changes during the application runtime, it won't be reflected to the Hazelcast instance. + ## Deploying Client-Server for Tomcat In this deployment type, Tomcat instances work as clients on an existing Hazelcast Cluster. @@ -165,7 +169,7 @@ An example client config that connects directly (i.e. doesn't use multicast) to - Add `sticky` attribute into `` element. Its default value is *true*. - Add `processExpiresFrequency` attribute into `` element. It specifies the frequency of session validity check, in seconds. Its default value is *6* and the minimum value that you can set is *1*. - Add `deferredWrite` attribute into `` element. Its default value is *true*. -- In P2P mode, add `hazelcastInstanceName` attribute into `` element. It specifies an existing Hazelcast instance to use for session replication. +- In P2P mode, add `hazelcastInstanceName` attribute into `` element. It specifies an existing Hazelcast instance to use for session replication. The same can be achieved by setting `instanceName` property in Hazelcast configuration. If no instance name is configured, Hazelcast instance starts with a default instance name (`SessionManager.DEFAULT_INSTANCE_NAME`).

diff --git a/checkstyle/ClassHeader.txt b/checkstyle/ClassHeader.txt index 082ca8e..a68d856 100755 --- a/checkstyle/ClassHeader.txt +++ b/checkstyle/ClassHeader.txt @@ -1,4 +1,4 @@ /* - * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. + * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved. */ diff --git a/pom.xml b/pom.xml index 35d5f13..f0479be 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@