String configFile = cmdline.value("config");
if (configFile == null) {
String home = getOpenJMSHome();
configFile = home + "/config/openjms.xml";
}
Configuration config = new ConfigurationLoader().load(configFile);
String path = config.getLoggerConfiguration().getFile();
if (path != null) {
DOMConfigurator.configure(path);
}
AdminConfiguration adminConfig = null;
adminConfig = config.getAdminConfiguration();
_serverStart = adminConfig.getScript();
_serverConfig = adminConfig.getConfig();
if (_serverConfig == null) {
_serverConfig = configFile;
}