0 Replies Latest reply on Jun 27, 2013 4:39 AM by Sourabh Ghorpade

    Use standalone.xml for Infinispan persistent cache store

    Sourabh Ghorpade Newbie

      Hello all,

      I am using Hibernate Search with Infinispan Cache in Jboss AS 7. I want to persist the cache. I read https://docs.jboss.org/author/display/ISPN/Getting+Started+Guide+-+JBoss+AS+7 which asks me to put <file-store /> in standalone-ha.xml.

      Question : Is using standalone-ha.xml compolsary ? can't I do the same thing in standalone.xml ? What will I have to import to use standalone.xml

      When I tried using standalone.xml it threw java.lang.NoSuchMethodError:. standalone-ha.xml also gave same exception. Stack-trace is given below

      THanks in advance for ur help

       

       

      Stack-Trace :

      14:01:14,651 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 33) JBAS014612: Operation ("add") failed - address: ([

          ("subsystem" => "infinispan"),

          ("cache-container" => "HibernateSearch"),

          ("local-cache" => "LuceneIndexesMetadata")

      ]): java.lang.NoSuchMethodError: org.infinispan.configuration.cache.LoaderConfigurationBuilder.fetchPersistentState(Z)Lorg/infinispan/configuration/cache/LoaderConfigurationBuilder;

                at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:410)

                at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:165)

                at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]

                at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]

                at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]