Skip Headers

Oracle® Application Server Forms Services Deployment Guide 10g Release 2 (10.1.2) B14032-03 |
| Library | Product | Contents | Index

Previous | Next |

# 4.8 Including Graphics in Your Oracle Forms Application

In order to integrate graphics applications with your Oracle Forms applications, you must set the path definition in the Forms Servlet environment to include graphics as follows:

    PATH=ORACLE_HOME/bin;<GRAPHICS6I_HOME>/bin

The path definition of the Forms Servlet environment, is taken from the path definition of the servlet container. The file or location where the path will be defined is different for different servlet containers.

For more information about graphics, see Oracle Forms Developer and Oracle Application Server Forms Services: Migrating Forms Applications from Forms6i and Deploying Graphics in Oracle9iAS Forms Services, available at Oracle Technology Network (OTN), `http://www.oracle.com/technology/products/forms/`.

## 4.8.1 Oracle Graphics 6i and Oracle Database 9.0.1.4.0 (64bit)

Due to a limitation in the 8.0.6 RSF, Oracle Graphics 6i on Windows cannot connect to a 64-bit database. Thus, if you are using Oracle Forms 10g (9.0.4) or later to connect to a 64-bit database, and want to integrate with Oracle Graphics, you will need to upgrade your Oracle 6i Home (where Graphics is installed) to include an RSF version that contains a fix to bug 3088708. Please contact Oracle Support regarding availability of such an RSF.

## 4.8.2 Configuring Graphics 6i for use by Reports Server

Perform the following to correctly setup Reports/Graphics for Forms/Reports/Graphics integration:

1. In the `graphicsrun.sh` script enter the following:

       ORACLE_GRAPHICS6I_HOME=<location forms6i>
       export ORACLE_GRAPHICS6I_HOME
       TK_PRINTER=<real printer>

2. In the reports.sh script enter the following:

       ORACLE_GRAPHICS6I_HOME=<location forms6i>; export ORACLE_GRAPHICS6I_HOME
       REPORTS_DEFAULT_DESPLAY=NO; export REPORTS_DEFAULT_DESPLAY
       DISPLAY=<computer name>:0.0; export DISPLAY