mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
01.30.2006 f8694ed7365096addbb23f82e0bf492fa87d2964
opendj-sdk/opends/src/server/org/opends/server/config/ConfigFileHandler.java
@@ -500,9 +500,15 @@
    // Determine the appropriate server root for the Directory Server.  First,
    // do this by looking at an environment variable.  If that isn't specified,
    // then try to figure it out from the location of the configuration file.
    String rootDirStr = System.getenv(ENV_VAR_INSTANCE_ROOT);
    // do this by looking for a Java property.  If that isn't specified, then
    // look for an environment variable, and if all else fails then try to
    // figure it out from the location of the configuration file.
    String rootDirStr = System.getProperty(PROPERTY_SERVER_ROOT);
    if (rootDirStr == null)
    {
      rootDirStr = System.getenv(ENV_VAR_INSTANCE_ROOT);
    }
    if (rootDirStr != null)
    {
      try