Search

22.3. Deploy a Resource Adapter

download PDF
Resource adapters can be deployed to JBoss EAP 6 using the Management CLI tool, the Web-based Management Console, or by manually copying the files. The process is the same as other deployable artifacts.

Procedure 22.2. Deploy a resource adapter using the Management CLI

  1. Open a command prompt for your operating system.
  2. Connect to the Management CLI.
    • For Linux, enter the following at the command line:
      $ EAP_HOME/bin/jboss-cli.sh --connect
      $ Connected to standalone controller at localhost:9999
      
    • For Windows, enter the following at a command line:
      C:\>EAP_HOME\bin\jboss-cli.bat --connect
      C:\> Connected to standalone controller at localhost:9999
      
  3. Deploy the resource adapter.
    • To deploy the resource adapter to a standalone server, enter the following at a command line:
      $ deploy path/to/resource-adapter-name.rar
    • To deploy the resource adapter to all server groups in a managed domain, enter the following at a command line:
      $ deploy path/to/resource-adapter-name.rar --all-server-groups
      

Procedure 22.3. Deploy a resource adapter using the Management Console

  1. Login to the Management Console. See Section 3.3.2, “Log in to the Management Console”.
  2. Click on the Runtime tab at the top of the screen. Select Manage Deployments.Click Add.
  3. Browse to the resource adapter archive and select it. Then click Next.
  4. Verify the deployment names, then click Save.
  5. The resource adapter archive should now appear in the list in a disabled state.
  6. Enable the resource adapter.
    • In Domain mode, click Assign. Select which Server Groups to assign the resource adapter to. Click Save to finish.
    • In Standalone mode, select the Application Component from the list. Click En/Disable. Click Confirm on the Are You Sure? dialog to enable the component.

Procedure 22.4. Deploy a resource adapter manually

  • Copy the resource adapter archive to the server deployments directory,
    • For a standalone server, copy the resource adapter archive to the EAP_HOME/standalone/deployments/ directory.
    • For a managed domain, you must use the Management Console or Management CLI to deploy the resource adapter archive to the server groups.
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.