2 Replies Latest reply on Sep 12, 2012 1:38 PM by ssilvert

    jboss-cli.sh strange behaviour

    gioppoluca

      I need to configure JBoss version 7.1.1 using jboss-cli and using the following syntax since I need to do the work using puppet.

       

      The problem is:

       

      Case 1

      issue

      ./bin/jboss-cli.sh -c

      than

      [domain@localhost:9999 /] /server-group=test:add(profile=ha,socket-binding-group=ha-sockets)

       

      It works and create the expected results

       

      Case 2

      issue

      ./bin/jboss-cli.sh -c --commands="/server-group=test:add(profile=ha,socket-binding-group=ha-sockets)"

      {

          "outcome" => "success",

          "result" => undefined,

          "server-groups" => undefined

      }

      'socket-binding-group=ha-sockets)' is not a valid operation name.

       

      This is either a bug or a mistake from me.

      Any hint?

      Luca