OBIEE 11.1.1 - Troubleshooting OCI Connections
By Ahmed Awan-Oracle on Dec 21, 2011
If you are having trouble connecting to an Oracle Database using OCI, check to ensure that the following conditions are true:
■ The computer running the Oracle BI Server must use Oracle Call Interface (OCI) to connect to the database.
■ If you choose not to use the entire connect string in the repository connection pool, you must ensure that a valid tnsnames.ora file is set up in the following location within the Oracle Business Intelligence environment, so that the Oracle BI Server can locate the entry:
■ If you choose not to use the entire connect string in the repository connection pool, ensure that the net service name in the tnsnames.ora file matches the Data Source Name used in the connection pool. For example, in the following example of a tnsnames.ora entry, the corresponding Oracle BI repository connection pool Data Source Name is IT.
(ADDRESS = (PROTOCOL = TCP)(HOST = ITQA)(PORT = 1521))
(SERVICE_NAME = ITQA.corp)
The following procedure shows how to check repository database and connection pool settings against the Oracle tnsnames.ora settings.
To check that the repository database and connection pool settings are correct:
1. Open your repository in the Administration Tool.
2. In the Physical layer, double-click the database you want to check to display the Database dialog.
3. On the General tab, in the Data source definition: Database field, ensure that the appropriate Oracle Database version is selected. Then, click OK.
4. Open the Connection Pool dialog for this data source. You might need to expand the database object in the Physical layer to see the Connection Pool object.
5. In the Connection Pool dialog, check that the following is true:
– The Call interface field displays the appropriate value for the release of the Oracle Database you are using.
– The Data source name field displays the Oracle Database net service name that you defined in the tnsnames.ora entry.
– The User name and password fields contain the correct values.
Change the values if necessary, then click OK.
6. In the Oracle Business Intelligence environment, open the tnsnames.ora file located in the following directory:
7. Check that a valid net service name exists with the following characteristics:
– Matches the connection pool settings for the Data Source Name
– Specifies the targeted Oracle physical database