private static void LoadConfig()
 {
     startServer = bool.Parse(GFXDConfigManager.GetServerSetting("startServer"));
     numServers  = int.Parse(GFXDConfigManager.GetServerSetting("numServers"));
     //logDir = GFXDConfigManager.GetClientSetting("logDir");
     logDir      = Environment.GetEnvironmentVariable("GFXDADOOUTDIR");
     GFXDServers = new Dictionary <String, GFXDServer>();
 }
Example #2
0
 public static void LoadConfig()
 {
     //installPath = GFXDConfigManager.GetServerSetting("installPath");
     installPath          = Environment.GetEnvironmentVariable("GEMFIREXD");
     scriptFile           = GFXDConfigManager.GetServerSetting("scriptFile");
     peerDiscoveryAddress = GFXDConfigManager.GetLocatorSetting("peerDiscoveryAddress");
     peerDiscoveryPort    = int.Parse(GFXDConfigManager.GetLocatorSetting("peerDiscoveryPort"));
     clientBindAddress    = GFXDConfigManager.GetLocatorSetting("clientBindAddress");
     clientPort           = int.Parse(GFXDConfigManager.GetLocatorSetting("clientPort"));
     defaultDir           = GFXDConfigManager.GetLocatorSetting("locatorDir");
     //logDir = GFXDConfigManager.GetClientSetting("logDir");
     logDir        = Environment.GetEnvironmentVariable("GFXDADOOUTDIR");
     locatorScript = String.Format(@"{0}\{1}", installPath, scriptFile);
 }
 public static void LoadConfig()
 {
     numServers = int.Parse(GFXDConfigManager.GetServerSetting("numServers"));
     //installPath = GFXDConfigManager.GetServerSetting("installPath");
     installPath              = Environment.GetEnvironmentVariable("GEMFIREXD");
     scriptFile               = GFXDConfigManager.GetServerSetting("scriptFile");
     defaultServerDir         = GFXDConfigManager.GetServerSetting("defaultServerDir");
     defaultClientBindAddress = GFXDConfigManager.GetServerSetting("defaultClientBindAddress");
     defaultClientPort        = int.Parse(GFXDConfigManager.GetServerSetting("defaultClientPort"));
     mcastPort = int.Parse(GFXDConfigManager.GetServerSetting("mcastPort"));
     drdaDebug = GFXDConfigManager.GetServerSetting("drdaDebug");
     logLevel  = GFXDConfigManager.GetServerSetting("logLevel");
     //logDir = GFXDConfigManager.GetClientSetting("logDir");
     logDir       = Environment.GetEnvironmentVariable("GFXDADOOUTDIR");
     serverScript = String.Format(@"{0}\{1}", installPath, scriptFile);
 }