// We store serverPlatformConfiguration as a static variable so we can
// reinitialize it. This is required if the server is started and stopped
// from multiple test executions - the design of J2SSH daemon does not
// allow re-configuration (configs stored in static variables).
if (null == serverPlatformConfiguration) {
serverPlatformConfiguration = new XmlServerConfigurationContext();
serverPlatformConfiguration.setServerConfigurationResource(ConfigurationLoader
.checkAndGetProperty("sshtools.server", configBase + "server.xml"));
serverPlatformConfiguration.setPlatformConfigurationResource(System.getProperty(
"sshtools.platform", configBase + "platform.xml"));
ConfigurationLoader.initialize(false, serverPlatformConfiguration);