Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Configuring: Implementing the OCI Driver
 

Classic Java CAPS

Configuring JMS Clients

Configuring Java CAPS for SSL Support

Configuring Java CAPS Business Processes

Business Process and Element Properties Overview

Business Process Properties

Modeling Element Properties

Configuring Business Properties

Configuring General Properties

Configuring Business Process Attributes

Configuring Partners

Defining Message Correlations

Viewing WSDL Files

Configuring Grid Properties

Configuring Modeling Element Properties

Adding Logging and Alerts to an Element

Configuring Business Processes for XA Transactions

Persisting Reporting Data for Business Processes

Configuring a Business Process for Reporting Persistence

Configuring Database Connection Information

Creating a Business Process Database Table

Dropping a Business Process Database Table

Configuring BPM for the OCI Driver

System Requirements for the Oracle OCI driver

Before You Begin

Implementing the OCI Driver

Implementing Transparent Application Failover

Troubleshooting

Configuring Environment Components for the Sun Business Process Manager

Configuring Sun Master Indexes (Repository)

Configuring Java CAPS Project Components for Application Adapters

Configuring Java CAPS Project Components for Communication Adapters

Configuring Java CAPS Project Components for Database Adapters

Configuring Java CAPS Project Components for Web Server Adapters

Configuring Java CAPS Environment Components for Application Adapters

Configuring Java CAPS Environment Components for Communications Adapters

Configuring Java CAPS Environment Components for Database Adapters

Configuring Java CAPS Environment Components for Web Server Adapters

Configuring JDBC/ODBC Drivers

Configuring SAP R/3 for the SAP BAPI Adapter

Configuring Secure Network Communications for SAP

Configuring Siebel EAI Workflows

Importing an SNA Custom Handshake Class

Configuring WebLogic for Asynchronous Communication

Configuring Master Index (Repository) Connectivity and Environments

Related Topics for Sun Adapter for Batch/FTP

Java EE Based Components

Broadcasting Master Index Updates to External Systems

Configuring Sun Master Indexes

Implementing the OCI Driver

Implementing the OCI driver involves the following tasks:

Copying the OCI Driver Library Files

In order for BPM to use the OCI driver, the library file must reside in the Logical Host’s library directory.

To copy the OCI driver library files
  1. Install the Oracle client on the system where Logical Host resides.
  2. Define the monitoring and recovery database in tnsnames.ora.
  3. 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

    
    

    Note - 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.

  4. Restart the Logical Host instance to load the driver classes.
Setting up the Environment

To enable the OCI driver with the BPM Engine, set the following environment variables.

Note - 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:

For Linux and Unix operating systems (except HPUX and AIX):

For HP-UX:

For AIX:

Configuring the BPM Engine to use the Oracle OCI Driver

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.

To configure the engine to use the Oracle OCI driver
  1. In the Environment Explorer, right-click the integration or application server, and then click Properties.
  2. Click BPM Engine Configuration.
  3. 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)
        )
  4. Fill in the properties.
  5. Click OK.

    The following table describes the fields you must configure in the BPM Engine Configuration properties.

    Field
    Description
    Persistence Mode
    An indicator of whether persistence is enabled. Select one of the Persist to Database options to enable persistence in BPM.
    Database
    The database platform in use. Select the correct version of Oracle to enable the OCI feature.
    Database Host
    The name of the computer on which the Oracle database resides.
    Database Port
    The port on which the Oracle database is listening. The default is 1521.
    Oracle Net Service Name
    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.
    Database Instance/Schema
    The name of the database.
    Database User
    The user name to access the monitoring and recovery tables.
    Password
    The Password to access the monitoring and recovery tables.