}
// fall back to the search path as last resort
if(aTargetID == null || !(aTargetID instanceof DnsSdServiceTypeID)) {
ResolverConfig config = new ResolverConfig();
Name[] searchPaths = config.searchPath();
if(searchPaths != null && searchPaths.length > 0) {
targetID = new DnsSdServiceTypeID();
targetID.setSearchPath(searchPaths);
} else {
throw new ContainerConnectException(Messages.DnsSdDiscoveryLocator_No_Target_ID);