| | |
| | | List<TaskEntry> taskEntries = new ArrayList<>(); |
| | | List<Exception> exceptions = new ArrayList<>(); |
| | | ConfigFromDirContext cfg = new ConfigFromDirContext(); |
| | | cfg.updateTaskInformation(conn.getLdapContext(), exceptions, taskEntries); |
| | | cfg.updateTaskInformation(conn, exceptions, taskEntries); |
| | | for (Exception ode : exceptions) |
| | | { |
| | | logger.warn(LocalizableMessage.raw("Error retrieving task entries: "+ode, ode)); |
| | |
| | | } |
| | | } |
| | | } |
| | | String bindDn = getBindDN(conn.getLdapContext()); |
| | | String pwd = getBindPassword(conn.getLdapContext()); |
| | | String bindDn = conn.getBindDn().toString(); |
| | | String pwd = conn.getBindPassword(); |
| | | for (ServerDescriptor s : serversToUpdate) |
| | | { |
| | | removeReferencesInServer(s, replicationServerHostPort, bindDn, pwd, |
| | |
| | | |
| | | if (disableReplicationServer) |
| | | { |
| | | // Disable replication server |
| | | disableReplicationServer(conn); |
| | | replicationServerDisabled = true; |
| | | // Wait to be sure that changes are taken into account and reset the |
| | | // contents of the ADS. |
| | | // Wait to be sure that changes are taken into account |
| | | // and reset the contents of the ADS. |
| | | sleepCatchInterrupt(5000); |
| | | } |
| | | } |