- 
        1. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failoveraengineer Dec 15, 2010 5:10 PM (in response to aengineer)https://issues.jboss.org/browse/HORNETQ-592 Also, I am using a consumer window size of 0. There were issues related to a 0 consumer window size and reconnects, which I believe have been fixed. Also see: https://issues.jboss.org/browse/HORNETQ-522 
- 
        2. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failoveraengineer Dec 15, 2010 5:16 PM (in response to aengineer)I get the same (failed) behavior with a non-zero consumer window size. 
- 
        3. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failovergaohoward Dec 16, 2010 4:35 AM (in response to aengineer)I think https://issues.jboss.org/browse/HORNETQ-522 has been fixed before. But recently we have done some important HA improvements and probably broke it. I'll take a look at it. Thanks! Howard 
- 
        4. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failovergaohoward Dec 16, 2010 8:28 AM (in response to aengineer)Hi Just had a look at your configuration, it seems they are not updated to the new HA added in trunk. You can have a look at jms example 'non-transaction-failover' or some other failover examples in HornetQ. For example the 'clustered' now is required to be 'true' for a live-backup pair to work. 
- 
        5. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failoveraengineer Dec 16, 2010 10:46 AM (in response to gaohoward)I get the same behavior with clustered = true. Also tried using the latest code from the trunk, dated 12.16.2010, and the behavior remains unchanged. Using latest trunk code, the exception thrown by the producer is: 2010-12-16 10:44:09,246 ERROR (QueueSendLoop.java:104) - Caught exception #[3]. Message:Timed out waiting for response when sending packet 71 
 javax.jms.JMSException: Timed out waiting for response when sending packet 71
 at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:277)
 at org.hornetq.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:286)
 at org.hornetq.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:141)
 at org.hornetq.jms.client.HornetQMessageProducer.doSend(HornetQMessageProducer.java:451)
 at org.hornetq.jms.client.HornetQMessageProducer.send(HornetQMessageProducer.java:199)
 at com.putnam.jboss.queue.QueueSendLoop.send(QueueSendLoop.java:67)
 at com.putnam.jboss.queue.QueueSendLoop.run(QueueSendLoop.java:91)
 at com.putnam.jboss.queue.QueueSendLoop.main(QueueSendLoop.java:78)
 Caused by: HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 71]
 ... 8 more
- 
        6. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failoverataylor Dec 16, 2010 11:05 AM (in response to aengineer)take a look at the new failover examples, one thing you need to do is configure yopu factories to support HA. also are the 2 servers using the same journal, its hard to tell 
- 
        7. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failoveraengineer Dec 16, 2010 12:44 PM (in response to ataylor)Is there a specific HA example that one should be looking at? I previous used "transaction-failover" as a template, but the config files for this example are completely different than the config files for "non-transaction-failover". "transaction-failover" config files do not set "clustered=true", they dont define any discovery or broadcast groups, and the default values for "shared-store" and "backup" are used (which are both false). Is "transaction-failover" a valid example? 
- 
        8. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failoverataylor Dec 16, 2010 1:19 PM (in response to aengineer)some of the examples still fixing, any multiple failover ones should be fine. 
- 
        9. Re: In Active-Backup mode, existing JMS clients fail to re-connect after failoveraengineer Dec 16, 2010 5:26 PM (in response to ataylor)Ignore this post - configuration issue 
 
     
    