TeleStax.orgCommunity Documentation

Chapter 4. Setup

4.1. Pre-Install Requirements and Prerequisites
4.1.1. Hardware Requirements
4.1.2. Software Prerequisites
4.2. Restcomm JAIN SLEE JDBC Resource Adaptor Source Code
4.2.1. Release Source Code Building
4.2.2. Development Master Source Building
4.3. Installing Restcomm JAIN SLEE JDBC Resource Adaptor
4.4. Uninstalling Restcomm JAIN SLEE JDBC Resource Adaptor

Ensure that the following requirements have been met before continuing with the install.

  1. Downloading the source code

    Use Git to checkout a specific release source, the Git repository URL is https://github.com/RestComm/jain-slee.jdbc/ , then switch to the specific release version, lets consider 3.0.9.

    				[usr]$ git clone https://github.com/RestComm/jain-slee.jdbc/ restcomm-jain-slee-jdbc
    				[usr]$ cd restcomm-jain-slee-jdbc
    				[usr]$ git checkout tags/3.0.9
    					
  2. Building the source code

    Important

    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 resources/jdbc
    				[usr]$ mvn install
    				    

    Once the process finishes you should have the deployable-unit jar file in the target directory, if Restcomm JAIN SLEE is installed and environment variable JBOSS_HOME is pointing to its underlying WildFly 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 Git reference should be the master. The git checkout tags/3.0.9 command should not be performed. If already performed, the following should be used in order to switch back to the master:

		    [usr]$ git checkout master
			

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 deploy folder standalone/deployments.

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 deploy folder standalone/deployments.