Добрый день! После запуска JBoss CLI и регистрации драйвера MariaDB:
[standalone@localhost:9999 /] /subsystem=datasources/jdbc-driver=org.mariadb.jdbc.Driver:add(driver-name=org.mariadb.jdbc.Driver,
driver-module-name=org.mariadb,driver-xa-datasource-class-name=org.mariadb.jdbc.MySQLDataSource)
Выбивает ошибку
{
"outcome" => "failed",
"failure-description" => "JBAS010441: Failed to load module for driver [org.mariadb]",
"rolled-back" => true
}
Мой файл module.xml(/opt/jboss/modules/org/mariadb/main)
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="org.mariadb">
<resources>
<resources-root path="mariadb-java-client-1.1.7.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>