logError(message);
return 1;
}
// Get information about the backends defined in the server.
Backend backend = null;
DN[] baseDNArray;
ArrayList<Backend> backendList = new ArrayList<Backend>();
ArrayList<BackendCfg> entryList = new ArrayList<BackendCfg>();
ArrayList<List<DN>> dnList = new ArrayList<List<DN>>();
BackendToolUtils.getBackends(backendList, entryList, dnList);
int numBackends = backendList.size();
for (int i=0; i < numBackends; i++)
{
Backend b = backendList.get(i);
List<DN> baseDNs = dnList.get(i);
for (DN baseDN : baseDNs)
{
if (baseDN.equals(rebuildBaseDN))