Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4299

transaction subsystem node-identifier can not resolve expression

    XMLWordPrintable

Details

    • Hide

      To reproduce use a fresh server installation.
      In standalone mode it still work with the following CLI:

      /subsystem=transactions:write-attribute(name=node-identifier,value="${txNodeIdentifier}"
      /system-property=txNodeIdentifier:add(value=main)

      In domain mode this CLI commands are used:
      /host=master/server-config=server-one/system-property=txNodeIdentifier:add(value=one)
      /host=master/server-config=server-two/system-property=txNodeIdentifier:add(value=two)
      /profile=full/subsystem=transactions:write-attribute(name=node-identifier,value="${txNodeIdentifier}"

      after restart the server fail with the error.
      Also the CLI script from a quickstart can be used:
      https://github.com/wfink/quickstart/blob/master/ejb-multi-server/install-domain.cli

      Show
      To reproduce use a fresh server installation. In standalone mode it still work with the following CLI: /subsystem=transactions:write-attribute(name=node-identifier,value="${txNodeIdentifier}" /system-property=txNodeIdentifier:add(value=main) In domain mode this CLI commands are used: /host=master/server-config=server-one/system-property=txNodeIdentifier:add(value=one) /host=master/server-config=server-two/system-property=txNodeIdentifier:add(value=two) /profile=full/subsystem=transactions:write-attribute(name=node-identifier,value="${txNodeIdentifier}" after restart the server fail with the error. Also the CLI script from a quickstart can be used: https://github.com/wfink/quickstart/blob/master/ejb-multi-server/install-domain.cli
    • Hide

      No, the subsystem needs to be copied for each server and a fix node-identifier must be used!

      Show
      No, the subsystem needs to be copied for each server and a fix node-identifier must be used!

    Description

      If the transaction subsystem should use an expression as node-identifier this will not work in domain mode:
      ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 36) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "transactions")]) - failure description: "WFLYCTL0211: Cannot resolve expression '${txNodeIdentifier}'"

      This was possible in former builds with the same configuration.

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: