Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10313

CommandDispatcher.executeOnNode(...) throws ClassCastException if target node has no corresponding CommandDispatcher

    XMLWordPrintable

    Details

      Description

      CommandDispatcher.executeOnNode(...) and submitOnNode(...) is used to execute a given command on a given member of the cluster. However, if the target member does not have an active CommandDispatcher to receive the command, the resulting NoSuchService response is not handled, and the caller will receive a ClassCastException. This is because the RspFilter contained in the RspOptions as passed to the MessageDispatcher is not invoked for unicast requests.

      The API will likely need to be adjusted/documented to define what behavior to expect in this scenario.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferraro@redhat.com Paul Ferraro
              Reporter:
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: