Hang during deployment when custom cache template names include '.' characters when using legacy Hibernate configuration in JBoss EAP

Solution Verified - Updated -

Issue

  • A custom cache template is defined in the "hibernate" cache container in the standalone.xml

                <local-cache name="entities.custom-cache">
                    <transaction mode="NONE"/>
                    <object-memory size="10"/>
                </local-cache>
    
  • In the legacy hibernate.cfg.xml this is associated with a named cache region

                <property name="hibernate.cache.region.factory_class">org.infinispan.hibernate.cache.v53.InfinispanRegionFactory</property>
                <property name="hibernate.cache.infinispan.shared">false</property>
                <property name="hibernate.cache.region_prefix">entities</property>
                <property name="hibernate.cache.infinispan.entities.custom-cache.cfg">entities.custom-cache</property>
                <property name="hibernate.cache.use_second_level_cache">true</property>
    
  • During deployment the JVM hangs

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2
    • 7.3
  • Hibernate 5.3
  • Infinispan
    • 9.4
    • 9.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content