private URI findPossibleWarLocationFromGeodeHome(String versionedWarFileName,
      String unversionedWarFileName) {
    String[] possibleFiles = {};
    String geodeHome = getGeodeHome();
    if (StringUtils.isNotBlank(geodeHome)) {
      possibleFiles = new String[] {geodeHome + "/tools/Extensions/" + versionedWarFileName,
          geodeHome + "/tools/Pulse/" + versionedWarFileName,
          geodeHome + "/lib/" + versionedWarFileName,
          geodeHome + "/tools/Extensions/" + unversionedWarFileName,
          geodeHome + "/tools/Pulse/" + unversionedWarFileName,
          geodeHome + "/lib/" + unversionedWarFileName};
    }
    return findPossibleWarLocationFromStream(Arrays.stream(possibleFiles));
  }
this method will try to find the named war files in the following order: 1. if GEODE_HOME is
defined, it will look under tools/Extensions, tools/Pulse and lib folder (in this order) to
find either the name-version.war or the name.war file 2. If GEODE_HOME is not defined, it will
try to find either the name-version.war/name.war (in that order) on the classpath

@param warFilePrefix : the prefix of the war file, e.g. geode-web, geode-pulse, or
       geode-web-api
geode-core/src/main/java/org/apache/geode/management/internal/AgentUtil.java