code: protected String prepareWarPath() {
          final URL location = TomcatBoot.class.getProtectionDomain().getCodeSource().getLocation();
          String path;
          try {
              path = location.toURI().getPath();
          } catch (URISyntaxException e) {
              throw new IllegalStateException("Failed to get path from the location: " + location, e);
          }
          return path;
      }
docs: ============