This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Steps to do Jboss clustering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Steps to do Jboss clustering" Watch "Steps to do Jboss clustering" New topic
Author

Steps to do Jboss clustering

harish palepu
Greenhorn

Joined: Jan 27, 2010
Posts: 6
Can anyone provide me the steps to do Jboss clustering.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

JBoss in Action, chapters 12 and 13.


JBoss In Action
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 643
I would just like to point out that if you need to work with the JBoss application server, you really need this book. It has proven to be a great tutorial and reference for all aspects of JBoss I've yet had to deal with. The chapters on Clustering and Replication are terrific.

Really, you can't go wrong. Great job Peter and Javid!

Best Regards,
harish palepu
Greenhorn

Joined: Jan 27, 2010
Posts: 6
Hi, I am trying to create nodes on different machines for jboss5.1 using the command " -c node1 -g DocsPartition -u 239.255.100.100 \ -b 152.144.119.207 - Djboss.messaging.ServerPeerID=1" in command prompt. But I am getting exception--> "Failed to boot JBoss: java.lang.RuntimeException:Error unmarshalling bootstrap.xml with jboss clustering". I tried searching in google but unable to resolve the issue. So I need help to solve the problem. Can any one help me on this?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
161

harish palepu wrote: But I am getting exception--> "Failed to boot JBoss: java.lang.RuntimeException:Error unmarshalling bootstrap.xml with jboss clustering".


Please post the entire exception stacktrace.

While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.


[My Blog] [JavaRanch Journal]
harish palepu
Greenhorn

Joined: Jan 27, 2010
Posts: 6
Tried with both cases:
1)
run.bat -c node1 -g DocsPartition -u 239.255.100.100 \
-b 152.144.119.207 -Djboss.messaging.ServerPeerID=1
2)
run.bat -c node1 -g DocsPartition -u 239.255.100.100
-b 152.144.119.207 -Djboss.messaging.ServerPeerID=1





Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
161

Caused by: java.io.FileNotFoundException: W:\jboss-5.1.0.GA\server\node1\conf\bootstrap.xml


Is that file present? How did you create the "node1" configuration?
harish palepu
Greenhorn

Joined: Jan 27, 2010
Posts: 6
The file is not present in W:\jboss-5.1.0.GA\server\node1\conf\bootstrap.xml.
But I copied "all" directory under %JBOSS_HOME%/server/ to "node1" directory.
Even then also its leading to some indifinete loop which consists of exceptions.

How to check whether the node is created or not???
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 643
harish palepu wrote:The file is not present in W:\jboss-5.1.0.GA\server\node1\conf\bootstrap.xml.
But I copied "all" directory under %JBOSS_HOME%/server/ to "node1" directory.
Even then also its leading to some indifinete loop which consists of exceptions.

How to check whether the node is created or not???

Does that file exist under the all server directory? It exists in mine. Why didn't the file get copied when you created the node1 server directory? Perhaps you need to create the node1 server directory again?
Aalok Singh
Greenhorn

Joined: May 27, 2010
Posts: 14
ServerPeerID MUST BE UNIQUE for each node in a cluster So this must be other than 1 say 2 or 3 first node you have set it as 1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Steps to do Jboss clustering
 
Similar Threads
Jboss clustering
How to do Jboss Clustering
Clustering in Jboss
Clustering in Weblogic6.1
jboss clustering