long addedWait = getAddedWait();
regServicesAndCreateCache();
/* Query the cache for the desired registered service. */
logger.log(Level.FINE, ""+": querying the cache for the "
+"service reference(s)");
ServiceItem srvcItem[] = cache.lookup(secondStageFilter,
Integer.MAX_VALUE);
/* Verify the results of the cache query. */
verifyQueryResults(srvcItem,"first query");
logger.log(Level.FINE, ""+": # serviceAdded events = "
+srvcListener.getNAdded());