[jboss-jira] [JBoss JIRA] (WFLY-3004) properties are not resolved in a connect command line within a cli batch file
Gabriele Garuglieri (JIRA)
issues at jboss.org
Mon Feb 24 08:17:47 EST 2014
Gabriele Garuglieri created WFLY-3004:
-----------------------------------------
Summary: properties are not resolved in a connect command line within a cli batch file
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
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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list