2 Replies Latest reply on Apr 18, 2017 3:31 AM by c0ff75

    Using rocksdb in Infinispan 9 Final

    c0ff75

      Hello,

       

      During Infinispan upgrade I tries to use rocksdb instead of leveldb. But I can't start my application because have following errors:

       

      Severe:   Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.infinispan.commons.CacheConfigurationException: ISPN000327: Cannot find a parser for element 'rocksdb-store' in namespace 'urn:infinispan:config:store:rocksdb:9.0'. Check that your configuration is up-to date for this version of Infinispan.

       

      I can't find any error in my configuration file. May be anybody can help me?

       

      My configuration file is:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                  xsi:schemaLocation="urn:infinispan:config:9.0 http://infinispan.org/schemas/infinispan-config-9.0.xsd

                                      urn:infinispan:config:store:rocksdb:9.0 http://infinispan.org/schemas/infinispan-cachestore-rocksdb-config-9.0.xsd"

                  xmlns="urn:infinispan:config:9.0"

                  xmlns:rdb="urn:infinispan:config:store:rocksdb:9.0">

          <jgroups>

              <stack-file name="external-file" path="/com/gs46/interfaces/cache/default-jgroups-udp.xml"/>

          </jgroups>

         

          <cache-container default-cache="GS46_Interfaces_Cache">

              <transport stack="external-file" />

              <global-state>

                  <persistent-location path="d:/cache/global-state" />

                  <temporary-location path="d:/cache/global-state/tmp"/>               

              </global-state>

              <replicated-cache name="GS46_Interfaces_Cache" mode="ASYNC" statistics="true" statistics-available="true" segments="1024">     

                  <memory>

                      <binary eviction="MEMORY" size="1073741824" />

                  </memory>                                                      

                  <state-transfer enabled="true" timeout="480000" chunk-size="1024" await-initial-transfer="false"/>  

                  <persistence passivation="false">

                      <rdb:rocksdb-store path="d:/cache/data/" shared="false" preload="false" block-size="4096" cache-size="131072000">

                          <rdb:expiration path="d:/cache/expired/"/>

                          <rdb:compression type="LZ4HC" />

                      </rdb:rocksdb-store>                  

                  </persistence>          

              </replicated-cache>

          </cache-container>

         

      </infinispan>