"Wrong driver class" error during datasource connection attempt in JBoss EAP
Issue
... javax.resource.ResourceException: IJ031083: Wrong driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver] for this connection URL [jdbc:microsoft:sqlserver://SERVERNAME:1433;DatabaseName=DBNAME]
... org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.microsoft.sqlserver.jdbc.SQLServerDriver, url: jdbc:microsoft:sqlserver://SERVERNAME:1433;DatabaseName=DBNAME
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4
- 5
- 6
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.