What's the best way to set up a local (single box) cluster for testing?

To avoid joining another cluster, the easiest way is to use a unique multicast address and a unique port number. To avoid the multicast traffic from going across the network, set the TTL to 0. For example, add the following parameters to the command line when starting up the JVM:

-Dtangosol.coherence.clusteraddress=224.3.1.99
-Dtangosol.coherence.clusterport=3199
-Dtangosol.coherence.ttl=0