JBoss.orgCommunity Documentation
Ensure that the following requirements have been met before continuing with the install.
The Resource Adaptor hardware's main concern is RAM memory and Java Heap size, the more the better. For instance, while the underlying Mobicents JAIN SLEE may run with 1GB of RAM.
Of course, memory is only needed to store the Resource Adaptor state, the faster the CPU more calls per second are supported, yet no particular CPU is a real requirement to use the RA.
Downloading the source code
Subversion is used to manage its source code. Instructions for using Subversion, including install, can be found at http://svnbook.red-bean.com
Use SVN to checkout a specific release source, the base URL is http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/resources/mgcp, then add the specific release version, lets consider 2.4.1-SNAPSHOT.
[usr]$ svn co http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/resources/mgcp/2.4.1-SNAPSHOT slee-ra-mgcp-2.4.1-SNAPSHOT
Building the source code
Maven 2.0.9 (or higher) is used to build the release. Instructions for using Maven2, including install, can be found at http://maven.apache.org
Use Maven to build the deployable unit binary.
[usr]$ cd slee-ra-mgcp-2.4.1-SNAPSHOT [usr]$ mvn install
Once the process finishes you should have the
deployable-unit
jar file in the
target
directory, if
Mobicents
JAIN SLEE is installed and environment variable
JBOSS_HOME is pointing to its underlying
JBoss Application Server
directory, then the deployable unit jar will
also be deployed in the container.
Similar process as for Section 4.2.1, “Release Source Code Building” , the only change is the SVN source code URL, which is http://mobicents.googlecode.com/svn/trunk/servers/jain-slee/resources/mgcp.
To install the Resource Adaptor simply execute provided ant
script
build.xml
default target:
[usr]$ ant
The script will copy the RA deployable unit jar to the
default
Mobicents
JAIN SLEE server profile deploy directory, to deploy to
another server profile use the argument
-Dnode=
.
To uninstall the Resource Adaptor simply execute provided
ant script
build.xml
undeploy
target:
[usr]$ ant undeploy
The script will delete the RA deployable unit jar from the
default
Mobicents
JAIN SLEE server profile deploy directory, to undeploy from
another server profile use the argument
-Dnode=
.