We were using JMS replicaiton (ehcache-jmsreplication-0.4.jar) with ehcache-core v2.4.3 and the configuration was working fine in our application.
Then we tried to integrate bigmemory by replacing ehcache-core v2.4.3 with ehcache-ee v2.8.0 in our application. With this configuration application is giving us following error at application server start-up.
Code:
net.sf.ehcache.distribution.EventMessage.<init>(ILjava/io/Serializable;Lnet/sf/ehcache/Elem
ent;)V
at net.sf.ehcache.distribution.jms.JMSEventMessage.<init>(JMSEventMessage.java:89)
at net.sf.ehcache.distribution.jms.JMSCacheReplicator.replicateRemoval(JMSCacheReplicator.java:352)
at net.sf.ehcache.distribution.jms.JMSCacheReplicator.notifyElementRemoved(JMSCacheReplicator.java:345)
at net.sf.ehcache.event.RegisteredEventListeners.internalNotifyElementRemoved(RegisteredEventListeners.java:157)
at net.sf.ehcache.event.RegisteredEventListeners.notifyElementRemoved(RegisteredEventListeners.java:137)
at net.sf.ehcache.Cache.notifyRemoveInternalListeners(Cache.java:2381)
at net.sf.ehcache.Cache.removeInternal(Cache.java:2355)
at net.sf.ehcache.Cache.remove(Cache.java:2257)
at net.sf.ehcache.Cache.remove(Cache.java:2175)
at net.sf.ehcache.Cache.remove(Cache.java:2153)
Is jms replication is supported by big memory(ehcache-ee v2.8.0)?