Chapter 3. Working with Resource Adapters
3.1. Deploying and Undeploying Resource Adapters
Resource adapters can be deployed using the Mobicents Management Console or, alternatively, by invoking ant tasks, or by copying deployable unit files from the resources/resource_adapter subdirectory of a JBCP installation into JBoss's deploy directory. This section illustrates deploying resource adapters using the Mobicents Management Console.
Resource adapters can be deployed from the Install tab of the Deployable Units section of the Mobicents Management Console.
Clicking on the Browse... button opens your browser's file selector. Navigate to the <topmost_directory>/resources/resource_adapter/ subdirectory, where resource_adapter corresponds to the resource adapter you want to install. For example, if you wanted to install the HTTP Servlet resource adapter:
Deployable units are
JAR files which contain
-ra-DU in their file names. Simply select that file in the file chooser and click
Open. Finally, you must click the
Install button to install the deployable unit file, and therefore the corresponding resource adapter.
You can ensure that the resource adapter deployed successfully by clicking on the Resources section in the Mobicents Management Console. There, under Resource Adapters, you should now see all of the resource adapters listed which you have deployed so far. In the screenshot, you can see that both the HTTP Servlet and HTTP Client resource adapters have been deployed.