| | |
| | | // Should not happen as configuration in domain root entry is flushed |
| | | // from valid configuration in local variables |
| | | logger.error(NOTE_ERR_FRACTIONAL.get( |
| | | fractionalConfig.getBaseDn().toString(), |
| | | fractionalConfig.getBaseDn(), |
| | | stackTraceToSingleLineString(e))); |
| | | return false; |
| | | } |
| | |
| | | // from valid configuration in local variables so both should have already |
| | | // been checked |
| | | logger.error(NOTE_ERR_FRACTIONAL.get( |
| | | fractionalConfig.getBaseDn().toString(), |
| | | fractionalConfig.getBaseDn(), |
| | | stackTraceToSingleLineString(e))); |
| | | return false; |
| | | } |
| | |
| | | if (fractionalFilterOperation(addOperation, false)) |
| | | { |
| | | LocalizableMessage msg = NOTE_ERR_FRACTIONAL_FORBIDDEN_OPERATION.get( |
| | | getBaseDNString(), addOperation.toString()); |
| | | getBaseDNString(), addOperation); |
| | | return new SynchronizationProviderResult.StopProcessing( |
| | | ResultCode.UNWILLING_TO_PERFORM, msg); |
| | | } |
| | |
| | | if (fractionalFilterOperation(modifyDNOperation, false)) |
| | | { |
| | | LocalizableMessage msg = NOTE_ERR_FRACTIONAL_FORBIDDEN_OPERATION.get( |
| | | getBaseDNString(), modifyDNOperation.toString()); |
| | | getBaseDNString(), modifyDNOperation); |
| | | return new SynchronizationProviderResult.StopProcessing( |
| | | ResultCode.UNWILLING_TO_PERFORM, msg); |
| | | } |
| | |
| | | // Some attributes not compliant with fractional configuration : |
| | | // forbid the operation |
| | | LocalizableMessage msg = NOTE_ERR_FRACTIONAL_FORBIDDEN_OPERATION.get( |
| | | getBaseDNString(), modifyOperation.toString()); |
| | | getBaseDNString(), modifyOperation); |
| | | return new SynchronizationProviderResult.StopProcessing( |
| | | ResultCode.UNWILLING_TO_PERFORM, msg); |
| | | } |
| | |
| | | } |
| | | catch (NoSuchElementException e) |
| | | { |
| | | logger.error(ERR_OPERATION_NOT_FOUND_IN_PENDING.get( |
| | | op.toString(), curCSN.toString())); |
| | | logger.error(ERR_OPERATION_NOT_FOUND_IN_PENDING.get(op, curCSN)); |
| | | return; |
| | | } |
| | | } |
| | |
| | | } |
| | | catch (NoSuchElementException e) |
| | | { |
| | | logger.error(ERR_OPERATION_NOT_FOUND_IN_PENDING.get( |
| | | op.toString(), curCSN.toString())); |
| | | logger.error(ERR_OPERATION_NOT_FOUND_IN_PENDING.get(op, curCSN)); |
| | | return; |
| | | } |
| | | // If assured replication is enabled, this will wait for the matching |
| | |
| | | { |
| | | // This exception may only be raised if assured replication is enabled |
| | | logger.error(NOTE_DS_ACK_TIMEOUT.get(getBaseDNString(), |
| | | Long.toString(getAssuredTimeout()), msg.toString())); |
| | | Long.toString(getAssuredTimeout()), msg)); |
| | | } |
| | | } |
| | | |
| | |
| | | ResultCode res = newOp.getResultCode(); |
| | | if (res != ResultCode.SUCCESS) |
| | | { |
| | | logger.error(ERR_COULD_NOT_SOLVE_CONFLICT.get( |
| | | entryDN.toString(), res.toString())); |
| | | logger.error(ERR_COULD_NOT_SOLVE_CONFLICT.get(entryDN, res)); |
| | | } |
| | | } |
| | | } |
| | |
| | | */ |
| | | LocalizableMessage message = |
| | | ERR_EXCEPTION_REPLAYING_OPERATION.get( |
| | | stackTraceToSingleLineString(e), op.toString()); |
| | | stackTraceToSingleLineString(e), op); |
| | | replayErrorMsg = message.toString(); |
| | | updateError(csn); |
| | | } else |
| | |
| | | // The other type of errors can not be caused by naming conflicts. |
| | | // Log a message for the repair tool. |
| | | logger.error(ERR_ERROR_REPLAYING_OPERATION.get( |
| | | op.toString(), ctx.getCSN().toString(), |
| | | result.toString(), op.getErrorMessage().toString())); |
| | | op, ctx.getCSN(), result, op.getErrorMessage())); |
| | | return true; |
| | | } |
| | | } |
| | |
| | | // The other type of errors can not be caused by naming conflicts. |
| | | // Log a message for the repair tool. |
| | | logger.error(ERR_ERROR_REPLAYING_OPERATION.get( |
| | | op.toString(), ctx.getCSN().toString(), |
| | | result.toString(), op.getErrorMessage().toString())); |
| | | op, ctx.getCSN(), result, op.getErrorMessage())); |
| | | return true; |
| | | } |
| | | } |
| | |
| | | // The other type of errors can not be caused by naming conflicts. |
| | | // Log a message for the repair tool. |
| | | logger.error(ERR_ERROR_REPLAYING_OPERATION.get( |
| | | op.toString(), ctx.getCSN().toString(), |
| | | result.toString(), op.getErrorMessage().toString())); |
| | | op, ctx.getCSN(), result, op.getErrorMessage())); |
| | | return true; |
| | | } |
| | | } |
| | |
| | | // The other type of errors can not be caused by naming conflicts. |
| | | // log a message for the repair tool. |
| | | logger.error(ERR_ERROR_REPLAYING_OPERATION.get( |
| | | op.toString(), ctx.getCSN().toString(), |
| | | result.toString(), op.getErrorMessage().toString())); |
| | | op, ctx.getCSN(), result, op.getErrorMessage())); |
| | | return true; |
| | | } |
| | | } |