Common Issues with JGroups Replication
If replication using JGroups doesn't work the way you have it configured, try this configuration which has been extensively tested:
<cacheManagerPeerProviderFactory 
    class="net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory"/> 
<cache name="sampleCacheAsync" 
  maxEntriesLocalHeap="1000" 
  eternal="false" 
  timeToIdleSeconds="1000" 
  timeToLiveSeconds="1000" 
  overflowToDisk="false"> 
  <cacheEventListenerFactory 
    class="net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory" 
    properties="replicateAsynchronously=true, replicatePuts=true, 
      replicateUpdates=true, replicateUpdatesViaCopy=false, 
      replicateRemovals=true" /> 
</cache>
If this fails to replicate, see the example programs in the JGroups documentation at 
http://www.jgroups.org/manual/html/ch02.html.
Once you have figured out the connection string that works in your network for JGroups, you can directly paste it in the connect property of JGroupsCacheManagerPeerProviderFactory.