Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9981

org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 8.2.4.Final
    • JCache
    • None

    Description

      org.infinispan.jcache.embedded.JCache do not call org.infinispan.AdvancedCache.with(ClassLoader), so the javax.cache.event.CacheEntryListener and javax.cache.event.CacheEntryEventFilter is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.

      Suggest to call org.infinispan.AdvancedCache.with(ClassLoader) in the constructor of org.infinispan.jcache.embedded.JCache

      Attachments

        Activity

          People

            Unassigned Unassigned
            sammyhk Sammy Chu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: