4 Replies Latest reply on Feb 1, 2013 7:28 AM by jaikiran pai

    I am trying to add JDBC Drviers as Modules in Domain Mode

    techsjs2012 Newbie

      I am trying to add JDBC Drviers as Modules in Domain Mode. so I copy the drivers and the module.xml files to the modules folder just like I do on the standalone mode.

       

      I then stop the admin with jboss-cli.sh and I do a connect.

       

      After I am connected I issue the following commands just like I do in the standalond mode but I get the following errors

       

      [domain@localhost:9999 /] /subsystem=datasources/jdbc-driver=as400:add(driver-name="as400",driver-module-name="com.ibm.as400",driver-xa-datasource-class-name="com.ibm.as400")

      Failed to get the list of the operation properties: "JBAS010850: No handler for operation read-operation-description at address [

          ("subsystem" => "datasources"),

          ("jdbc-driver" => "as400")

      ]"

      [domain@localhost:9999 /] /subsystem=datasources/jdbc-driver=mysql:add(driver-name="mysql",driver-module-name="com.mysql.jdbc",driver-xa-datasource-class-name="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource")

      Failed to get the list of the operation properties: "JBAS010850: No handler for operation read-operation-description at address [

          ("subsystem" => "datasources"),

          ("jdbc-driver" => "mysql")

      ]"