anchor.diff:  
   <%  // Get parameters
       String domain = ParamUtils.getParameter(request,"domain");
  -    String chatService = ParamUtils.getParameter(request,"chatService");
       int port = ParamUtils.getIntParameter(request,"port",-1);
       int embeddedPort = ParamUtils.getIntParameter(request,"embeddedPort",-1);
       int sslPort = ParamUtils.getIntParameter(request,"sslPort",-1);
  
positive.code:             Map xmppSettings = new HashMap();
  
              xmppSettings.put("xmpp.domain",domain);
              xmppSettings.put("xmpp.muc.service",chatService);
              xmppSettings.put("xmpp.socket.plain.port",Integer.toString(port));
              xmppSettings.put("embedded-web.port",Integer.toString(embeddedPort));
              xmppSettings.put("xmpp.socket.ssl.active",""+sslEnabled);
  
negative.code:         } catch (Exception ignored) {}
          sslEnabled = "true".equals(JiveGlobals.getProperty("xmpp.socket.ssl.active"));
  
          // If the domain is still blank, guess at the value:
          if (domain == null) {
              domain = InetAddress.getLocalHost().getHostName();
          }
      }
  %>
  