IBM Support

JDBC/OCI connection failed with error: XQE-GEN-0002 An unexpected exception occurred: ocijdbcN (Not found in java.library.path)

Troubleshooting


Problem

Testing an Oracle data source defined within IBM Cognos Server Administration results in an error for the Dynamic Query Mode(DQM) connection using TNS Names Alias Connection throws error below -
XQE-GEN-0002 An unexpected exception occurred: ocijdbcN Not found in java.library.path
Where N is the Oracle client release e.g. 11, 12, 18, 19, etc.
 While testing for CQM is successful.

Symptom

JDBC/OCI connection failed with error: XQE-GEN-0002 An unexpected exception occurred: ocijdbc11 Not found in java.library.path.

[{"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Administration and Configuration v11x","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0.10;11.0.9;11.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
13 January 2026

UID

swg22015484