0 Replies Latest reply on Jun 27, 2013 6:04 AM by Sourabh Ghorpade

    Infinispan Persistent Cache Store + Hibernate Search + JBoss 7.1.1.Fina;

    Sourabh Ghorpade Newbie

      Hi all,

      I want to use Infinispan as a directory provider for Hibernate Search and persist the data.

      I am using JPA2 , JBoss 7.1.1.Final.

      I would like to use standalone.xml so that all modules of my project can use the same config. (project has multiple modules each having their own persistance.xml ,pom etc)

      I als tried the other option of having an infinispan-config file, problems :

      1. It forces me to enable invocation batching and set transaction mode to true
      2. ADditionally it forces me to declare them in a default cache and then gives  an error that default cache is already registered on deployment of another module. <default> is not wrtten in the second module's infinispan config
      3. THis approach is not clean as every module ends up having its own cache. This is thus a temporary structure


      Please suggest cleaner ways to do the same

      Pls Help.