[jboss-jira] [JBoss JIRA] (WFLY-6239) CLI: adding a JNDI entry with defualt value containing a '$' at the end
Valentin Maechler (JIRA)
issues at jboss.org
Wed Feb 17 09:36:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Maechler updated WFLY-6239:
------------------------------------
Steps to Reproduce:
The following commands fail in Wildfly 10 CLI (worked with Wildfly 8):
{code}
$JBOSS_HOME/bin/jboss-cli.sh
[disconnected /] connect
#### preparation
[standalone at localhost:9990 /] /system-property=my.sample.property1:add(value=sample-value-1)
{"outcome" => "success"}
[standalone at localhost:9990 /] /system-property=my.sample.property1:read-resource
{
"outcome" => "success",
"result" => {"value" => "sample-value-1"}
}
#####
[standalone at localhost:9990 /] /subsystem=naming/binding=java\:global\/my\/sample\/entry:add(binding-type=simple, type=java.lang.String, value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}")
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0370: Incomplete expression: ${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}",
"rolled-back" => true
}
{code}
was:
The following commands fail in Wildfly 10 CLI (worked with Wildfly 8):
$JBOSS_HOME/bin/jboss-cli.sh
[disconnected /] connect
#### preparation
[standalone at localhost:9990 /] /system-property=my.sample.property1:add(value=sample-value-1)
{"outcome" => "success"}
[standalone at localhost:9990 /] /system-property=my.sample.property1:read-resource
{
"outcome" => "success",
"result" => {"value" => "sample-value-1"}
}
#####
[standalone at localhost:9990 /] /subsystem=naming/binding=java\:global\/my\/sample\/entry:add(binding-type=simple, type=java.lang.String, value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}")
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0370: Incomplete expression: ${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}",
"rolled-back" => true
}
> CLI: adding a JNDI entry with defualt value containing a '$' at the end
> -----------------------------------------------------------------------
>
> Key: WFLY-6239
> URL: https://issues.jboss.org/browse/WFLY-6239
> Project: WildFly
> Issue Type: Bug
> Components: CLI
> Affects Versions: 10.0.0.Final
> Reporter: Valentin Maechler
> Assignee: Alexey Loubyansky
>
> Can not add a JNDI / naming entry which contains a "$" sign at the end of it's default value.
> e.g.
> value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}"
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list