Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error adding the jdbc Mysql driver

216 views
Skip to first unread message

Stephan Engelhardt

unread,
Aug 7, 2018, 12:02:02 PM8/7/18
to dcm...@googlegroups.com

 Hello everybody

I am currently trying to install the dcm4chee-arc-5.13.3-mysql using openldap and mysql 8 and mysqlconnector -java.8.0.11

One of the things I am not certain about is whether to install the jdbc driver as deployment or as a core module.
I think the installation guide is confusing as to whether the subsequent steps 9 and 10 are for both ways ( deploymen  / core modules)

I started with tyring the depoyment method - got nowhere and trying the core module method
so I follow step 9 and 10, have changed the module.xml to say

<module name = "com.mysql" ...>


<resource-root path="mysql-connector-java-8.0.11.jar"/>


But I have a problem registering the data source with 
 
/subsystem=datasources/jdbc-driver=mysql:add(driver-module-name=com.mysql,driver-name=mysql)


as jboss reports an error

ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 6) WFLYCTL0013: Operation ("add") failed - address: ([
   
("subsystem" => "datasources"),
   
("jdbc-driver" => "mysql")
]) - failure description: "WFLYJCA0041: Failed to load module for driver [com.mysql]"

When I follow the steps under the jdbs developer guide (https://docs.jboss.org/author/display/WFLY8/Developer+Guide#DeveloperGuide-InstalltheJDBCdriver) and put a module.xml and the connector jar under modules/com/mysql/main then the adding of the datasource just renders the jboss cmd unresponsive


what could possibly be the porblem here ??

thank you for your help

Stephan

Stephan Engelhardt

unread,
Aug 7, 2018, 12:18:12 PM8/7/18
to dcm4che
ok removing the jdbc driver  from standalone deployments seems to have done the trick ?
Reply all
Reply to author
Forward
0 new messages