[JBoss JIRA] (WFLY-6239) CLI: failure when adding a JNDI entry with default value containing a '$' at the end
by Valentin Maechler (JIRA)
[ https://issues.jboss.org/browse/WFLY-6239?page=com.atlassian.jira.plugin.... ]
Valentin Maechler updated WFLY-6239:
------------------------------------
Attachment: ExpressionResolverUnitTestCase.java
ExpressionResolver.java
Added test case "sysPropertyWithNormalDefaultValue" and "sysPropertyWithSpecialDefaultValue" to the test class and fixed the class
(!) There's code duplication in the fixed class which needs to be cleaned up !!!
> CLI: failure when adding a JNDI entry with default 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
> Attachments: ExpressionResolver.java, ExpressionResolverUnitTestCase.java
>
>
> Can not add a JNDI / naming entry which contains a "$" sign at the end of its default value.
> e.g. {code}
> value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-4681) Reevaluation of java memory settings
by Dimitris Andreadis (JIRA)
[ https://issues.jboss.org/browse/WFLY-4681?page=com.atlassian.jira.plugin.... ]
Dimitris Andreadis commented on WFLY-4681:
------------------------------------------
That looks like an easy gain (setting -XX:MetaspaceSize=64m I do benefit from a ~15% faster boot time.)
> Reevaluation of java memory settings
> ------------------------------------
>
> Key: WFLY-4681
> URL: https://issues.jboss.org/browse/WFLY-4681
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 10.0.0.Alpha1
> Reporter: Marek Kopecký
> Assignee: Andrig Miller
>
> Based on [~ctomc]'s comment in https://issues.jboss.org/browse/JBEAP-149,
> perf team should do some testing and suggest best values for java memory settings in WildFly (-Xms, -Xmx, ...). This settings need to be completely reevaluated as EAP7 moved to JDK8 as requirement.
> JDK8 doesn't have PermGen space anymore but metaspace, this completely changes how memory settings need to be tuned.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-6239) CLI: failure when adding a JNDI entry with default value containing a '$' at the end
by Valentin Maechler (JIRA)
[ https://issues.jboss.org/browse/WFLY-6239?page=com.atlassian.jira.plugin.... ]
Valentin Maechler edited comment on WFLY-6239 at 2/18/16 1:21 AM:
------------------------------------------------------------------
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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
}
[standalone@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}
(!)(?)
May I ask you to try it on your side, please?
...and to provide the working example?
was (Author: vmae):
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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
}
[standalone@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}
(!)(?)
May I ask you to try it on your side, please?
...and to provide the working example?
> CLI: failure when adding a JNDI entry with default 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 its default value.
> e.g. {code}
> value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-6239) CLI: failure when adding a JNDI entry with default value containing a '$' at the end
by Valentin Maechler (JIRA)
[ https://issues.jboss.org/browse/WFLY-6239?page=com.atlassian.jira.plugin.... ]
Valentin Maechler edited comment on WFLY-6239 at 2/18/16 1:12 AM:
------------------------------------------------------------------
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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
}
[standalone@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}
(!)(?)
May I ask you to try it on your side, please?
...and to provide the working example?
was (Author: vmae):
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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}[standalone@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}
(!)(?)
May I ask you to try it on your side, please?
...and to provide the working example?
> CLI: failure when adding a JNDI entry with default 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 its default value.
> e.g. {code}
> value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-6239) CLI: failure when adding a JNDI entry with default value containing a '$' at the end
by Valentin Maechler (JIRA)
[ https://issues.jboss.org/browse/WFLY-6239?page=com.atlassian.jira.plugin.... ]
Valentin Maechler edited comment on WFLY-6239 at 2/18/16 1:11 AM:
------------------------------------------------------------------
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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}[standalone@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}
(!)(?)
* May I ask you to try it on your side, please?
...and to provide the working example? *
was (Author: vmae):
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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}[standalone@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}
(!)(?)
*May I ask you to try it on your side, please?
...and to provide the working example?*
> CLI: failure when adding a JNDI entry with default 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 its default value.
> e.g. {code}
> value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-6239) CLI: failure when adding a JNDI entry with default value containing a '$' at the end
by Valentin Maechler (JIRA)
[ https://issues.jboss.org/browse/WFLY-6239?page=com.atlassian.jira.plugin.... ]
Valentin Maechler edited comment on WFLY-6239 at 2/18/16 1:11 AM:
------------------------------------------------------------------
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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}[standalone@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}
(!)(?)
May I ask you to try it on your side, please?
...and to provide the working example?
was (Author: vmae):
I guess by "escaping" you mean prefixing it with a "\", right?
result:
{code}
[standalone@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}[standalone@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}
(!)(?)
* May I ask you to try it on your side, please?
...and to provide the working example? *
> CLI: failure when adding a JNDI entry with default 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 its default value.
> e.g. {code}
> value="${my.sample.property1:entry5-default-value-with-special-char-at-the-end-$}"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months