To Add Support for Micro Focus Resource Adapters

Restriction: This topic applies only when the Enterprise Server feature is enabled.
  1. Edit the classpath to point to the archive files mfcobolpure.jar and mfconnector.jar, which contain the classes that support for the Micro Focus resource adapters.

    To do this, use the command:

    Windows:
    set classpath=%ProgramFiles(x86)%\Micro Focus\Visual COBOL\bin\mfcobolpure.jar;jar_path\mfconnector.jar;%classpath%
    UNIX:
    CLASSPATH=$COBDIR/lib/mfcobolpure.jar:jar_path/mfconnector.jar:$classpath

    where jar_path is the path to the archive files appropriate to your application server.

    Specific versions of these files are supplied for each supported application server and J2EE version. They are available in the application server subdirectories under %ProgramFiles(x86)%\Micro Focus\Visual COBOL\javaee-ccl\javaee6 (Windows) or under $COBDIR/javaee (UNIX) in your COBOL system installation or on the CD or DVD, as follows:

    • javaee5/oracleweblogic10
    • javaee6/ibmwebsphere85
    • javaee6/jboss64EAP
    • javaee6/oracleweblogic1211
    • javaee7/ibmwebsphere90
    • javaee7/jboss70EAP
    • javaee7/oracleweblogic1221