Datasource complaining that the wrong class is being specified for a connection URL

Solution Verified - Updated -

Issue

I have configured my datasource correctly but the error below is still appearing

Wrong driver class [class com.ibm.db2.jcc.DB2Driver] for this connection URL ["jdbc:db2://hostname.domain.org:40000/db2jcc4"]

Environment

  • JBoss Enterprise Application Platform (EAP) 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.