Hitesh Khamesra created GEODE-2586:
--------------------------------------

             Summary: ServerOperationException Message: Not providing remote 
server id
                 Key: GEODE-2586
                 URL: https://issues.apache.org/jira/browse/GEODE-2586
             Project: Geode
          Issue Type: Bug
          Components: client/server
            Reporter: Hitesh Khamesra


It seems following code need to get remote server id in 
ServerOperationException class

 private static String getServerMessage(String msg) {
    // To fix bug 44679 add a description of the member the server is on.
    // Do this without changing how this class gets serialized so that old
    // clients will still work.
    InternalDistributedSystem ids = InternalDistributedSystem.getAnyInstance();
    if (ids != null) {
      if (msg != null) {
        return "remote server on " + ids.getMemberId() + ": " + msg;
      } else {
        return "remote server on " + ids.getMemberId();
      }
    } else {
      if (msg != null) {
        return "remote server on unknown location: " + msg;
      } else {
        return "remote server on unknown location";
      }
    }
  }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to