|
From: eilaf s. <eil...@gm...> - 2014-11-02 10:58:20
|
There is no need to edit standalone.xml am i right?, Here is my details "I
was wrong am using JBOSS EAP 6.3":
I put module.xml on
/root/pki/jboss-eap-6.3/modules/system/layers/base/org/mariadb/main , it
contains:
<?xml version"1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.9" name="org.mariadb">
<resources>
<resource-root path="mariadb-java-client-1.1.5.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
I put the connector on the same directory. I run ./jboss-cli.sh
then write the command
/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)
Then I get that error!!!
On Sun, Nov 2, 2014 at 12:38 PM, EJBCA Support <ejb...@pr...>
wrote:
>
> Seems there is something wrong in your file, or you are not matching the
> driver version in module.xml with the jar file you are placing there.
>
> You have to give full details of what you do in order to figure out what
> is wrong.
>
> (it works for me ;-))
>
> Cheers,
> Tomas
>
> On 2014-11-02 06:48, eilaf sorkatti wrote:
> >
> > Hi,
> > Am using JBOSS EAP 6.2.0, I Create the JDBC module configuration file
> > module.xml. when I try to register driver for mariaDB i get:
> > /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
> > }
> >
> > --
> > Eilaf Hamad Elnil Mugbil
> > University Of Khartoum
> > School Of Mathematical science
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> >
> > _______________________________________________
> > Ejbca-develop mailing list
> > Ejb...@li...
> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop
> >
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ejbca-develop mailing list
> Ejb...@li...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>
--
Eilaf Hamad Elnil Mugbil
University Of Khartoum
School Of Mathematical science
|