From: markt Date: Tue, 28 Jun 2011 19:32:39 +0000 (+0000) Subject: Notifications of changes in session ID to other nodes in the cluster should be contro... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=95ea2836e5c91a63d4ada4673b7a00e4cdb08af3;p=tomcat7.0 Notifications of changes in session ID to other nodes in the cluster should be controlled by notifySessionListenersOnReplication rather than notifyListenersOnReplication. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1140801 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/ha/session/DeltaManager.java b/java/org/apache/catalina/ha/session/DeltaManager.java index 952127225..e71f9c9d1 100644 --- a/java/org/apache/catalina/ha/session/DeltaManager.java +++ b/java/org/apache/catalina/ha/session/DeltaManager.java @@ -1463,7 +1463,7 @@ public CatalinaCluster getCluster() { if (session != null) { String newSessionID = deserializeSessionId(msg.getSession()); session.setPrimarySession(false); - session.setId(newSessionID, notifyListenersOnReplication); + session.setId(newSessionID, notifySessionListenersOnReplication); } } diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index f1e9be837..b2628e0d5 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -217,6 +217,11 @@ 51306: Avoid NPE when handleSESSION_EXPIRED is processed while handleSESSION_CREATED is being processed. (kfujino) + + Notifications of changes in session ID to other nodes in the cluster + should be controlled by notifySessionListenersOnReplication rather than + notifyListenersOnReplication. (markt) +