Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2207

In a Network of Brokers User Configured On the Network Connector must Exist on All Brokers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • JBoss A-MQ 6.3
    • jaas, networks
    • None
    • Hide

      (See description)

      Show
      (See description)

      Consider the following setup:

      Two A-MQ brokers, each with a half-duplex connector to the other.

      AMQ1 has the following entry in users.properties:

      admin=admin,admin,manager,viewer,Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
      

      AMQ2 has the following entry in users.properties:

      amqadmin=amqadmin,admin,manager,viewer,Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
      

      AMQ1 has a network connector configured as a half-duplex connector to AMQ2:

              <networkConnectors>
                 <networkConnector name="NODE1toNODE2" userName="amqadmin" password="amqadmin" duplex="false" uri="static:(tcp://node12.dhawkins.redhat.com:61616)" networkTTL="3"/>
              </networkConnector>
      

      AMQ2 has a network connector configured as a half-duplex connector to AMQ1:

              <networkConnectors>
                 <networkConnector name="NODE2toNODE1" userName="admin" password="admin" duplex="false" uri="static:(tcp://node11.dhawkins.redhat.com:61616)" networkTTL="3"/>
              </networkConnectors>
      

      This seems as if it should work, however, it does not unless both users are added to both brokers - instead authentication failures are logged by each broker when trying to establish the NOB connection.

      Is this expected behavior?

              gtully@redhat.com Gary Tully
              rhn-support-dhawkins Duane Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: