activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod_mit <>
Subject Creating Network of Brokers
Date Mon, 21 May 2007 12:46:52 GMT

I have just installed activemq, I have to start work with failover netowrk
brokers.I dont have
much idea about this can any one explain me regarding this.
I did like this iam not sure iam right.if wrong please help me.

1. I have created first broker like this ,
   In the activemq.xml i put these values 
      <transportConnector uri="discovery:tcp://localhost:61617"/> 

      <networkConnector uri="static:tcp://localhost:61618"/> 

after that i have started activemq it says activemq jms started.

2.I created second broker like this.

  I have modified the same activemq.xml by changing <transportConnectors>
and </networkConnectors>  values like this.

      <transportConnector uri="discovery:tcp://localhost:61618"/> 

      <networkConnector uri="static:tcp://localhost:61617"/> 
and started a activemq in another command window and got these message

INFO  faultPersistenceAdapterFactory - Journal is locked... waiting 10
seconds f
or the journal to be unlocked.

when i kill the first activemq process second gets activated.

but iam not understanding where i have to include failover detail ??? 
these details where i have to include ??


is it in the client program like consumer ??? or in some file, please

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message