]
Sammy Chu updated ISPN-11918:
-----------------------------
Affects Version/s: 10.1.8.Final
(was: 9.4.18.Final)
org.infinispan.jcache.embedded.JCacheManager#create always throw
CacheConfigurationException if create cache with template
--------------------------------------------------------------------------------------------------------------------------
Key: ISPN-11918
URL:
https://issues.redhat.com/browse/ISPN-11918
Project: Infinispan
Issue Type: Bug
Components: JCache
Affects Versions: 10.1.8.Final
Reporter: Sammy Chu
Priority: Major
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|https://github.com/infinispan/infinispan/blob/master/jcache...],
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.