5 Replies Latest reply on Jun 25, 2013 2:24 AM by Lukasz Z

    EAP6.1 CLI module add

    Lukasz Z Newbie



      When I execute


      jboss-cli.sh -c


      connection is ok

      [domain@localhost:9999 /]


      and execute

      module add --name=com.oracle --resources=/tmp/ojdbc6.jar --dependencies=javax.api,javax.transaction.api


      JBoss respond to me:

      "The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable)."


      why, what is wrong ?


      sometimes this command executes correctly and module is present.


      this is product info

      JBoss AS release: 7.2.0.Final-redhat-8 "Janus"

      JBoss AS product: EAP 6.1.0.GA