Camel EHCache: ClassNotFoundException when persistent cache is initialized

Solution Verified - Updated -

Issue

  • My bundle creates a persistent user cache (using ehcache). But when i deploy the bundle to fuse-karaf-container i get a strange behaviour when the perstistent cache ist already filled with some data.
  • At deployment time everything seems working fine. The bundle ist started and the cache ist filled with some data. When restart the fuse-karaf-container i get a ClassNotFoundException when the Cache is filled from the persistent data.
  • When i stop the fuse-karaf-container, delete the persistent cache directory and start the container again, the cache is correctly filled with data again.

Environment

  • Red Hat Fuse
    • 7.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content