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

    jboss-cli.sh strange behaviour

    luca gioppo Novice

      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


      ./bin/jboss-cli.sh -c


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


      It works and create the expected results


      Case 2


      ./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?