1 2 Previous Next 16 Replies Latest reply on Feb 8, 2013 9:11 AM by pjakub Go to original post
      • 15. Re: Modeshape 2.8.3.Final + infinispan problem
        rhauch

        Can you please post more (preferably all) of your repository configuration and your ISPN configuration file(s)?

        • 16. Re: Modeshape 2.8.3.Final + infinispan problem
          pjakub

          modeshape configruation:

           

          {

              "name" : "tlk_repo",

              "jndiName" : "",

              "storage" : {

                  "cacheName" : "tlk_infinispan_repo",

                  "cacheConfiguration" : "infinispan_configuration.xml",

                  "binaryStorage" : {

                   "type" : "cache",

                      "dataCacheName" : "dataCache",

                      "metadataCacheName" : "metadataCache"

                  }

              },

              "query" : {

                  "enabled" : true,

                  "enableFullTextSearch" : true,

                  "indexStorage" : {

                      "type" : "infinispan",

                  "cacheConfiguration" : "java:modeshape/CacheManager"

                  },

                  "indexing" : {

                      "hibernate.search.exclusive_index_use" : false,

                      "mode" : "sync",

                  },

              },

              "workspaces" : {

                  "predefined" : ["default","global"],

                  "default" : "default",

                  "allowCreation" : true

               },

              "security" : {

                  "anonymous" : {

                      "roles" : ["readonly", "connect","admin","readwrite"],

                      "useOnFailedLogin" : false

                  }

              },   

           

              "node-types" : ["tlk-ejb.jar/tlk-custom-node-types.cnd"],

           

              "clustering" : {

                  "clusterName" : "modeshape3",

              "channelConfiguration" : "ms-jgroups.xml"

              }

          }

           

           

          infinispan:

           

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

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

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

              xmlns="urn:infinispan:config:5.1">

           

              <global>

                  <transport clusterName="modeshape-grid">

                      <properties>

                          <property name="configurationFile" value="/home/pawloj01/jboss_tlk/jboss/server/default/deploy/tlk-ear.ear/modeshape3-jca.rar/jgroups-modeshape.xml" />

                      </properties>

                  </transport>

              </global>

           

              <default>

                  <clustering mode="distribution">

                      <sync />

                      <hash numOwners="2" rehashWait="120000" rehashRpcTimeout="600000" />

                      <l1 enabled="true" lifespan="600000" />

                  </clustering>

                 

                  <locking useLockStriping="false"/>

                 

                  <loaders passivation="false" shared="true" preload="false">

                      <loader class="org.infinispan.loaders.remote.RemoteCacheStore" fetchPersistentState="false"

                             ignoreModifications="false" purgeOnStartup="false" >

                            <properties>

                           <property name="hotRodClientPropertiesFile" value="hotrod-client.properties"/>

                           <property name="remoteCacheName" value="tlk_content"/>

                            </properties>

                       </loader>

                      <!--<loader class="org.infinispan.loaders.file.FileCacheStore"

                          fetchPersistentState="false" purgeOnStartup="false" ignoreModifications="false">

                          <properties>

                              <property name="location" value="/tmp/modeshape/infinispan_content" />

                          </properties>

                      </loader>-->

                  </loaders>

              </default>

           

           

          </infinispan>

          1 2 Previous Next