Oracle have produced many different versions of their JDBC thin driver. The number refers to the version of JDK/JRE that they were compiled with/for (strictly speaking, not the version of the file!). For example OJDBC14 is compiled with JDK 1.4 Therefore OJDBC14.JAR files are generally older than OJDBC5.JAR files (which were compiled for JDK 5). Failed to find or load the JDBC driver: tibcosoftwareinc.jdbc.oracle.OracleDriver'Please provide a solution to resolve this.Regards,VasanthHi,I am using BW 5.9. When I Tibco Oracle Driver Issue TIBCO Community. Unable to load oracle.jdbc.driver.oracleDriver when testing the connection to the content store. Workaround Check for the ojdbc.jar file in the RRDI-Install-Locationcognoswebappsp2pdWEB-INFlib directory (with the ‘/’ character as the path separator for Linux and AIX).
Make sure all prerequisites have been met before setting up a JDBC connection to a data source:
- The JDBC driver for the selected database must be available to BI Publisher. If you are using an Oracle database or one of the DataDirect drivers provided by WebLogic Server, then the drivers must be installed in the correct location and there is no further setup required.
- If you plan to use a different version of any of the drivers installed with WebLogic Server, then you can replace the driver file in
WL_HOMEserverlib
with an updated version of the file or add the new file to the front of your CLASSPATH.If you plan to use a third-party JDBC driver that is not installed with WebLogic Server, then you must update the WebLogic Server classpath to include the location of the JDBC driver classes. Edit the commEnv.cmd/sh script inWL_HOME/common/bin
and prefix your classes as described in “Modifying the Classpath” in Command Reference for Oracle WebLogic Server.For more information, see Administering JDBC Data Sources for Oracle WebLogic Server.Note:When the JDBC connection is defined, the administrator defines the user that BI Publisher uses to connect to the database. It is the responsibility of the administrator to establish security on the database to allow or disallow actions this user can take on the database schema.For report consumer access to data that is returned in a report, the administrator and data model developer can establish security, if needed, that can limit the data viewed by a particular BI Publisher user. One method for securing data returned is to use pre-process and post-process function calls to pass the xdo_username. For more information see About Pre Process Functions and Post Process Functions.
To set up a JDBC connection to a data source:
![Cognos Oracle Jdbc Driver Oracledriver Cognos Oracle Jdbc Driver Oracledriver](/uploads/1/1/6/7/116785499/789444727.jpg)
![Cognos Cognos](/uploads/1/1/6/7/116785499/448460509.jpg)
Oracle 12c Jdbc Driver
- From the Administration page, click JDBC Connection to display the list of existing JDBC connections.Private JDBC connections are also supported. For more information, see Data Modeling Guide for Oracle Business Intelligence Publisher.
- Click Add Data Source.
- Enter the following fields for the new connection:
- Data Source Name — Enter a display name for the data source. This name is displayed in the Data Source selection list in the Data Model Editor.
- Driver Type — Select the database type from the list. When you select a driver type, BI Publisher automatically displays the appropriate Database Driver Class and provides the appropriate Connection String format for your selected database.
- Database Driver Class — This is automatically entered based on your selection for Driver Type. You can update this field if desired.For example: oracle.jdbc.OracleDriver orhyperion.jdbc.sqlserver.SQLServerDriver
- Connection String — Enter the database connection string.Example connection strings:
- Oracle databaseFor an Oracle database (non-RAC) the connect string must have the following format:jdbc:oracle:thin:@[host]:[port]:[sid]For example: jdbc:oracle:thin:@myhost.us.example.com:1521:prod
- Oracle RAC databaseTo connect to an Oracle RAC database, use the following format:jdbc:oracle:thin:@//<host>[:<port>]/<service_name>For example: jdbc:oracle:thin:@//myhost.example.com:1521/my_service
- Microsoft SQL ServerFor a Microsoft SQL Server, the connect string must have the following format:jdbc:hyperion:sqlserver://[hostname]:[port];DatabaseName=[Databasename]For example:jdbc:hyperion:sqlserver://myhost.us.example.com:7777;DatabaseName=mydatabase
- Use System User — This is reserved for connections to the Oracle BI Server.See Setting Up a JDBC Connection to the Oracle BI Server.
- User Name — Enter the user name required to access the data source on the database.
- Password — Enter the password associated with the user name for access to the data source on the database.
- Pre Process Function and Post Process Function — (Optional) Enter a PL/SQL function to execute when a connection is created (Pre Process) or closed (Post Process). For more information see About Pre Process Functions and Post Process Functions.
- Use Proxy Authentication — Select this box to enable Proxy Authentication. See About Proxy Authentication for more information.
- Click Test Connection. A confirmation is displayed.The figure below shows the general settings of the JDBC connection page.
Description of the illustration GUID-E5F53D43-9F57-4BA5-8B8E-BE598ACD6317-default.gif - (Optional) Enable a backup database for this connection by entering the following:
- Use Backup Data Source — Select this box.
- Connection String — Enter the connection string for the backup database.
- Username / Password — Enter the username and password for this database.
- Click Test Connection. A confirmation is displayed.The figure below shows the Backup Data Source region of the page.
Description of the illustration GUID-B442DED0-E6BA-41DF-B316-59946AFFA0C6-default.gif
- Define security for this data source. Use the shuttle buttons to move roles from the Available Roles list to the Allowed Roles list. Only users assigned the roles on the Allowed Roles list can create or view reports from this data source.The settings defined here are passed down to the backup data source, if one is defined.