Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6011

JGroups configuration in Binding Manager ignores new system properties, hard-codes ports, and uses wrong default multicast addresses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.1.1
    • EAP_EWP 5.1.0
    • Clustering
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      Manually edit the binding manager configuration to include the system properties,
      or to remove the sections overriding these properties.

      Show
      Manually edit the binding manager configuration to include the system properties, or to remove the sections overriding these properties.
    • Hide
      The JGroups configuration in the binding manager now implements the system properties added to the JGroups configurations in Enterprise Application Platform 5.1. In addition, hard-coded ports have been removed, and the default multicast addresses are set to the same values used in version 5.0 of the platform.
      Show
      The JGroups configuration in the binding manager now implements the system properties added to the JGroups configurations in Enterprise Application Platform 5.1. In addition, hard-coded ports have been removed, and the default multicast addresses are set to the same values used in version 5.0 of the platform.
    • Documented as Resolved Issue

      The JGroups entries in the Binding Manager do not include the updated system property
      substitutions added in jgroups-channelfactory-stacks.xml in EAP 5.1.1, and hard-codes
      the ports.

      The binding service overrides the settings so these new system properties cannot be used (without manual changes).

      For example, jgroups-channelfactory-stacks.xml includes:

      <UDP ...
      mcast_port="${jboss.jgroups.udp.mcast_port:45688}"
      mcast_addr="${jboss.jgroups.udp.mcast_addr:228.11.11.11}"

      But the binding manager overrides "jboss.jgroups.udp.mcast_port" and "jboss.jgroups.udp.mcast_addr" with:

      <bean class="org.jboss.services.binding.ServiceBindingMetadata">
      <property name="serviceName">JGroups</property>
      <property name="bindingName">udp-mcast</property>
      <property name="hostName">${jboss.partition.udpGroup:230.0.0.4}</property>
      <property name="port">45688</property>

      Also, the default multicast addresses used jgroups-channelfactory-stacks.xml are
      overriden with different values by the binding manager.

      For example, jgroups-channelfactory-stacks.xml has a default of 228.11.11.11
      (consistent with prior releases)

      <UDP ...
      mcast_addr="${jboss.jgroups.udp.mcast_addr:228.11.11.11}"

      But the binding manager overrides "jboss.jgroups.udp.mcast_addr" with 230.0.0.4:

      <bean class="org.jboss.services.binding.ServiceBindingMetadata">
      <property name="serviceName">JGroups</property>
      <property name="bindingName">udp-mcast</property>
      <property name="hostName">${jboss.partition.udpGroup:230.0.0.4}</property>

            rhn-support-dereed Dennis Reed
            rhn-support-dereed Dennis Reed
            Misty Stanley-Jones Misty Stanley-Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: