-
1. Re: HornetQ Failover Issue
ataylor Feb 1, 2012 5:38 AM (in response to mmuthu)the configuration has changed and you no longer need a backup ref, i would take a look at some of the examples.
-
2. Re: HornetQ Failover Issue
mmuthu Feb 1, 2012 5:48 AM (in response to ataylor)Hi,
I don't i think i follow you. But I tried to run the "jms/transaction-failover" example. I guess the backup server is just hanging like it hangs for me.
-- Muthu
-
3. Re: HornetQ Failover Issue
ataylor Feb 1, 2012 5:56 AM (in response to mmuthu)im saying you dont need backup-connector-ref in 2.2.8. regarding your hanging issue, you havent really given me much info, what do you mean by hanging?
-
4. Re: HornetQ Failover Issue
mmuthu Feb 1, 2012 6:09 AM (in response to ataylor)Hi,
When i start the backup server the log is not moving after the following two output in the console,
* [main] 1-Feb 16:34:46,159 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
* [main] 1-Feb 16:34:46,221 INFO [HornetQServerImpl] backup server is starting with configuration HornetQ Configuration (clustered=true,backup=true,sharedStore=false,journalDirectory=../data/journal,bindingsDirectory=../data/bindings,largeMessagesDirectory=../data/large-messages,pagingDir
ectory=../data/paging)It makes me to think that the server is hanging. I have attached my hornetq-configuration.xml for backup server. Pls. let me know what else you need
-- Muthu
-
hornetq-configuration.xml 3.9 KB
-
-
5. Re: HornetQ Failover Issue
ataylor Feb 1, 2012 6:18 AM (in response to mmuthu)we only support shard store for backups in that version and you have shared-store set to false
-
6. Re: HornetQ Failover Issue
mmuthu Feb 1, 2012 6:27 AM (in response to ataylor)Hi, Ok. Is it a safe assumption that HornetQ is not supporting fail over with out shared store. Any plan to support this in future or already available in some branch, trunk, etc for me to try locally.
-- Muthu
-
7. Re: HornetQ Failover Issue
ataylor Feb 1, 2012 6:45 AM (in response to mmuthu)its should be available very soon, its currently in trunk but not quite finished
-
8. Re: HornetQ Failover Issue
stasikos Feb 13, 2012 2:33 PM (in response to ataylor)Sorry about bumping this thread, Andy, however I want to know in advance which release will include failover without shared store, and what is approximate planned month for this?
-
9. Re: HornetQ Failover Issue
ataylor Feb 14, 2012 12:51 PM (in response to stasikos)should be soon, we are close too completing now.
-
10. Re: HornetQ Failover Issue
mmuthu Feb 15, 2012 12:08 AM (in response to ataylor)Andy, Sorry to continue on this thread. But a possible date for the release will help. In the absence of the fail over, we are planning to implement "ExceptionListener" in the application and handle fail over in application. This would require lot of changes, testing everything from the start. So if you could let me know the date and if it is near, may be i can stop my application fail over implementation and wait for the release instead.
-- Muthu
-
11. Re: HornetQ Failover Issue
ataylor Feb 15, 2012 6:26 AM (in response to mmuthu)like i say it should be soon, maybe in the next month or so.
re your plan to use an exception listener, you do know that this wont handle any replay of state or recreation of sessions etc you will have to this yourself, also you would have to use transactions or at least duplicate detection to avoid inconsistency
-
12. Re: HornetQ Failover Issue
mmuthu Feb 16, 2012 2:36 AM (in response to ataylor)Yes. I'm aware of the state loss while reconnecting from application. But do you think i have any other choice?
-- Muthu
-
13. Re: HornetQ Failover Issue
ataylor Feb 16, 2012 5:54 AM (in response to mmuthu)no, i guess if you have time constraints you should go that route.
-
14. Re: HornetQ Failover Issue
mmuthu Mar 22, 2012 5:13 AM (in response to ataylor)Andy, Anything to smile about hornetq fail over...? How close you are...?
-- Muthu