Re: Failover problem

2010-09-14 Thread activeMqUser
Hi Johan, i have not changed any thing in the configuration for data storage.So by default it might be taking Memory for storing any data. I simply used the failover in config file as follows? Is there any thing else i should do or take care for failover? -- View this message in cont

Re: Failover problem

2010-09-14 Thread Johan Edstrom
How did you setup failover? Did you test that the brokers actually lock on either a file/memory/db-table? Visually - the DB setup is the easiest to see, you'll see a table lock in effect on the slave broker and that it is not starting. Are you possibly confusing persistence with HA? The two whi

Re: Failover problem

2010-09-14 Thread activeMqUser
Hi Johan, i have set up the clients for fail over as i mentioned in the previous posts even though i am not sure if i have done it correctly as i am very much a new user of ActiveMQ. I have posted the network configuration info and some log info also which shows the Main Broker is successfully co

Re: Failover problem

2010-09-14 Thread Johan Edstrom
Did you setup the clients to have failover capabilities? On Sep 14, 2010, at 10:48 PM, activeMqUser wrote: > > Yes it failed means, i am facing the above problem and the fail over is not > happening it seems. I have 3 Brokers running in 3 different port. On failure > of one broker(main broker) M

Re: Failover problem

2010-09-14 Thread activeMqUser
Yes it failed means, i am facing the above problem and the fail over is not happening it seems. I have 3 Brokers running in 3 different port. On failure of one broker(main broker) My Consumer which was initially connected to Main Broker is not able to switch to other Brokers. It is still keep on l

Re: Failover problem

2010-09-14 Thread Johan Edstrom
Did it fail? On Sep 14, 2010, at 10:35 PM, activeMqUser wrote: > > Hello, > > Can i get any help regarding this fail over problem? > > Its very urgent for me. Plz dont mind. > > > Thanks > Manoranjan > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Failover-prob

Re: Failover problem

2010-09-14 Thread activeMqUser
Hello, Can i get any help regarding this fail over problem? Its very urgent for me. Plz dont mind. Thanks Manoranjan -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-problem-tp2537292p2539929.html Sent from the ActiveMQ - User mailing list archive at Nabble.com

Re: Failover problem

2010-09-13 Thread activeMqUser
Hi Dejan, thanks again for ur quick reply. the url is : INFO: Connecting to URL : tcp://localhost:5009 with "root" as username and password. Its always the same tcp://localhost:5009 and on failure it is also trying to connect to the same address but unable to connect as the Broker is shut down.

Re: Failover problem

2010-09-13 Thread Dejan Bosanac
MainClass.url is what is important. What;s the url you're using to connect to the brokers? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Sep 13, 2

Re: Failover problem

2010-09-13 Thread activeMqUser
Hi Dejan, Thanks for your quick reply. Connection url i didnt get it properly, but i am opening the JMS connection as following. public static Connection openJMSConnection() { isActiveMQRunning = false; ActiveMQConnectionFactory connectionFactory = null;

Re: Failover problem

2010-09-13 Thread Dejan Bosanac
What is a connection url you're using? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Sep 13, 2010 at 1:56 PM, activeMqUser wrote: > > Hello, > >