code: protected void findLocations(BootstrapConfig bootProps, String processName) {
          // Check for environment variables...
          String userDirStr = getEnv(BootstrapConstants.ENV_WLP_USER_DIR);
          String serversDirStr = getEnv(bootProps.getOutputDirectoryEnvName());
  
          // Check for the variable calculated by the shell script first (X_LOG_DIR)
          // If that wasn't found, check for LOG_DIR set for java -jar invocation
          String logDirStr = getEnv(BootstrapConstants.ENV_X_LOG_DIR);
          if (logDirStr == null)
              logDirStr = getEnv(BootstrapConstants.ENV_LOG_DIR);
  
          // Likewise for X_LOG_FILE and LOG_FILE.
          String consoleLogFileStr = getEnv(BootstrapConstants.ENV_X_LOG_FILE);
          if (consoleLogFileStr == null)
              consoleLogFileStr = getEnv(BootstrapConstants.ENV_LOG_FILE);
  
          // Do enough processing to know where the directories should be..
          // this should not cause any directories to be created
          bootProps.findLocations(processName, userDirStr, serversDirStr, logDirStr, consoleLogFileStr);
      }
docs: Find main locations
  
  @param bootProps An instance of BootstrapConfig
  @param processName Process name to be used