COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: JosephStreet on 09 Nov 2012 01:12:52 AM

Title: Test Oracle connection fails - For Configuration (Data Source Connections)
Post by: JosephStreet on 09 Nov 2012 01:12:52 AM
Hi, I'm currently configuring a new intallation of Cognos on WinSrv2008. Within Cognos Administration I've clicked on Configuration, to configure a data source. (Oracle 11g data source).

I've click Test the connection.

There are two dispatcher available for this installation.  I've selected both dispatcher URL and click Test. (also added the User ID and password for my oracle source).

The connection string,

^User ID:^?Password:;LOCAL;OR;ORACLE@%s@test/%s@COLSEQ=IBM_JD_CNX_STR:^User ID:^?Password:;LOCAL;JD-OR;URL=jdbc:oracle:oci:@test;DRIVER_NAME=oracle.jdbc.driver.OracleDriver

Test is valid name in my TNSNames.ora

This fails and has the following error message

Oracle / Compatible  Failed  QE-DEF-0285 The logon failed.
Oracle (JDBC) / Dynamic  Failed   XQE-GEN-0002 An unexpected exception occurred: ocijdbc11 (Not found in java.library.path)










Title: Re: Test Oracle connection fails - For Configuration (Data Source Connections)
Post by: Rahul Ganguli on 13 Nov 2012 12:13:17 AM
Hi,

Can you please try to put the complete tns entry in connection string, this might be because TNSNames.ora is not recognized by cognos. This way your first error will be gone.
For second error you have to copy the ojdbc6.jar file from oracle to Cognos bin/bin64 directory.

Regards,
Rahul