code: static String getServerResourceAbsolutePath(String resourcePath) {
          String path = null;
          File f = new File(resourcePath);
          if (f.isAbsolute()) {
              path = resourcePath;
          } else {
              WsLocationAdmin wla = locationService.getServiceWithException();
              if (wla != null)
                  path = wla.resolveString(SERVER_CONFIG_LOCATION + "/" + resourcePath);
          }
          return path;
      }
docs: Return the absolute path of the given resource path relative to the
  server config dir. If the given resource path is already absolute
  then just return it. If the location admin service is not available
  then return null.
  
  @param resourcePath path to resource
  @return absolute path or null