for (int i=0; i < regs.length; i++) {
try {
try {
/* Retrieve the groups of all the discovered lookups */
String[] regGroups = regs[i].getGroups();
LookupLocator loc = regs[i].getLocator();
_lookupSrvc = regs[i];
String loc_str = loc.toString();
Vector groupsVec = new Vector();
/* Look for only lookups in groups that were input */
System.out.println(" Lookup on host "+loc_str+":");
System.out.println("regGroups.length = " + regGroups.length);
for(int j=0; j<regGroups.length; j++) {