Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver

Good evening all, does any one know anything about this error

JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

it always appears when i start deploying mysql jar and my application fails to start on the sever HTTP Status 404 i suffered a lot from that and can't have any solution, please help me.

Note: i used mysql-connector-java-5.1.24.jar

like image 596
Eslam Mohamed Mohamed Avatar asked Apr 13 '13 18:04

Eslam Mohamed Mohamed


1 Answers

That message gets printed because the MySQL driver is not JDBC compliant. That may seem a bit weird, but it's a long-standing known issue:

  • http://bugs.mysql.com/bug.php?id=62038

The problem is that to be fully JDBC compliant, the driver has to have SQL support conforming to the entry level of the SQL92 standard, but MySQL doesn't support features that are required by that. You read that right: MySQL doesn't support the most basic level of a twenty-year-old standard. Probably the most prominent example of a missing feature is check constraints. Therefore, the driver is non-compliant, and JBoss logs a message saying so.

However, this does not prevent the driver deploying correctly. As the message says, JBoss deploys it.

If your app is not working, the problem lies somewhere else.

like image 133
Tom Anderson Avatar answered Oct 21 '22 08:10

Tom Anderson