return true;
} catch (IOException | JAXBException ex) {
logger.log(Level.SEVERE, "Could not load config file ''{0}''! Creating a new one.", configFile);
// File not found, so create a default file
config = new Configuration();
config.setLogLevel(Level.OFF);
Domain domain = new Domain();
domain.setServerRootPath("/Applications/Netbeans/glassfish-3.1.2.2");
domain.setUrl("localhost:4848");
domain.setDomainName("domain1");