Troubleshooting
Problem
When testing a oracle connection that has Dynamic Query Mode (JDBC) enabled, the connection fails with the error: XQE-GEN-0002 An unexpected exception occurred: ocijdbc11 (Not found in java.library.path)
Symptom
Dynamic Query Mode (JDBC) connection fails
Cause
ocijdbc11.dll file was not accessible to IBM Cognos.
Environment
IBM Cognos 64-bit Windows with 64-bit Report Server enabled
Oracle 11g reporting database
Resolving The Problem
1) Copy the ocijdbc11.dll from the Oracle 64 bit directory to the c10_64/bin64 folder. You can also choose to add the Oracle 64 bit client directory to the beginning of the windows PATH variable.
2) Open IBM Cognos Configuration
3) Under the Environment section ensure the "Report Server Execution Mode" is set to 64 bit.
4) Save the configuration
5) Restart the services.
Another possible solution:
Change connection type to ServiceID rather than TNSNAMES-Alias
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21573898