To Deploy a Micro Focus Resource Adapter to a Java Application Server

  1. Start your Java application server and its administration console, and navigate to where you add resource adapters.

    The resource adapter must be deployed on a machine where a COBOL system such as Enterprise Server or Enterprise Developer is installed.

  2. Specify the resource adapter to deploy. These can be one of the following:
    • mfcobol-notx.rar - does not support transactions
    • mfcobol-localtx.rar - supports local transactions
    • mfcobol-xa.rar - supports XA transactions

    Specific versions of these files are supplied for each supported application server and Java version. They are available in the application server subdirectories under $COBDIR/javaee in your COBOL development system, as follows:

    • javaee5/oracleweblogic10
    • javaee6/ibmwebsphere85
    • javaee6/ibmwebsphere855
    • javaee6/jboss64EAP
    • javaee6/oracleweblogic1211
    • javaee7/ibmwebsphere90
    • javaee7/jboss70EAP
    • javaee7/oracleweblogic1221
  3. Ensure that the support for the resource adapters and ensure it is on your path and classpath environment variables.
  4. You might need to provide the application server with a deployment descriptor for the resource adapter. A deployment descriptor is supplied for WebLogic - weblogic-ra.xml, which is packaged in each .rar file.

    Among other things, the deployment descriptors specify the following connection information, and you must not change this.

    Note: The JNDI name and the reference name that you enter both depend upon your Java version.
    JNDI name Reference name
    Java EE 5 eis\MFCobol_v1.5 CCIMFCobol_v1.5
    Java EE 6 eis\MFCobol_v1.5 CCIMFCobol_v1.5
    Java EE 7 eis\MFCobol_v1.5 CCIMFCobol_v1.5