To Add Support for Micro Focus Resource Adapters

  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\Enterprise Developer\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\Enterprise Developer\javaee (Windows) or under $COBDIR/javaee (UNIX) in your COBOL system installation or on the CD or DVD, as follows:

    • javaee5/ibmwebsphere7
    • javaee5/jboss5
    • javaee5/oracleweblogic10
    • javaee6/ibmwebsphere8
    • javaee6/ibmwebsphere85
    • javaee6/jboss6
    • javaee6/oracleweblogic1211