Network connection fails
Issue
- Why same user is required for the Network connector to work
Issue
Suppose there are 2 brokers A and B. If we configure a network connector from A=>B like below
<networkConnectors>
<networkConnector name="toB"
uri="static:(tcp://localhost:61617)"
networkTTL="3" userName="admin" password="admin"
/>
If the user "admin" is not available on both A and B, then error is seen
- The error is seen if we have the user "admin" on B but not on A and vice-versa
2016-08-22 17:19:38,119 | ERROR | .0.1:61617@52310 | DemandForwardingBridgeSupport | rk.DemandForwardingBridgeSupport 582 | 137 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-621090 | Network connection between vm://broker-A#10 and tcp://localhost/127.0.0.1:61617@52310 shutdown due to a remote error: java.lang.SecurityException: User name [admin] or password is invalid.
Environment
- Red Hat JBoss A-MQ
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
