Implementing the OCI driver involves the following tasks:
In order for BPM to use the OCI driver, the library file must reside in the Logical Host’s library directory.
Install the Oracle client on the system where Logical Host resides.
Define the monitoring and recovery database in tnsnames.ora.
Copy ojdbc14.jar (for JDK 1.4 or later) or classes12.jar (for JDK 1.2 and 1.3) from the /jdbc/lib subdirectory in the Oracle client installation to the /lib subdirectory in the Logical Host domain-specific directory. For example,
copy from oracle_home\jdbc\lib
to logical_host\is\domains\domain1\lib
|
The location of the files in the Oracle installation varies depending on the version of Oracle being used and whether it is a client or server installation.
Restart the Logical Host instance to load the driver classes.
To enable the OCI driver with the BPM Engine, set the following environment variables.
oracle_home refers to the directory where the Oracle client or database is installed. For example, C:\oracle\ora92 or /home/oracle/orahome. This folder contains sub-folders such as bin, network, jdbc, jlib, and lib.
For Windows operating systems:
Set the oracle_home environment variable.
Add oracle_home\lib to the system PATH.
Add oracle_home\bin to the system PATH.
For Linux and Unix operating systems (except HPUX and AIX):
Set the oracle_homeenvironment variable.
Add oracle_home/lib to the LD_LIBRARY_PATH environment variable.
Add oracle_home/bin to the PATH environment variable.
For HP-UX:
Set the oracle_home environment variable.
Add oracle_home/lib to the SHLIB_PATH environment variable.
Add oracle_home/bin to the PATH environment variable.
For AIX:
Set the oracle_home environment variable.
Add oracle_home/lib to the LIBPATH environment variable.
Add oracle_home/bin to the PATH environment variable.
You must configure the BPM Engine to use the OCI driver instead of the default thin driver. This is configured in the Environment Explorer in the integration server properties sheet.
In the Environment Explorer, right-click the integration or application server, and then click Properties.
Click BPM Engine Configuration.
On the Properties dialog box, enter the service name in the Oracle Net Service Name field.
The value to enter is the TNS name configured in the tnsnames.ora file (located at <oracle_home>/network/admin). The following example shows a typical TNS name configuration where ORCL.STC.COM is the Oracle Net Service Name.
ORCL.STC.COM = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) |
Fill in the properties.
Click OK.
The following table describes the fields you must configure in the BPM Engine Configuration properties.
Description |
|
---|---|
An indicator of whether persistence is enabled. Select one of the Persist to Database options to enable persistence in BPM. |
|
The database platform in use. Select the correct version of Oracle to enable the OCI feature. |
|
The name of the computer on which the Oracle database resides. |
|
The port on which the Oracle database is listening. The default is 1521. |
|
The TNS name of the database (from the tnsnames.ora). The BPM Engine uses the OCI driver if this property is populated. Otherwise, the BPM Engine uses the default DataDirect driver. |
|
The name of the database. |
|
The user name to access the monitoring and recovery tables. |
|
The Password to access the monitoring and recovery tables. |