code: public void setHTTPPort() throws InstallationFailedException {
          // Note this very significant assumption: this xpath will select exactly one connector
          Element httpConnector =
                  (Element) getDocument()
                          .selectSingleNode(HTTP_CONNECTOR_XPATH);
  
          if (httpConnector == null) {
              throw new InstallationFailedException("Unable to set server.xml HTTP Port. XPath for Connector element failed.");
          }
  
          httpConnector.addAttribute("port", options
                  .getValue(InstallOptions.TOMCAT_HTTP_PORT));
          httpConnector.addAttribute("enableLookups", "true"); // supports client dns/fqdn in xacml authz policies
          httpConnector.addAttribute("acceptCount", "100");
          httpConnector.addAttribute("maxThreads", "150");
          httpConnector.addAttribute("minSpareThreads", "25");
          httpConnector.addAttribute("maxSpareThreads", "75");
      }
docs: Sets the http port and Fedora default http connector options.
  
  @see "http://tomcat.apache.org/tomcat-6.0-doc/config/http.html"
  @throws InstallationFailedException