Util.set_serial_model(TangoConst.NO_SYNC);
setSystemProperties(properties.jacorbMinCpus, properties.jacorbMaxCpus);
LOG.info("Done.");
LOG.info("Parsing configuration...");
StatusServerConfiguration configuration = StatusServerConfiguration.fromXml(cliOptions.pathToConfiguration);
LOG.info("Done.");
if (cliOptions.verbose) {
LOG.info("Setting verbose level to DEBUG...");
Logger.getRootLogger().setLevel(Level.DEBUG);
LOG.info("Done.");
}
LOG.info("Initialize and start Tango server instance...");
StatusServer.setXmlConfigPath(cliOptions.pathToConfiguration);
ServerManager.getInstance().start(new String[]{configuration.getInstanceName()}, StatusServer.class);
LOG.info("Done.");
}