aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss 5.1.1 Cluster Restart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss 5.1.1 Cluster Restart" Watch "JBoss 5.1.1 Cluster Restart" New topic
Author

JBoss 5.1.1 Cluster Restart

Glyn Reeves
Greenhorn

Joined: May 10, 2012
Posts: 6
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?
Ifteqar Ald
Ranch Hand

Joined: Dec 26, 2011
Posts: 73
TCP or UDP Clustering?


for TCP Clustering did you set TCPPING attributes correctly?

Which JBoss Version?
Glyn Reeves
Greenhorn

Joined: May 10, 2012
Posts: 6
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.
Thanks,
Glyn
Ifteqar Ald
Ranch Hand

Joined: Dec 26, 2011
Posts: 73
Hi Glyn,

JBoss uses UDP clustering as the default cluster configuration. Communication among jboss nodes is done using Jgroups protocol. For setting up the cluster you should be knowing the configuration parameters needed to setup.

This may be useful for you http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html-single/#clustering-quickstart-setup



Thanks,
Ifteqar
Glyn Reeves
Greenhorn

Joined: May 10, 2012
Posts: 6
Ifteqar,
Thanks for your reply. We actually ended up pseudo-clustering using load balancers and now we are redeploying to others server types so the issue kind of resolved itself over time.
But this info may well be useful for other applications.
Many thanks,
Glyn
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss 5.1.1 Cluster Restart