1 Reply Latest reply on Jun 14, 2013 8:34 AM by Bhuvana R

    Enable Indexing in 5.3.0 CR1 cluster xml?

    Bhuvana R Newbie

      I have setup a cluster [Infinspan Version 5.3.0 CR1] and i need to enable indexing.

       

      Please explain how can i do that?

       

      Thanks & Regards,

      Bhuvana

        • 1. Re: Enable Indexing in 5.3.0 CR1 cluster xml?
          Bhuvana R Newbie

          Hi I need to enable indexing in Infinispan running as a remote server.I am using 5.3.0 CR1 version and i have altered the clusterd.xml file like below

           

          <subsystem xmlns="urn:infinispan:server:core:5.2" default-cache-container="clustered">

                      <cache-container name="clustered" default-cache="default">

           

           

                          <transport executor="infinispan-transport" lock-timeout="60000"/>

           

           

                          <distributed-cache name="default" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER">

                              <locking isolation="READ_COMMITTED" acquire-timeout="30000" concurrency-level="1000" striping="false"/>

                          <transaction mode="NONE"/>

                          <indexing enabled="true" indexLocalOnly="false">

                                  <property name="default.directory_provider" value="ram"/>

                          </indexing>

                          </distributed-cache>

           

          But i am getting an error like

           

           

          Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[107,1]

          Message: JBAS014789: Unexpected element '{urn:infinispan:server:core:5.2}indexing' encountered

                  at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:86) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader_5_2.parseCacheElement(InfinispanSubsystemXMLReader_5_2.java:503)

                  at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader_5_2.parseSharedStateCacheElement(InfinispanSubsystemXMLReader_5_2.java:447)

                  at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader_5_2.parseDistributedCache(InfinispanSubsystemXMLReader_5_2.java:336)

                  at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader_5_2.parseContainer(InfinispanSubsystemXMLReader_5_2.java:147)

                  at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader_5_2.readElement(InfinispanSubsystemXMLReader_5_2.java:51)

                  at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader_5_2.readElement(InfinispanSubsystemXMLReader_5_2.java:32)

                  at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                  at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                  at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1028) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:449) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:136) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                  at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                  at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]

                  ... 3 more

           

           

          Please help me out to fix this.

           

          Thanks