-
-
Notifications
You must be signed in to change notification settings - Fork 2
Wildfly 10 + OGM 5.1 Redis does not work as expected #1
Description
Ref: migounette/hibernate-demos#1
You can execute the sample here:
https://github.com/migounette/hibernate-demos/tree/master/hibernate-ogm/hiking-demo-redis
Mongodb: Works fine
https://github.com/migounette/hibernate-demos/tree/master/hibernate-ogm/hiking-demo
Redis: Does not work
https://github.com/migounette/hibernate-demos/tree/master/hibernate-ogm/hiking-demo-redis
Exception raised: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator not a subtype
PASSED : name="hike-PU" transaction-type="RESOURCE_LOCAL" <== Non Wildfly
FAILED : name="hike-PU-JTA" transaction-type="JTA" <== Wildfly
Tested with and without:
Based on https://github.com/hibernate/hibernate-demos, I made some modifications in order to use OGM 5.1 + Redis (Experimental) with Wildfly 10.
Modules are:
OGM - Version 5.1.0.Final
org.hibernate.ogm:hibernate-ogm-modules:5.1.0.Final:wildfly-10-dist
ORM - Version 5.1.2.Final (Also tested with 5.1.4)
org.hibernate:hibernate-orm-modules:5.1.2.Final:wildfly-10-dist
SEARCH - Version 5.6.1.Final
org.hibernate:hibernate-search-modules:5.6.1.Final:wildfly-10-dist
When the application starts the following exception is raised:
15:33:02,886 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "OrderRepositoryIT.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {
"jboss.persistenceunit."OrderRepositoryIT.war#business".FIRST_PHASE" => "org.jboss.msc.service.StartException in service jboss.persistenceunit."OrderRepositoryIT.war#business".FIRST_PHASE: java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator not a subtype
Caused by: java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator not a subtype",
"jboss.persistenceunit."OrderRepositoryIT.war#hike-PU-JTA".FIRST_PHASE" => "org.jboss.msc.service.StartException in service jboss.persistenceunit."OrderRepositoryIT.war#hike-PU-JTA".FIRST_PHASE: java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator not a subtype
Caused by: java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator not a subtype",
"jboss.persistenceunit."OrderRepositoryIT.war#hike-PU".FIRST_PHASE" => "org.jboss.msc.service.StartException in service jboss.persistenceunit."OrderRepositoryIT.war#hike-PU".FIRST_PHASE: java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator not a subtype
Caused by: java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator not a subtype"
},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.persistenceunit."OrderRepositoryIT.war#business".FIRST_PHASE",
"jboss.persistenceunit."OrderRepositoryIT.war#hike-PU-JTA".FIRST_PHASE",
"jboss.persistenceunit."OrderRepositoryIT.war#hike-PU".FIRST_PHASE"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
Any idea on this issue is welcome... @emmanuelbernard @hferentschik @sebersole @DavideD