"ISPN000381: This configuration is not supported for simple cache" using local-cache configuration for timestamps in an HA/cluster deployment in JBoss EAP

Solution Verified - Updated -

Issue

  • Using clustered / HA based configuration
  • Using custom query cache template (local-cache)
  • Using custom timestamps cache template (local-cache)
  • During deployment of the persistence unit, an ISPN000381 exception is raised

    ... org.infinispan.commons.CacheConfigurationException: ISPN000381: This configuration is not supported for simple cache
        at org.infinispan.configuration.cache.ConfigurationBuilder.validateSimpleCacheConfiguration(ConfigurationBuilder.java:258)
        at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:226)
        at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:291)
        at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:281)
        at org.infinispan.hibernate.cache.v53.InfinispanRegionFactory.getCache(InfinispanRegionFactory.java:498)
        at org.infinispan.hibernate.cache.v53.InfinispanRegionFactory.buildTimestampsRegion(InfinispanRegionFactory.java:165)
        at org.hibernate.cache.internal.EnabledCaching.<init>(EnabledCaching.java:85)
        at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:33)
        at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:24)
        at org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService(SessionFactoryServiceInitiator.java:30)
        at org.hibernate.service.internal.SessionFactoryServiceRegistryImpl.initiateService(SessionFactoryServiceRegistryImpl.java:68)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
        ... 
    

Environment

  • Red Hat JBoss Enteprise Application Platform (EAP)
    • 7.2
    • 7.3
  • Infinispan
    • 9.3
    • 9.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In