File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss 5.1.1 Cluster Restart

 
Glyn Reeves
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TCP or UDP Clustering?


for TCP Clustering did you set TCPPING attributes correctly?

Which JBoss Version?
 
Glyn Reeves
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic