Ehcache 2.10.7 | FAQ | Questions about Operations | Replicated Cache
 
Replicated Cache
How can I see if replicated caching is working?
You should see the listener port open on each server. You can use the replicated cache debug tool to see what is going on. For information, see Debugging and Monitoring Replicated Caches.
I am using the RemoteDebugger to monitor replicated cache messages, but all I see is "Cache size: 0". Why?
If you see nothing happening while cache operations should be going through, enable trace (LOG4J) or finest (JDK) level logging on net.sf.ehcache.distribution in the logging configuration being used by the debugger. A large volume of log messages will appear. The normal problem is that the CacheManager has not joined the replicated cache topology. Look for the list of cache peers. Finally, the debugger in Ehcache 1.5 has been improved to provide far more information on the caches that are replicated and events which are occurring.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.