kalle@elvira:~/tmp/jboss-as-7.1.1.Final/bin$ ./jboss-cli.sh --file=/home/kalle/tmp/bug_script.txt
{"outcome" => "success"}
{"outcome" => "success"}
'/host=master/server-config=test3:add(group=main-server-group,auto-start=true,socket-binding-port-offset=200)' is not a valid operation name.
kalle@elvira:~/tmp/jboss-as-7.1.1.Final/bin$
The first two servers are created but the third fails. If I do the same interactively, it also fails, but if I then add the "test4" server-config, it will be created successfully. Output below:
kalle@elvira:~/tmp/jboss-as-7.1.1.Final/bin$ ./jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect
[domain@localhost:9999 /] /host=master/server-config=test1:add(group=main-server-group,auto-start=true,socket-binding-port-offset=0)
{"outcome" => "success"}
[domain@localhost:9999 /] /host=master/server-config=test2:add(group=main-server-group,auto-start=true,socket-binding-port-offset=100)
{"outcome" => "success"}
[domain@localhost:9999 /] /host=master/server-config=test3:add(group=main-server-group,auto-start=true,socket-binding-port-offset=200)
'/host=master/server-config=test3:add(group=main-server-group,auto-start=true,socket-binding-port-offset=200)' is not a valid operation name.
[domain@localhost:9999 /] /host=master/server-config=test3:add(group=main-server-group,auto-start=true,socket-binding-port-offset=200)
'/host=master/server-config=test3:add(group=main-server-group,auto-start=true,socket-binding-port-offset=200)' is not a valid operation name.
[domain@localhost:9999 /] /host=master/server-config=test4:add(group=main-server-group,auto-start=true,socket-binding-port-offset=300)
{"outcome" => "success"}
[domain@localhost:9999 /]
Environment:
Ubuntu 12.04,
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)