Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1237

Remove print stacktrace from Tunnel warning when backup gossip router is not available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.10.1, 2.11
    • 2.10
    • None

      This is the issue with JGroups 2.10 GA when using Tunnel with multiple Gossip Routers. In our case the nodes start sequentially. Two of the nodes have Gossip Router running. As each node is configured to talk to two GR via Tunnel, the first one starting always throws a big stacktrace when not able to connect to the second GR. We don't need to print the stacktrace when failed to connect to other GRs - we can simply put the warning with stacktrace.

      File: Tunnel.java
      Line: 421 (inside connect method)
      [code]
      catch (Exception e)

      { if (log.isWarnEnabled()) log.warn("Failed connecting to GossipRouter at " + stub.getGossipRouterAddress()); //no stacktrace stubManager.startReconnecting(stub); }

      [code]

            rhn-engineering-bban Bela Ban
            vivash vivek v (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: