does anyone know what happens when there are multiple HAPartition services running on same box. Basically if there are 2 clusters defined on same box and a bean is annotated with @Clustered with no partition name defined in it. Does it get clustered accross both partitions.
It uses the value of the partition() attribute of @Clustered, whose default value is ${jboss.partition.name:DefaultPartition}. That means it will use the value of system property jboss.partition.name (set via the -g switch passed to run.sh/run.bat) or if there is no such property it uses DefaultPartition.