Adding a system property via the CLI whose value is an unresolved system property fails unless it ends in : in JBoss EAP 7

Solution Verified - Updated -

Issue

Adding a system property whose value is another system property does not work.

[standalone@embedded /] /system-property=test:add(value="${TEST}")
{
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0211: Cannot resolve expression '${TEST}'",
    "rolled-back" => true
}

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content