Error during CacheManager initialization for distributed ehcache implementation
Joined: Sep 24, 2008
I am using ehcache for short term caching of objects. This all worked very well until I implemented a single node cluster on Weblogic 8.1/1.4.2 JDK and adjusted the ehcache configuration to work on a distributed environment. Many searches have offered nothing for the particular error that I am getting - thus troubleshooting has been a bit of a hurdle. Below is the relevant portion of the stack and the bulk of my ehcache.xml file. Also, worth noting is this failure occurs using both ehcache 1.2.3 and 1.5.0. Any insight or suggestions welcome.
Stack: net.sf.ehcache.CacheException: Problem starting listener for RMICachePeer //172.26.184.60:3344/sessionIdCache. Initial c ause was no such object in table at net.sf.ehcache.distribution.RMICacheManagerPeerListener.notifyCacheAdded(RMICacheManagerPeerListener.java:513 ) at net.sf.ehcache.event.CacheManagerEventListenerRegistry.notifyCacheAdded(CacheManagerEventListenerRegistry.jav a:156) at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:720) at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:368) at net.sf.ehcache.CacheManager.init(CacheManager.java:235) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:213)