3 Replies Latest reply on Aug 22, 2012 11:30 AM by Wolf-Dieter Fink

    Running cli commands returns Unexpected command

    Stylianos Koussouris Newbie

      When I tried to add a new jms queue via the CLI I get an unexpected command message a seen below

       

      {code}[standalone@localhost:9999 /] add-jms-queue --name=myQueue --entries=queues/myQueue

      Unexpected command 'add-jms-queue --name=myQueue --entries=queues/myQueue'. Type 'help --commands' for the list of supported commands.{code}

       

      I proceeded to execute help --commands which results in

      {code}[standalone@localhost:9999 /] help --commands

      Commands available in the current context:

      To read a description of a specific command execute 'command_name --help'.{code}

       

      so no list of commands and then I executed the last recommended command

       

      {code}[standalone@localhost:9999 /] add-jms-queue --help

      Unexpected command 'add-jms-queue --help'. Type 'help --commands' for the list of supported commands.{code}

       

      I am confused on the usage of the commands and am sure that it is something simple yet not obvious to me.