IBM Support

Driver class name 'com.ibm.db2.jcc.DB2Driver' is not loaded

Troubleshooting


Problem

The following error message is returned in QMF for Workstation or QMF for WebSphere when trying to connect to Db2 using JDBC Type 4 type of connection:

An error occurred while connecting to repository: REP01004. The          
following error has occurred while accessing database: DAL01013. Cannot  
create connection to server 'server' due to the following: DAL01048.       
Driver class name 'com.ibm.db2.jcc.DB2Driver' is not loaded. This may be 
caused by an incorrect driver class name or missing JDBC driver        
libraries.

Symptom

The connection failure results in the QMF application being unusable.

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6QWT","label":"IBM QMF Analytics for Multiplatforms"},"Component":"QMF For Workstation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"QMF v10.1, QMF 12.2","Edition":"","Line of Business":{"code":"LOB76","label":"Data 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:
18 July 2023

UID

ibm16963139