www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Installation Guide

OpenLink License Manager Usage Notes
Windows (32-bit)
Windows (64-bit)
UNIX & Linux
Mac OS X
Product Licensing
Oracle Connection Pooling Support
Oracle 10g Instant Client: Connection String Formats
OpenLink Single-Tier Connections using Instant Client Oracle Instant Client Related Links
Oracle Real Application Cluster (RAC) / TAF Support

4.8. Oracle 10g Instant Client: Connection String Formats

The Oracle 10g Instant Client can be used in OpenLink single-tier and multi-tier environments. In a three-tier configuration, an OpenLink Oracle 10g agent residing on the middle-tier can use the Instant Client to connect to an Oracle instance on the third tier.

Instant Client allows you to run applications without installing the standard Oracle client (SQL*Net or Net8) or having an ORACLE_HOME. It supports two basic connection string formats:

Naming methods that require a configuration file (such as tnsnames.ora or sqlnet.ora) for name translation can also be used if the environment variable TNS_ADMIN is set to point to the directory containing the file.

4.8.1. OpenLink Single-Tier Connections using Instant Client

Examples of accepted connection parameters settings are shown below.

4.8.1.1. Defining a DSN using the OpenLink Single Tier DSN Configuration Wizard

1) Using a local NET service name TNS_ADMIN must point a directory containing to a tnsnames.ora file to allow translation of the local NET service name to an Oracle connect descriptor.

Table: 4.8.1.1.1.
Connection String: O10G-TAF
Login ID: scott
Password: tiger

2) Using a connect URL string

Connection String: //192.168.203.11:1521/O10G
Login ID: scott
Password: tiger

3) Using an Oracle NET connect descriptor

Table: 4.8.1.1.3.
Connection String: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.203.11)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=O10G)))
Login ID: scott
Password: tiger

All the above forms for the 'Connection String' field can also be appended to the Login ID using an '@' separator. The password can be supplied separately, or appended to the Login ID string using '/' as a separator.

4) Using a local NET service name appended to Login ID TNS_ADMIN must point a directory containing to a tnsnames.ora file to allow translation of the local NET service name to an Oracle connect descriptor.

Table: 4.8.1.1.4.
Login ID: scott@O10G-TAF
Password: tiger

5) Using a connect URL string appended to Login ID

Table: 4.8.1.1.5.
Login ID: scott/tiger@//192.168.203.11:1521/O10G
Password: &<blank>

6) Using an Oracle NET connect descriptor appended to Login ID

Table: 4.8.1.1.6.
Login ID: scott@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.203.11)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=O10G)))
Password: tiger



4.8.2. Oracle Instant Client Related Links