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

chebrard
16.02.2009 0eaee4bea7b7400074cc051eba4e7009e7212547
Fix: 3873: sometimes CLI use java.properties from other CLI
1 files modified
9 ■■■■■ changed files
opends/src/server/org/opends/server/tools/configurator/CheckInstance.java 9 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/configurator/CheckInstance.java
@@ -154,9 +154,9 @@
    }
    // Check user
    Installation installation = new Installation(installRootFromSystem,
            instanceRootFromSystem);
    File conf = installation.getCurrentConfigurationFile();
    File confDir = new File (instanceRootFromSystem,
      Installation.CONFIG_PATH_RELATIVE);
    File conf = new File (confDir, Installation.CURRENT_CONFIG_FILE_NAME);
    String cmd = null;
    Process proc = null;
    int exit = 0;
@@ -238,8 +238,7 @@
      BuildInformation instanceBi = installBi;
      try {
        File bif = new File(installation.getConfigurationDirectory(),
          Installation.BUILDINFO_RELATIVE_PATH);
        File bif = new File(confDir, Installation.BUILDINFO_RELATIVE_PATH);
        if (bif.exists()) {
          BufferedReader breader = new BufferedReader(new FileReader(bif));