serverPlatformConfiguration.setPlatformConfigurationResource(System.getProperty(
"sshtools.platform", configBase + "platform.xml"));
serverPlatformConfiguration.initialize();
}
XmlConfigurationContext context2 = new XmlConfigurationContext();
context2.setFailOnError(false);
context2.setAPIConfigurationResource(ConfigurationLoader.checkAndGetProperty(
"sshtools.config", configBase + "sshtools.xml"));
context2.setAutomationConfigurationResource(ConfigurationLoader.checkAndGetProperty(
"sshtools.automate", configBase + "automation.xml"));
ConfigurationLoader.initialize(false, context2);
}