-
1. Re: Security with Master Slave observation
stlewis May 19, 2009 8:37 AM (in response to mithun_mchakrab)1) Is there a chance there was something else running on machine_name:61720? Can you copy/paste the exact exception?
2) I would guess that there's nothing bound to localhost:61720, whereas there's another process that's bound to machine_name:61720.
3) This is because in the latest activemq versions the URI parameter also controls what network interface the broker binds it's listen port to, so if you do a netstat or lsof you'll see that the broker has only opened 61720 on the loopback interface and will therefore not accept incoming connections on the machine's network card.
4) It could be that your network interface doesn't have multicast enabled. This would work on loopback but not necessarily on your network card, so it's something you'll want to check.
-
2. Re: Security with Master Slave observation
mithun_mchakrab May 22, 2009 5:30 AM (in response to stlewis)There was no other process using the machine_name:61720
The exception thet was thrown is:
WARN TransportConnection - Failed to add Connection
java.lang.SecurityException: User name or password is invalid.
at org.apache.activemq.security.SimpleAuthenticationBroker.addConnection
(SimpleAuthenticationBroker.java:52)
at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableB
rokerFilter.java:89)
at org.apache.activemq.broker.TransportConnection.processAddConnection(T
ransportConnection.java:686)
at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddC
onnection(ManagedTransportConnection.java:86)
at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:
134)