// Start the ExternalComponentManager
String xmppServerHost = properties.getProperty("xmppServer.host");
port = properties.getProperty("xmppServer.port");
int xmppServerPort = (port == null ? 10015 : Integer.parseInt(port));
manager = new ExternalComponentManager(xmppServerHost, xmppServerPort);
String serverDomain = properties.getProperty("xmppServer.domain");
if (serverDomain != null) {
manager.setServerName(serverDomain);
}
if (properties.getProperty("xmppServer.defaultSecretKey") != null) {