Hi all,
After upgrade from WF 22 to WF 31 with infinispan version 14.0.24.Final, it can't get the cache which we define in the standalone-full-ha.xml, it throws the error: ISPN000436: Cache 'cusmycache' has been requested, but no matching cache configuration exists
Can you help to resolve this issue?
This is my configuration in the standalone-full-ha.xml:
<subsystem xmlns="urn:jboss:domain:infinispan:14.0">
<cache-container name="mycontainer-cache" default-cache="security">
<transport-thread-pool max-threads="200"/>
<replicated-cache name="cusmycache" remote-timeout="60000">
<locking isolation="READ_COMMITTED" acquire-timeout="290000" striping="false"/>
<transaction mode="NON_DURABLE_XA" locking="OPTIMISTIC"/>
<heap-memory size="-1"/>
<state-transfer timeout="0"/>
</replicated-cache>
</cache-container>
</subsystem>
The file deployment is a "sar" file, in the applicationContext.xml will lookup the cache container and inject to the bean, then in the bean will get the cache name "cusmycache":
The class MyCacheMgt:
public MyCacheMgt(EmbeddedCacheManager cacheManager) {
cacheManager.getCache("cusmycache"); //it throws exception at here: ISPN000436: Cache 'cusmycache' has been requested, but no matching cache configuration exists
}