System.out.println("WARNING: Predefined DA is no good !");
logDebug("Failed to contact DA at " + das[i]);
    protected void createAgent(String DAsToUse) throws ServiceLocationException {        // create scope list...        if(supportedScopes == null) {            supportedScopes = new Vector();            supportedScopes.add(SLPDefaults.DEF_CONFIG_SCOPE_LIST);        }                // create shared SlpFabricClient to use for messages...        boolean sendOnly = (CONFIG_SLP_AGENTPORT == 0);        try {            unicastCommunicator = new SlpSharedUnicastClient(address,                                                             CONFIG_SLP_AGENTPORT,                                                             CONFIG_SLP_MTU);        }catch(Exception e) {            throw new ServiceLocationException(ServiceLocationException.NETWORK_ERROR,                                               "SLP: Could not create unicast socket");        }                // try to contact predefined DAs        if(DAsToUse != null && DAsToUse.length() != 0) {            String das[] = DAsToUse.split(",");            SLPMessageSender ms = new SLPMessageSender(this, CONFIG_SLP_MTU, CONFIG_RETRY, null);                for(int i=0; i<das.length; i++) {                try {                    ms.sendSLPMessage(new SLPSrvReqMessage(                                                           new ServiceType(DirectoryAgent.DA_TYPE),                                                           supportedScopes,                                                           "",                                                           locale),                                      das[i], CONFIG_SLP_PORT, CONFIG_RETRY_MAX,                                      unicastCommunicator);                }catch(ServiceLocationException se) {                    System.out.println("WARNING: Predefined DA is no good !");                                    // could throw exception, but do we really                                      // want to do that ? The system should be                                      // able to run without the DA. Perhaps this                                      // should be configurable ?                }            }        }        // start DA locator thread if required.        if(CONFIG_DA_DISCOVERY) {            Random rnd = new Random();            int start_wait = Math.abs(rnd.nextInt()%CONFIG_START_WAIT);            daLocator = new Timer();            daLocator.schedule(new TimerTask() {                public void run() {                    daDiscovery();                }            }, start_wait, CONFIG_DA_FIND);        }    }