Ping failed in MysqlValidConnectionChecker in JBoss/MySQL-ConnectorJ Combination
Today I was battling an issue for some of my colleagues. They were getting this exception from JBoss/Mysql ConnectorJ driver:
java.sql.SQLException: Ping failed: java.lang.IllegalArgumentException: object is not an instance of declaring class
in the JBoss console.
A look at the stacktrace told me, that it was coming from inside the method com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker.isValidConnection, so naturally, I dived into the [...]

