glassfish
  1. glassfish
  2. GLASSFISH-17278

invalid setting imq.cluster.masterbroker=mq: //localhost:27676/ for a broker running on different machine is passed to brokers in cluster

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as designed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1
    • Component/s: jms
    • Labels:
      None

      Description

      This issue is reported from the following glassfish forum thread (attached query.txt from the posting)
      http://forums.java.net/node/840957

      GlassFish JMS module+JMSRA passes the following invalid cluster configuration settings to broker for a remote broker, in this case the master broker, running on a different machine from this broker
      imq.cluster.masterbroker=mq://localhost:27676/
      imq.cluster.brokerlist=mq://ubu2:27676/,mq://localhost:27676/

      When a remote broker in a cluster runs on different machine, 'localhost' in imq.cluster.brokerlist or imq.cluster.masterbroker for that broker would not make sense. For example 2 brokers, 1 on machine1 and another on machine2, it doesn't make sense to set

      imq.cluster.brokerlist=localhost:broker1-port,localhost:broker2-port

      because it would mean broker1 should look for broker2 on its own machine1 -ie. 'localhost', and broker2 should look for broker1 on its own machine2.

        Issue Links

          Activity

            People

            • Assignee:
              David Zhao
              Reporter:
              amyk
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: