|
From: eilaf s. <eil...@gm...> - 2014-11-05 11:12:45
|
Hello all,
Thank you Tomas for your reply. This is what appear when enable debugging:
14:09:33,587 DEBUG [org.jboss.as.controller.management-operation]
(management-handler-thread - 4) JBAS014616: Operation ("add") failed -
address: ([
("subsystem" => "datasources"),
("jdbc-driver" => "org.mariadb.jdbc.Driver")
]) - failure description: "JBAS010441: Failed to load module for driver
[org.mariadb]"
14:09:54,499 DEBUG [org.apache.catalina.session]
(ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Start expire
sessions StandardManager at 1415185794499 sessioncount 0
On Mon, Nov 3, 2014 at 4:41 PM, Tomas Gustavsson <to...@pr...> wrote:
>
> This one seems to works for me with module.xml in:
> jboss-eap-6.2/modules/system/layers/base/org/mariadb/main
>
> <?xml version="1.0" encoding="UTF-8"?>
> <module xmlns="urn:jboss:module:1.0" 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>
>
>
> /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)
>
>
> You need to analyze your server.lgo to see why JBoss does not like your
> driver. Perhaps you have written with root privileges?
>
> Cheers,
> Tomas
>
> On 2014-11-03 07:08, eilaf sorkatti wrote:
> > 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.0" 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 1:58 PM, eilaf sorkatti <eil...@gm...
> > <mailto:eil...@gm...>> wrote:
> >
> > sorry the urn:jboss:module:1.0
> >
> > On Sun, Nov 2, 2014 at 1:58 PM, eilaf sorkatti
> > <eil...@gm... <mailto:eil...@gm...>> wrote:
> >
> > 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... <mailto: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...
> > <mailto:Ejb...@li...>
> > >
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
> > >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Ejbca-develop mailing list
> > Ejb...@li...
> > <mailto:Ejb...@li...>
> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop
> >
> >
> >
> >
> > --
> > Eilaf Hamad Elnil Mugbil
> > University Of Khartoum
> > School Of Mathematical science
> >
> >
> >
> >
> > --
> > Eilaf Hamad Elnil Mugbil
> > University Of Khartoum
> > School Of Mathematical science
> >
> >
> >
> >
> > --
> > 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
|