0 Replies Latest reply on Apr 9, 2013 11:23 AM by Team Team

    Cache replication using JMS & Active MQ on Fuse ESB

    Team Team Newbie

      Hi,

       

      We are trying to implement cache replication using JMS & Active MQ. Currently we are stuck with the below error . We tried using different versions of bundles & ehcache jar, but the error does not go away. Please help.

       

      ======================================

       

      Caused by: java.lang.NoSuchMethodError: net.sf.ehcache.distribution.EventMessage.(JMSEventMessage.java:89)[228:org.apache.servicemix.bundles.ehcache:2.6.5.1]

           at net.sf.ehcache.distribution.jms.JMSCacheReplicator.replicatePut(JMSCacheReplicator.java:299)[228:org.apache.servicemix.bundles.ehcache:2.6.5.1]

           at net.sf.ehcache.distribution.jms.JMSCacheReplicator.notifyElementPut(JMSCacheReplicator.java:246)[228:org.apache.servicemix.bundles.ehcache:2.6.5.1]

           at net.sf.ehcache.event.RegisteredEventListeners.notifyListener(RegisteredEventListeners.java:294)

           at net.sf.ehcache.event.RegisteredEventListeners.invokeListener(RegisteredEventListeners.java:284)

           at net.sf.ehcache.event.RegisteredEventListeners.internalNotifyElementPut(RegisteredEventListeners.java:144)

           at net.sf.ehcache.event.RegisteredEventListeners.notifyElementPut(RegisteredEventListeners.java:122)

           at net.sf.ehcache.Cache.notifyPutInternalListeners(Cache.java:1481)[228:org.apache.servicemix.bundles.ehcache:2.6.5.1]

           at net.sf.ehcache.Cache.putInternal(Cache.java:1456)[228:org.apache.servicemix.bundles.ehcache:2.6.5.1]

           at net.sf.ehcache.Cache.put(Cache.java:1383)[228:org.apache.servicemix.bundles.ehcache:2.6.5.1]

           at net.sf.ehcache.Cache.put(Cache.java:1348)[228:org.apache.servicemix.bundles.ehcache:2.6.5.1]

           at org.apache.camel.component.cache.CacheProducer.performCacheOperation(CacheProducer.java:85)[151:org.apache.camel.camel-cache:2.10.0.fuse-71-047]

           at org.apache.camel.component.cache.CacheProducer.process(CacheProducer.java:73)[151:org.apache.camel.camel-cache:2.10.0.fuse-71-047]

           at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)[81:org.apache.camel.camel-core:2.10.0.fuse-71-047]

       

      Regards,