* started during setup processing.
*/
protected void startAllLookups() throws Exception {
int totalNLookups = nLookupServices+nAddLookupServices;
for(int i=0;i<totalNLookups;i++) {
LookupLocator l = (LookupLocator) lookupsToStart.get(i);
int port = l.getPort();
if(portInUse(port) || (lookupsToStart.size() != totalNLookups)){
port = 0;
}
startLookup(i, port, l.getHost());
}//end loop
/* If explicit ports were NOT set in config, then use what was started,
* no questions asked. If explicit ports were set in config, then
* verify that what was started equals what was wanted.
*/