32.2. Installing Remote Tasks


Once a remote task has been created, and bundled into a .jar, it may be deployed to the server by using either of the following methods:

Procedure 32.1. Option 1: Using the Deployments Directory

  • Copy the deployment into the deployments/ directory of the JBoss Data Grid server as seen in the following example:
    $] cp /path/to/sample_task.jar $JDG_HOME/standalone/deployments/

Procedure 32.2. Option 2: Using the CLI

  1. Connect to the JDG server by running the below command:
    [$JDG_HOME] $ bin/cli.sh --connect --controller=$IP:$PORT
  2. Deploy the .jar file by executing the following command:
    deploy /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-server-groups or --server-groups parameters.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.