From 8e0d5f3a797086debc032940660eac14e42e2c6f Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Thu, 26 Mar 2015 09:32:05 +0000
Subject: [PATCH] CR-6444 fix OPENDJ-1882: decrement connection count for JMX client connections
---
opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/JmxClientConnection.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/JmxClientConnection.java b/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/JmxClientConnection.java
index f10a3e2..49e8626 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/JmxClientConnection.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/JmxClientConnection.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2006-2009 Sun Microsystems, Inc.
- * Portions Copyright 2011-2014 ForgeRock AS
+ * Portions Copyright 2011-2015 ForgeRock AS
*/
package org.opends.server.protocols.jmx;
@@ -501,6 +501,7 @@
}
disconnectStarted = true ;
jmxConnectionHandler.unregisterClientConnection(this);
+ DirectoryServer.connectionClosed(this);
finalizeConnectionInternal();
// unbind the underlying connection
--
Gitblit v1.10.0