Posted by: jbossejb3 | June 25, 2008

Setting up JBoss 5 AS cluster nodes

Edit deploy/messaging/messaging-service.xml set the value of ServerPeerID with a unique integer to identify the node. If you have two nodes, you can set the value to 0 for the first node and 1 for the second node.

All nodes will share a database for management. Remove the file deploy/messaging/hsqldb-persistence-service.xml. Copy the template file thirdparty/jboss/messaging/resources/mysql-persistence-service.xml to the directory deploy/messaging. Edit the file change all DefaultDS to the mysql data source you have created as explained in JTA Data Source: MySQL Database.


Responses

  1. [...] Web Load Balancing to JBoss 5 After setting up JBoss clusters as explained in Setting up JBoss 5 AS cluster nodes, we can setup the web load [...]


Leave a response

Your response:

Categories