JBoss%20Interview%20Questions%20and%20Answers
Question: How to build clusters in JBoss?Answer: Here is a nutshell summary from the example given for quick start:Execute from your jboss bin directory: $ ./run.sh -c all -g DocsPartition -u 239.255.100.100 -b 192.168.0.101 -Djboss.messaging.ServerPeerID=1
So the start script that you would run on your second machine for the second node would look like: $ ./run.sh -c all-node2 -g DocsPartition -u 239.255.100.100 -b 192.168.0.102 -Djboss.messaging.ServerPeerID=2 You can also use nohup to send the process to the background. Now that both nodes should be running, you have to enable and configure the sticky sessions on the webserver and each server. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What are needed to set-up a cluster with JBoss?
- Which component handles cluster communication in JBoss?
- Is it possible to put a JBoss server instance into multiple cluster at the same time?
- How to build clusters in JBoss?
- What is JBoss?