anchor.diff:  <%@ page import="org.jivesoftware.openfire.XMPPServerInfo" %>
   
   <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
   <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
   
   <%
  
positive.code: <table cellpadding="3" cellspacing="0" border="0">
  <tr valign="top">
      <td width="1%" nowrap align="right">
          <fmt:message key="setup.host.settings.domain" />
      </td>
      <td width="99%">
          <input type="text" size="30" maxlength="150" name="domain"
           value="<%= ((domain != null) ? StringUtils.escapeForXML(domain) : "") %>">
          <span class="jive-setup-helpicon" onmouseover="domTT_activate(this, event, 'content', '<fmt:message key="setup.host.settings.domain.help" />', 'styleClass', 'jiveTooltip', 'trail', true, 'delay', 300, 'lifetime', 8000);"></span>
          <%  if (errors.get("domain") != null) { %>
              <span class="jive-error-text">
              <fmt:message key="setup.host.settings.invalid_domain" />
              </span>
          <%  } %>
      </td>
  </tr>
  <tr valign="top">
      <td width="1%" nowrap align="right">
          <fmt:message key="setup.host.settings.fqdn" />
      </td>
      <td width="99%">
          <input type="text" size="30" maxlength="150" name="fqdn"
                 value="<%= ((fqdn != null) ? StringUtils.escapeForXML(fqdn) : "") %>">
          <span class="jive-setup-helpicon" onmouseover="domTT_activate(this, event, 'content', '<fmt:message key="setup.host.settings.fqdn.help" />', 'styleClass', 'jiveTooltip', 'trail', true, 'delay', 300, 'lifetime', 8000);"></span>
          <%  if (errors.get("fqdn") != null) { %>
          <span class="jive-error-text">
          <fmt:message key="setup.host.settings.invalid_fqdn" />
          </span>
          <%  } %>
      </td>
  </tr>
  
  <% if (XMPPServer.getInstance().isStandAlone()){ %>
  <tr valign="top">
      <td width="1%" nowrap align="right">
          <fmt:message key="setup.host.settings.port" />
      </td>
      <td width="99%">
          <input type="text" size="6" maxlength="6" name="embeddedPort"
           value="<%= ((embeddedPort != Integer.MIN_VALUE) ? ""+embeddedPort : "9090") %>">
          <span class="jive-setup-helpicon" onmouseover="domTT_activate(this, event, 'content', '<fmt:message key="setup.host.settings.port_number" />', 'styleClass', 'jiveTooltip', 'trail', true, 'delay', 300, 'lifetime', 8000);"></span>
          <%  if (errors.get("embeddedPort") != null) { %>
              <span class="jive-error-text">
              <fmt:message key="setup.host.settings.invalid_port" />
              </span>
          <%  } %>
      </td>
  </tr>
  <tr valign="top">
      <td width="1%" nowrap align="right">
          <fmt:message key="setup.host.settings.secure_port" />
      </td>
      <td width="99%">
          <input type="text" size="6" maxlength="6" name="securePort"
           value="<%= ((securePort != Integer.MIN_VALUE) ? ""+securePort : "9091") %>">
          <span class="jive-setup-helpicon" onmouseover="domTT_activate(this, event, 'content', '<fmt:message key="setup.host.settings.secure_port_number" />', 'styleClass', 'jiveTooltip', 'trail', true, 'delay', 300, 'lifetime', 8000);"></span>
           <%  if (errors.get("securePort") != null) { %>
              <span class="jive-error-text">
              <fmt:message key="setup.host.settings.invalid_port" />
              </span>
          <%  } %>
      </td>
  </tr>
  <tr valign="top">
  
negative.code:         // Validate parameters
          if (domain == null || domain.isEmpty()) {
              errors.put("domain", "domain");
          } else {
              try {
                  domain = JID.domainprep(domain);
              } catch (IllegalArgumentException e) {
                  errors.put("domain", "domain");
              }
          }
          if (fqdn == null || fqdn.isEmpty()) {
              errors.put("fqdn", "fqdn");
          } else {
              try {
                  fqdn = JID.domainprep(fqdn);
              } catch (IllegalArgumentException e) {
                  errors.put("fqdn", "fqdn");
              }
          }
          if (XMPPServer.getInstance().isStandAlone()) {
              if (embeddedPort == Integer.MIN_VALUE) {
  