]
Kalle Rosenbaum commented on AS7-5020:
--------------------------------------
Ok, it turns out that there are two unprintable characters at the beginning of the failing
line (the one adding test3). Removing the unprintable characters fixed the issue. Not a
bug.
Adding multiple server-config in CLI fails.
-------------------------------------------
Key: AS7-5020
URL:
https://issues.jboss.org/browse/AS7-5020
Project: Application Server 7
Issue Type: Bug
Components: CLI
Affects Versions: 7.1.1.Final
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)
Reporter: Kalle Rosenbaum
Assignee: Alexey Loubyansky
Labels: CLI
Running the following script fails on a freshly installed AS 7.1.1.FINAL running in
domain mode.
{noformat}
connect
/host=master/server-config=test1:add(group=main-server-group,auto-start=true,socket-binding-port-offset=0)
/host=master/server-config=test2:add(group=main-server-group,auto-start=true,socket-binding-port-offset=100)
/host=master/server-config=test3:add(group=main-server-group,auto-start=true,socket-binding-port-offset=200)
/host=master/server-config=test4:add(group=main-server-group,auto-start=true,socket-binding-port-offset=300)
{noformat}
The output looks like this:
{noformat}
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$
{noformat}
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:
{noformat}
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 /]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: