Uploaded image for project: 'JBoss Cache'
  1. JBoss Cache
  2. JBCACHE-1220

DataGravitatorInterceptor logs ERROR when alone in cluster

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Set the logging level for category org.jboss.cache.interceptors.DataGravitatorInterceptor to FATAL.

      Show
      Set the logging level for category org.jboss.cache.interceptors.DataGravitatorInterceptor to FATAL.
    • Estimated Difficulty:
      Low

      Description

      Logging after making 1 request for a static page in a distributable webapp when the node was the only cluster member:

      11:45:04,122 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?
      11:45:04,128 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?
      11:47:35,104 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?
      11:47:35,107 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?
      11:47:35,195 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?
      11:47:35,198 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?
      11:47:35,328 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?
      11:47:35,331 ERROR [DataGravitatorInterceptor] No replies to call _gravitateData; id:35(/JSESSION/localhost/ROOT/FC5F1D24DE0C89413E2D633331C6F030, true, false). Perhaps we're alone in the cluster?

      Problem is this in DataGravitatorInterceptor:

      List resps = cache.callRemoteMethods(mbrs, dGrav, GroupRequest.GET_ALL, true, buddyManager.getBuddyCommunicationTimeout());
      if (resps == null)
      {
      log.error("No replies to call " + dGrav + ". Perhaps we're alone in the cluster?");
      return new Object[]

      {null, null}

      ;
      }

      TreeCache.callRemoteMethods will return null if "we're alone in the cluster".

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manik Manik Surtani
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: