I am trying Pure Master/Slave without authentication for learning purpose. It appears that the slave can not connect to master. I have master 'bkr1' and slave 'bkr2'. The activemq.xml of 'bkr2' (the slave) looks like:
<services> <masterConnector remoteURI="failover://(tcp://lab-1:61613)" /> </services> The port 61613 is the one for master. I started master first and 10 sec later started slave. The slave log shows: 2010-07-27 14:37:56,781 | DEBUG | Attempting connect to: tcp://lab-1:61613 | org.apache.activemq.transport.failover.FailoverTransport | ActiveMQ Task 2010-07-27 14:37:56,783 | DEBUG | Connect fail to: tcp://lab-1:61613, reason: java.net.ConnectException: Connection refused | org.apache.activemq.transport.failover.FailoverTransport | ActiveMQ Task 2010-07-27 14:37:56,783 | DEBUG | Stopping transport tcp://null:0 | org.apache.activemq.transport.tcp.TcpTransport | ActiveMQ Task 2010-07-27 14:37:56,783 | DEBUG | Waiting 30000 ms before attempting connection. | org.apache.activemq.transport.failover.FailoverTransport | ActiveMQ Task My test client can talk to lab-1 with port 61613 with no problem. When I shutdown 'bkr1' the master, I could not shut down the slave use 'activemq-admin stop' command. I had to issue 'kill -9 pid'. What is wrong here? -J -- View this message in context: http://old.nabble.com/Problem-when-trying-Pure-Master-Slave-without-authentication-tp29279503p29279503.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.