How to integrate Hibernate Search and JDG with EAP 6.4?
Issue
- Trying to use
Hibernate SearchandJDGwhereJDGis managing Hibernate search'sLucene Indexbut 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
