ERR_INITIALIZING_REPLICATIONID_NOT_FOUND.get(
ConnectionUtils.getHostPort(ctxSource), baseDN),
REPLICATIONID_NOT_FOUND, null);
}
OfflineInstaller installer = new OfflineInstaller();
installer.setProgressMessageFormatter(formatter);
installer.addProgressUpdateListener(new ProgressUpdateListener()
{
public void progressUpdate(ProgressUpdateEvent ev)
{
Message newLogDetails = ev.getNewLogs();
if ((newLogDetails != null) &&
!newLogDetails.toString().trim().equals(""))
{
printProgress(newLogDetails);
printlnProgress();
}
}
});
int nTries = 5;
boolean initDone = false;
while (!initDone)
{
try
{
installer.initializeSuffix(ctxDestination, replicationId, baseDN,
displayProgress, ConnectionUtils.getHostPort(ctxSource));
initDone = true;
}
catch (PeerNotFoundException pnfe)
{