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:
- Connect to the JDG server by running the below command:
[$JDG_HOME] $ bin/cli.sh --connect --controller=$IP:$PORT
- 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.