


Moreover I have a dependency on the mysql connector like so:įailed to execute goal :wildfly-maven-plugin:1.0.2.Final:add-resource (add_datasource) on project qcCollector: Could not execute goal add-resource. Configure the data source pooling with the classes mentioned below. You can have as many implementations inside a JDBC driver as you want. In case you want to add MySQL datasources to Wildly 8.1, use the jboss-cli to deploy the driver. Its not normally necessary to install JDBC drivers as modules.
Deploy your JDBC driver as a module, and select the driver class to use by specifyingSubsystem=datasources,data-source=java:jboss/datasources/qcdb Re: wildfly maven plugin fail to deploy mysql datasource. Unfortunately, when I try to deploy a datasource, it does not work failing with a message about the driver not found. Most common reason of this error is missing MySQL JDBC Driver JAR e. I'm able to upload the mysql connector as a jdbc driver, and I can create a datasource manually based on it. SQLException: No suitable driver found for jdbc:mysql://localhost:3306/test occurs. I have local jboss application server 4. I'm trying to set up an EAR project from Netbeans, using the wildfly-maven-plugin (1.0.2-Final) in a maven project. Suresh Khant wrote:Thanks Tim Holloway for your reply, I need to know where the driver jar was installed in your web application server.
