System.out.println("Generated random pwd: password=" + password);
cat.debug("Generated random pwd: password=" + password);
    private String genRandomPwd() throws Exception {        // Gen random pwd        Random rand = new Random(new Date().getTime()+4812);        String password = "";        for (int i = 0; i < 8; i++) {            int randint = rand.nextInt(9);            password += (new Integer(randint)).toString();        }        System.out.println("Generated random pwd: password=" + password);        return password;    } // genRandomPwd