I am getting Failed to start Service "Cluster" error while running Junit test
Here is the Run Configuration in Eclipse
DefaultCacheServer running on different JVM
Main class : com.tangosol.net.DefaultCacheServer
VM Arguments:
-Dtangosol.coherence.cacheconfig=C:\MyWorkspaces\xxx\src\main\resources\coherence-cache-config.xml
-Dtangosol.coherence.hibernate.cacheconfig=C:\MyWorkspaces\xxx\src\main\resources\coherence-cache-config.xml
-Dtangosol.coherence.distributed.localstorage=true
Junit test running on different JVM
VM Arguments:
-Dtangosol.coherence.log.level=3
-Dtangosol.coherence.distributed.localstorage=false
Here is the error
2009-12-11 09:59:00.541/7.578 Oracle Coherence GE 3.5.2/463p1 <Error> (thread=Cluster, member=n/a): This member could not join the cluster because of a configuration mismatch between this member and the configuration being used by the rest of the cluster. This member specified a cluster name of "cluster:0xD3FB" which did not match the name of the running cluster. This indicates that there are multiple clusters on this network attempting to use overlapping network configurations. Rejected by Member(Id=1, Timestamp=2009-12-11 09:57:20.259, Address=165.137.249.78:8088, MachineId=54606, Location=site:cable.comcast.com,machine:DIVWL-5G545L1,process:3352).
2009-12-11 09:59:00.556/7.593 Oracle Coherence GE 3.5.2/463p1 <Error> (thread=Main Thread, member=n/a): Error while starting cluster: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:38)