opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -3096,6 +3096,7 @@ public void initializeRemote(short target, short requestorID, Task initTask) throws DirectoryException { boolean contextAcquired=false; try { Backend backend = retrievesBackend(this.baseDN); @@ -3109,6 +3110,7 @@ } acquireIEContext(); contextAcquired = true; // The number of entries to be exported is the number of entries under // the base DN entry and the base entry itself. @@ -3143,7 +3145,8 @@ de.getMessageObject()); broker.publish(errorMsg); releaseIEContext(); if (contextAcquired) releaseIEContext(); throw(de); }