This content has been marked as final.
Show 2 replies
-
1. Re: Error Messages in server.log
mmusaji Sep 2, 2011 8:52 AM (in response to hariganesh)Two things need to be done to stop JBoss instances clustering together, changing the partition name and changing the multicast address (for UDP):
- To change the partition name, you can pass "-g PartitionName" or "--partition=PartitionName" to run.sh, or add "-Djboss.partition.name=PartitionName" to JAVA_OPTS.
- To change the JGroups multicast address, pass "-u x.y.z.w" to run.sh or add "-Djboss.partition.udpGroup=x.y.z.w -Djgroups.udp.mcast_addr=x.y.z.w" (example address would be 230.1.1.1)
-
2. Re: Error Messages in server.log
wdfink Sep 2, 2011 9:30 AM (in response to hariganesh)To avoid that instances are build a cluster:
until JBoss 5.1 it is easy you can use '-g <PartitionName> -u <JGroups address w.x.y.z> -m <JGroups mcast port number>'
Autodiscovery from client side you have to add the JNDI-Property jnp.disableDiscovery' => true
This avoid that the client start an mcast to discover any JBoss in your network (the mcast address is always set to a default)