Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-450

Using parent system properties in child properties fails in domain server launch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha15
    • None
    • Management
    • None

      Using wildfly domain I would like to define some properties in domain.xml and then be able to use these properties when defining others in server-group or server level. Currently this leads to JBAS014802: Cannot resolve expression.

      More detailed example:

      domain.xml
      <domain>
          <system-properties>
              <property name="foo" value="bar"/>
          </system-properties>
          ...
          <server-group name="g1">
              <system-properties>
                  <property name="g1_foo" value="${foo}"/>
              </system-properties>
          </server-group>
      </domain>
      

              bstansbe@redhat.com Brian Stansberry
              samppaa Samuli Saarinen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: