I have two JBoss 5.1.1 servers on separate machines that I have configured as one cluster.
I've deployed a simple counting bean to both servers and the clustering seems to work fine.
When I shutdown one of the servers I see all the requests routing to the remaining server.
However, when I restart the server the cluster doesn't reform, and subsequent requests
still goes to just the one server.
Annoyingly, this worked fine two days ago and I successfully shut down server one then server
two with both rejoining the cluster and messages routing as they should, either to one server
when one was down or to both when both were up. I went home happy. But next day, the
restarted server was not rejoining the cluster.
I've followed all the advice I can find, setting the shun parameters etc.
Given that it worked fine a copuple of days ago, I suspect that it may be a timing issue (e.g.
the network may be just a tad slower during the day than in the early evening).
Does anyone have any suggestions?
Joined: Dec 26, 2011
TCP or UDP Clustering?
for TCP Clustering did you set TCPPING attributes correctly?
Which JBoss Version?
Glyn W Reeves
Joined: May 10, 2012
Hi Saahil, thanks for responding.
I'm using JBoss 5.1.1. I don't know if it's using TCP or UDP Clustering. How do you tell?
I'm using the 'all' configuration and followed out-of-the-box instructions, so whatever that is using is what I'm using.
Excuse my ignorance, I'm still new to JBoss.