32.3. Removing Remote Tasks

Remote tasks may be removed from the running instances by using the JBoss Data Grid CLI. Follow the below instructions to remove a remote task:
  1. Connect to the JDG server by running the below command:
    [$JDG_HOME] $ bin/cli.sh --connect --controller=$IP:$PORT
  2. Remove the .jar file by using the undeploy command, as seen below:
    undeploy /path/to/sample_task.jar

    Note

    When JBoss Data Grid is used in domain mode the server groups must be specified using either the --all-relevant-server-groups or --server-groups parameters.