System property substitution where one property depends on another

Solution Verified - Updated -

Issue

  • How do I define a system property with recursive dependency using the CLI
  • We are creating some system properties, but when we define them we found a problem. First we create a simple system property
/system-property=APP_LOGS:add(value=/opt/logs)

Once created, we add one which refers the previous one

/system-property=MAP_APP_LOGS:add(value=${APP_LOGS}/maps)

But if we see the result we find this: <property name="MAP_APP_LOGS" value="$/maps"/>

It doesn't substitute the property APP_LOGS. Is this right?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.x
    • Command Line Interface ( CLI )

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