-
1. Re: Cluster Standalone Jboss EAP6
dlin12 Jul 15, 2013 12:56 AM (in response to ivankychung)Try the example from https://github.com/akquinet/jbosscc-as7-examples/tree/master/cluster-example and see how it goes.
-
2. Re: Cluster Standalone Jboss EAP6
pdegave Aug 19, 2013 7:58 AM (in response to ivankychung)For Clustering on 2 different m/c follow the below steps:
Note: As both node is on different m/c so there is no need of setting offset.
1. start the jboss node 1 as follows :
./standalone.sh -c standalone-ha.xml -u 230.0.0.4 -Djboss.node.name=node1 -b node1IP
2. start the node 2 as follows :
./standalone.sh -c standalone-ha.xml -u 230.0.0.4 -Djboss.node.name=node2 -b node2IP
Where:
-c = is for server configuration file to be used
-b = is for binding address
-u = is for multicast address
-Djboss.node.name = is for the name of the node
3. as u can the message on both the server console that no. of cluster member=2
4. in order to make clustering testing u have to deploy the application which uses <distributable/> tag in web.xml
now u can test the application by hitting the url : localhost:8080/myApp