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

resolve property in deployment enabled attribute value

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Management
    • None

    Description

      I have defined a deployment (standalone mode) with enabled attribute value referencing to a property like this: enabled="${app1.enabled}". This case is not supported at least by the configuration validator:

      OPVDX001: Validation error in standalone.xml -----------------------------------

      The primary underlying error message was:
      > ParseError at [row,col]:[377,5]
      > Message: "WFLYCTL0097: Wrong type for 'enabled'. Expected [BOOLEAN]
      > but was STRING. Couldn't convert \"${app1.enabled}\" to
      > [BOOLEAN]"

      The same problem is in domain mode with enabled property on server group deployment definition.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david.klika David Klika (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: