org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory]

redhat.com | 5 months ago
  1. 0

    Getting StrategySelectionException/HibernateException while configuring second-level caching in JBoss EAP 7 - Red Hat Customer Portal

    redhat.com | 5 months ago
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory]
  2. 0

    Adding hibernate-ehcache.jar and ehcache-core.jar to WildFly as a module

    Stack Overflow | 11 months ago | Tiny
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory]
  3. 0

    Adding hibernate-ehcache.jar and ehcache-core.jar to WildFly as a module | Solutions for enthusiast and professional programmers

    fatal-errors.com | 11 months ago
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to resolve name [org.hibernate.cache.ehcache.EhCacheRegionFactory] as strategy [org.hibernate.cache.spi.RegionFactory]

    Stack Overflow | 2 years ago | santu
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/persistence.xml]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory]
  6. 0

    Unable to create requested service [org.hibernate.cache.spi.RegionFactory] - Hibernate 4.3.8

    Stack Overflow | 2 years ago | parvezp
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory]

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.boot.registry.selector.spi.StrategySelectionException

      Unable to resolve name [org.jboss.as.jpa.hibernate4.infinispan.InfinispanRegionFactory] as strategy [org.hibernate.cache.spi.RegionFactory]

      at org.hibernate.boot.registry.selector.internal.StrategySelectorImpl.selectStrategyImplementor()
    2. org.hibernate.boot
      StrategySelectorImpl.selectStrategyImplementor
      1. org.hibernate.boot.registry.selector.internal.StrategySelectorImpl.selectStrategyImplementor(StrategySelectorImpl.java:113)
      1 frame
    3. Hibernate
      RegionFactoryInitiator.initiateService
      1. org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:71)
      2. org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:29)
      2 frames
    4. org.hibernate.boot
      StandardServiceRegistryImpl.initiateService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
      1 frame
    5. Hibernate
      AbstractServiceRegistryImpl.getService
      1. org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:234)
      2. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:208)
      3. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:189)
      3 frames
    6. org.hibernate.boot
      MetadataSources.getMetadataBuilder
      1. org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl.<init>(MetadataBuilderImpl.java:663)
      2. org.hibernate.boot.internal.MetadataBuilderImpl.<init>(MetadataBuilderImpl.java:127)
      3. org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:135)
      3 frames
    7. org.hibernate.jpa
      Bootstrap.getEntityManagerFactoryBuilder
      1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:180)
      2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:144)
      3. org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:28)
      4. org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:40)
      4 frames
    8. org.jboss.as
      HibernatePersistenceProviderAdaptor.getBootstrap
      1. org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.<init>(TwoPhaseBootstrapImpl.java:39)
      2. org.jboss.as.jpa.hibernate5.HibernatePersistenceProviderAdaptor.getBootstrap(HibernatePersistenceProviderAdaptor.java:159)
      2 frames
    9. JPA
      PhaseOnePersistenceUnitServiceImpl$1$1.run
      1. org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl.createContainerEntityManagerFactoryBuilder(PhaseOnePersistenceUnitServiceImpl.java:242)[wildfly-jpa-10.0.0.CR6-redhat-1.jar:10.0.0.CR6-redhat-1]
      2. org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl.access$800(PhaseOnePersistenceUnitServiceImpl.java:59)[wildfly-jpa-10.0.0.CR6-redhat-1.jar:10.0.0.CR6-redhat-1]
      3. org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:117)[wildfly-jpa-10.0.0.CR6-redhat-1.jar:10.0.0.CR6-redhat-1]
      4. org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1$1.run(PhaseOnePersistenceUnitServiceImpl.java:102)[wildfly-jpa-10.0.0.CR6-redhat-1.jar:10.0.0.CR6-redhat-1]
      4 frames
    10. WildFly Security Manager
      WildFlySecurityManager.doChecked
      1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)[wildfly-elytron-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
      1 frame
    11. JPA
      PhaseOnePersistenceUnitServiceImpl$1.run
      1. org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl$1.run(PhaseOnePersistenceUnitServiceImpl.java:129)[wildfly-jpa-10.0.0.CR6-redhat-1.jar:10.0.0.CR6-redhat-1]
      1 frame
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_40]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_40]
      3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_40]
      3 frames
    13. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)[jboss-threads-2.2.1.Final-redhat-1.jar:2.2.1.Final-redhat-1]
      1 frame