To deploy a Micro Focus resource adapter to a J2EE application server

  1. Start your J2EE application server and its adminstration console, and navigate to where you add resource adapters.
  2. Specify the resource adapter to deploy, which is one of:
    • mfcobol-notx.rar - does not support transactions
    • mfcobol-localtx.rar - supports local transactions
    • mfcobol-xa.rar - supports XA transactions
    • mfcobol*ora.rar - resource adapters for the Oracle J2EE application server

    There are two sets of resource adapters supplied: one set for J2EE 1.3 and one set for J2EE 1.4. They are available in $COBDIR/lib/j2ee13 and $COBDIR/lib/j2ee14 in your COBOL development system.

  3. Ensure that support for the resource adapters is on your path and classpath environment variables.

    方法

  4. You might need to provide the applciation server with a deployment descriptor for the resource adatper. Deployment descriptors are supplied for the following application servers:
    • JBoss - mfcobol*ds.xml, which are supplied in the folder with the .rar files
    • Oracle - oc4j-ra.xml, which is packaged in each .rar file
    • WebLogic - weblogic-ra.xml, which is packaged in each .rar file
    • WebSphere - does not require deployment descriptors

Notes:

関連項目