Deploying the JVM COBOL Run-time System within the Application

If you are deploying the JVM COBOL run-time system (mfcobolrts.jar) as a shared module in the application server, you do not need to perform this step. If you are not deploying the run-time system as a shared module, you must deploy it from within the dynamic web project.
  1. Ensure the application does not attempt to locate the run-time system on the application server.
    1. In the Navigator pane, navigate to TemperatureConverterPrj > WebContent > META-INF, then double-click MANIFEST.MF.

      The manifest file for the application appears.

      MANIFEST.MF

    2. If present, delete the line that starts Dependencies:, then save the file.
  2. Add the run-time system to the project:
    1. Right-click TemperatureConverterPrj then choose Properties.

      The Properties for <project> dialog box appears.

    2. Click Java Build Path.
    3. On the Libraries tab, click Add Library.

      The Add Library dialog box appears.

    4. Choose COBOL JVM Run-time System, click Next, then click Finish.
  3. Set the run-time system to be deployed with the application:
    1. In the Properties for <project> dialog box, click Deployment Assembly.
    2. Click Apply.

      The Web Deployment Assembly pane appears.

    3. Click Add.

      The New Assembly Directive dialog box appears.

    4. Click Java Build Path Entries, then click Next.
    5. Click COBOL JVM run-time System, then click Finish.

      The JVM COBOL run-time system will be deployed with the web application.

      Deploy run-time