Jboss Deploy Jdbc Driver Maven

Oracle JDBC Driver compatible with JDK8, JDK9, and JDK11 Last Release on Sep 15, 2019 2. Ojdbc10 11 usages. Com.oracle.ojdbc » ojdbc10. Open Source JDBC Drivers. For open source JDBC drivers, buildomatic is setup so that there will be a single default driver used. If you would like to use a driver other than the default driver, you can modify the buildomatic property files that control which JDBC driver is used as the default. Before your application can connect to a JDBC datasource, your datasource vendor's JDBC drivers need to be installed in a location where JBoss EAP 6 can use them. JBoss EAP 6 allows you to deploy these drivers just like any other deployment. This means that you can deploy them across multiple servers in a server group, if you use a managed domain. It's not normally necessary to install JDBC drivers as modules. The JDBC driver jar can be deployed as a jar using the CLI or by simply copying it into the 'deployments' directory. Possible reasons for using a module definition instead include: a) the driver is dependent upon other jars. Install and setup a JDBC driver to convert your application code to the relevant database language. Choose an appropriate driver from the supported list of drivers which appears in 'Driver Vendor' drop down list. For more information, see the chapter entitled Datasource Management in the Administration and Configuration Guide.

Driver

I wonder if anybody tried configuring mysql datasource by installing mysql driver in deployments folder as suggested here

Install the JDBC driver as a deployment

When you install the JDBC driver as a deployment, it is deployed as a regular JAR. This is the recommended way to install the driver.

.................

.................

In AS7 standalone mode, you simply copy the JDBC 4-compliant JAR into the AS7_HOME/standalone/deployments directory.

Jboss deploy jdbc driver maven spring boot

I tried it but I am seeing these messages in log

JBAS014775: New missing/unsatisfied dependencies:

service jboss.jdbc-driver.mysql-connector-java-5_1_18-bin_jar (missing) de

pendents: [service jboss.data-source.java:/DefaultDS]

JBAS014776: Newly corrected services:

service jboss.jdbc-driver.mysql-connector-java-5_1_18-bin_jar (no longer r

equired)

Jboss Deploy Jdbc Driver Maven Spring Boot