Hi dav,
I found that this exception may be the reason for the error in my use case:
net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory cannot be cast to net.sf.ehcache.distribution.CacheManagerPeerListenerFactory
How can this be resolved??