Tim,
YES!!! That was it! I just changed the netty connectors and acceptors on both machines to have their actual IP addresses instead of 0.0.0.0. The cluster forms and topic messages are distributed to both nodes. Sweet!
One question follows though: is there a way to configure a connector/acceptor that discovers its IP address? I'll be deploying the HornetQ server cluster on machines without fixed IP addresses.
Thanks to you and Clebert for such great support.
Cheers,
Bill
You could add a property on the connector...
something like ${jboss.bind.address} or you could define your own property (by passing a -D on the run.conf through java options).
Clebert,
That is exactly what I needed.
Thanks to you and Tim for all your help!
Cheers,
Bill
schwanitzb wrote:
Tim,
Thanks for the tip on using the ClusterConnectionControl. I'm running HornetQ 2.0.0.GA and I don't see a getNodes() method (just stop and start). However, maybe this will be helpful. I've attached the outputs from the ClusterConnectionControls on both machines.
Err, I can see the "Nodes" attribute on the jpg you attached...