Product SiteDocumentation Site

Chapter 3. Working with Resource Adapters

3.1. Deploying and Undeploying Resource Adapters
3.2. Resource Adapters
3.2.1. Asterisk
3.2.2. Diameter
3.2.3. HTTP Client
3.2.4. HTTP Servlet
3.2.5. Media
3.2.6. MGCP
3.2.7. Parlay
3.2.8. Persistence
3.2.9. Rules
3.2.10. SIP
3.2.11. SMPP
3.2.12. TTS
3.2.13. XCAP Client
3.2.14. XMPP

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.
Deploying Resource Adapters Using the MMC
Resource adapters can be deployed from the Install tab of the Deployable Units section of the Mobicents Management Console.
Deployable Units Install tab
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:
Selecting the HTTP Servlet deployable unit
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.
Ensuring the Resource Adapter Is Installed
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.
HTTP Servlet and HTTP Client RAs successfully deployed