How to integrate Hibernate Search and JDG with EAP 6.4?
Issue
- Trying to use
Hibernate Search
andJDG
whereJDG
is managing Hibernate search'sLucene Index
but getting following exception.
...
10:07:08,813 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/resmed-cache-demo].[FacesServlet]] (http-/127.0.0.1:8080-1) JBWEB000236: Servlet.service() for servlet FacesServlet threw exception: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "org/hibernate/search/SearchFactory"
...
Environment
-
Red Hat JBoss Enterprise Application Platform (EAP)
- 6.4
-
Red Hat JBoss Data Grid (JDG)
- 6.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.