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

org.infinispan.jcache.embedded.JCacheManager#create always throw CacheConfigurationException if create cache with template

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.1.8.Final
    • None
    • JCache
    • None
    • Hide

      ISPN-11918.zip is a simple standalone application to reproduce this issue, change infinispan version from 10.1.8.Final to 8.2.12.Final will work correctly. Attached the trace log ISPN-11918-fail.log when stay on 10.1.8.Final and ISPN-11918-success.log when changed to 8.2.12.Final.

      Show
      ISPN-11918.zip is a simple standalone application to reproduce this issue, change infinispan version from 10.1.8.Final to 8.2.12.Final will work correctly. Attached the trace log ISPN-11918-fail.log when stay on 10.1.8.Final and ISPN-11918-success.log when changed to 8.2.12.Final.

    Description

      Our project upgraded from Infinispan 8.2.4.Final to 9.4.18.Final and got `org.infinispan.commons.CacheConfigurationException: ISPN000453: Attempt to define configuration for cache MY_CACHE_NAME which already exists` .

      We are defining the cache template and then programmatically define the JCache with jcache configuration. From the source code of
      JCacheManager, it is reading the `baseConfig` as the template and then merge it with the jcache configuration, which is working expected in 8.2.4.Final. Now upgraded to 9.4.18.Final, it is not working due to change of ISPN-7540.

      We checked this issue also reproducible on current latest stable release (10.1.8.Final).

      ISPN-11918.zip is a simple standalone application to reproduce this issue, change infinispan version from 10.1.8.Final to 8.2.12.Final will work correctly. Attached the trace log ISPN-11918-fail.log when stay on 10.1.8.Final and ISPN-11918-success.log when changed to 8.2.12.Final.

      Attachments

        1. ISPN-11918.zip
          4 kB
        2. ISPN-11918-fail.log
          250 kB
        3. ISPN-11918-success.log
          400 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: