I tried searching the mailing list but did not find a solution to the following issue I face which causes my code to crash: a) If the filename specified in args[0] does not exist b) If there are syntax errors in the contents of the Configuration files specified by args[0]
Any help/pointers will be appreciated. ========================================== public static void main(String[] args) { try { PropertyConfigurator.configure(args[0]); }catch(Exception e) { BasicConfigurator.configure(); } System.out.println("After catch block never reached!"); } ========================================== -Chetan desai.