]
Alexey Loubyansky updated WFLY-3004:
------------------------------------
Git Pull Request:
properties are not resolved for arguments of commands handled on the
client-side
--------------------------------------------------------------------------------
Key: WFLY-3004
URL:
https://issues.jboss.org/browse/WFLY-3004
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CLI
Affects Versions: 8.0.0.Final
Environment: windows 7 and centos 6.4
Reporter: Gabriele Garuglieri
Assignee: Alexey Loubyansky
Fix For: 8.0.1.Final
When using cli for batch files using --file and --properties arguments, any property is
resolved but for those defined in the connect command line.
The properties file contains (among the others):
server.bind.addr = xxxxx
server.management.port = 9990
Having:
connect ${server.bind.addr}
in the batch file gets
ERROR [org.jboss.as.cli.CommandContext] Failed to resolve host
'${server.bind.addr}': Failed to create URI: Illegal character in authority at
index 16: http-remoting://${server.bind.addr}:9990
Having:
connect ${server.bind.addr}:${server.management.port}
gets:
ERROR [org.jboss.as.cli.CommandContext] The port must be a valid non-negative integer:
'${server.bind.addr}:${server.management.
If i use literal values for the connect command, any other property in the batch is
correctly resolved (but that's exactly what i was trying to avoid)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: