log.error(ex);
System.err.println(ex);
    public static void main(String[] args) {        String[] testCaseName={LeaseFactoryClientTest.class.getName()};        junit.textui.TestRunner.main(testCaseName);        System.out.println("press key to return");        try {            System.in.read();        }        catch(Exception ex) {            log.error(ex);        }    }