mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
03.18.2007 59d442f5e63759486ad14785f0ff44dc8c4d7cf1
Identify the case where we cannot find the replication ID to initialize the suffix for a given base DN and throw an exception informing of it.
2 files modified
9 ■■■■■ changed files
opendj-sdk/opends/src/messages/messages/quicksetup.properties 3 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 6 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/quicksetup.properties
@@ -1180,3 +1180,6 @@
INFO_WELCOME_STEP=Welcome
INFO_CONFIRM_UNINSTALL_STEP=Uninstall Options
INFO_ZIP_FILES_DESCRIPTION=OpenDS Installation Package (.zip)
SEVERE_ERR_COULD_NOT_FIND_REPLICATIONID=Could not find a remote peer to \
 initialize the contents of local base DN: %s.
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -1809,6 +1809,12 @@
            }
          }
        }
        if (replicationId == -1)
        {
          throw new ApplicationException(
              ReturnCode.APPLICATION_ERROR,
              ERR_COULD_NOT_FIND_REPLICATIONID.get(dn), null);
        }
        try
        {
          Thread.sleep(3000);