Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1885

Expression resolver on domain doesn't handle duplicate server names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.6.15.Final
    • None
    • None
    • None

      The system properties are not displayed completely when using a domain with multiple hosts. The starting point is a host.xml, in which a server group is defined. Within this server group a system property was defined accordingly. See the following code:

      <server-group name="web-server-group" profile="full-ha">
          <system-properties>
              <property name="server.name" value="${jboss.host.name}"/>
          </system-properties>
      </server-group>
      

      The host.xml does not define a name of the server in the root element <host>, but within the server element. This name is the same for all hosts:

      <server name="server" group="web-server-group">
          <socket-bindings port-offset="0"/>
      </server>
      

      If an attempt is made to view this server property via the GUI, only the value for one host is output, not for several (in this case with two hosts).

      • Server 1: host-1
      • Server 2: host-2

      Related to: https://groups.google.com/g/wildfly/c/JwM0XrSfXBM
      WildFly Version: WildFly Full 28.0.1.Final (WildFly Core 20.0.2.Final)

              mpetrov@redhat.com Michal Petrov
              mgeitner Marvin Geitner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: