• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Steps to do Jboss clustering

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone provide me the steps to do Jboss clustering.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss in Action, chapters 12 and 13.
 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
harish palepu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
And then the entire population worshiped me like unto a god. Well, me and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic