-
Enhancement
-
Resolution: Done
-
Minor
-
14.0.1.Final
-
None
When MySQL drivers are deployed as jars (rather than modules), multiple named drivers:
... INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
... INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.fabric.jdbc.FabricMySQLDriver (version 5.1)
... INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.44-bin.jar_com.mysql.jdbc.Driver_5_1
... INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.44-bin.jar_com.mysql.fabric.jdbc.FabricMySQLDriver_5_1
Consequently, references to the driver by name (such as the below) fail to resolve
<datasource jndi-name="java:jboss/datasources/mysql" pool-name="MySQL" enabled="true"> ... <driver>mysql-connector-java-5.1.44-bin.jar</driver> ... </datasource>
This issue was already resolved for the case where a module was used to deploy the driver.
- causes
-
JBEAP-16515 service created for first jdbc driver class in services/j.s.Driver has different name
- Closed
-
WFLY-19167 war containing JDBC drivers deploys an extra driver
- Closed
- relates to
-
WFLY-3218 Module for MySQL JDBC driver with version 5.1.30+ needs <driver-class> in standalone.xml
- Closed