How to integrate Hibernate Search and JDG with EAP 6.4?

Solution Verified - Updated -

Issue

  • Trying to use Hibernate Search and JDG where JDG is managing Hibernate search's Lucene 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.

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