Hi,

How you package your bundle?
The java.lang.ClassCastException:
net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory cannot be
cast t
o net.sf.ehcache.distribution.CacheManagerPeerListenerFactory

generally indicate that RMICacheManagerPeerListenerFactory and CacheManagerPeerListenerFactory get loaded by different classloader, my gut feeling is that your customer bundle embed some cache jar and this conflict which the one in OSGi container.

Anyway, a runnable testcase is absolutely more helpful here.

Freeman
On 2011-8-16, at 下午7:29, Farha wrote:

I have to move a file from activemq input queue to cache and then retrieve
the file from the cache to output queue.

I have installed the Fuse cache using feature:install camel-cache.

I am using camel-blueprint to move the file. The blueprint bundle is created
while the camel-cache  bundle is not created.


Please help.

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Getting-Exception-in-cache-feature-in-Fuse-tp4703678p4704121.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to