Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3301

Attribute local-bind-address in broadcast-groups configuration is ignored and 0.0.0.0 is always used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1
    • JMS

    Description

      When local-bind-address in broadcast-groups is set in messaging subsystem in stantalone-ha.xml:

      <broadcast-groups>
      	<broadcast-group name="bg-group-nodeA">
      	    <local-bind-address>192.168.10.1</local-bind-address>
      	    <group-address>231.8.8.8</group-address>
      	    <group-port>9875</group-port>
      	    <broadcast-period>5000</broadcast-period>
      	    <connector-ref>netty</connector-ref>
      	</broadcast-group>
      </broadcast-groups>
      
      

      and server is started then "netstat -lnp | grep java" shows:

      [jbossqa@station1 test-eap6]$ netstat -lnp | grep java
      (Not all processes could be identified, non-owned process info
       will not be shown, you would have to be root to see it all.)
      tcp        0      0 127.0.0.1:5455              0.0.0.0:*                   LISTEN      21181/java          
      tcp        0      0 127.0.0.1:9999              0.0.0.0:*                   LISTEN      21181/java          
      tcp        0      0 192.168.10.1:8080           0.0.0.0:*                   LISTEN      21181/java          
      tcp        0      0 192.168.10.1:4447           0.0.0.0:*                   LISTEN      21181/java          
      tcp        0      0 127.0.0.1:5445              0.0.0.0:*                   LISTEN      21181/java          
      tcp        0      0 127.0.0.1:9990              0.0.0.0:*                   LISTEN      21181/java          
      tcp        0      0 192.168.10.1:3528           0.0.0.0:*                   LISTEN      21181/java          
      udp        0      0 0.0.0.0:9875                0.0.0.0:*                               21181/java          
      udp        0      0 0.0.0.0:40861               0.0.0.0:*                               21181/java          
      udp        0      0 224.0.1.105:23364           0.0.0.0:*                               21181/java         
      

      From this output it looks that hornetq is broadcasting on all interfaces.

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: