This content has been marked as final.
Show 3 replies
-
1. Re: problems with multiple HornetQ instances in the same machine
timfox Feb 7, 2010 3:00 AM (in response to f.formizzi)Since both "nodes" are on the same machine, each one is probably pointing at the same persistent store - this won't work, they will be writing over and reading each others data.
If you want to do this, you need to configure each node to have different storage.
Take a look at the clustering examples in the distro - they configure different storage for different nodes.
-
2. Re: problems with multiple HornetQ instances in the same machine
f.formizzi Feb 8, 2010 3:58 PM (in response to timfox)Thanks for your reply, It was useful to solve the problem!
If anyone has the same problem, as Tim said, you must add the follow directive in starting script:
-Ddata.dir=../data-server1 (for example in node 1)
-Ddata.dir=../data-server2 (for example in node 2)
easy, not?
-
3. Re: problems with multiple HornetQ instances in the same machine
dembuongactro Jun 7, 2010 12:42 AM (in response to f.formizzi)Thanks,