3 Replies Latest reply on Feb 5, 2013 4:43 AM by Wolf-Dieter Fink

    Trying to use jboss-cli to add database JDBC module but getting error

    techsjs2012 Newbie

      I am trying to use jboss-cli to add database JDBC driver as module but I am geting a error.

       

       

       

      I am getting the following error:

      Unexpected command 'module add --name=com.ibm.as400 --resources=jt400.jar --dependencies=javax.api,javax.transaction.api'. Type 'help --commands' for the list of supported commands.

       

      Here is my script:

      #

      # this is my add script

      #

      connect

      #

      module add --name=com.ibm.as400 --resources=jt400.jar --dependencies=javax.api,javax.transaction.api

      #

      # AS/400 Information

      #

      /subsystem=datasources/jdbc-driver=as400driver:add(driver-module-name="com.ibm.as400",driver-name=as400,driver-xa-datasource-class-name="com.ibm.as400")