2 Replies Latest reply on Feb 3, 2011 2:57 AM by Daniel Herrero

    JBoss 5.1 joined to several clusters at same time

    Daniel Herrero Newbie


      My system used Jbos 4.0.2. It needs to create several clusters (ClusterPartition class) to detect fails in other nodes. Each cluster has a different jgroups configuration. Some of them uses tcp, other udp, etc. In jboss 4.0.2 I can setup the channel stack config using the attribute PartitionConfig for the bean org.jboss.ha.framework.server.ClusterPartition. This class doesnt allow to setup this configuration in Jboss 5.1. I read I ve to add those custom jgroups configurations to jgroups-channelfactory-stacks.xml. Ok, done. I know I can select the stack using -g option, but It would apply to all my clusters. How can I setup a different channel stack for each cluster?