Built in Brew/MEAD: https://brewweb.devel.redhat.com/taskinfo?taskID=5909632 The server itself is http://download.devel.redhat.com/brewroot/work/tasks/9632/5909632/com/jboss/datagrid/jboss-datagrid-server/6.1.0.GA-redhat-2/jboss-datagrid-server-6.1.0.GA-redhat-2.zip Add - leveldb-0.6.jar in modules/org/iq80/leveldb/main - leveldb-api-0.6.jar in modules/org/iq80/leveldb/api/main modify the respective module.xml to include those jars in the resources, e.g.: <resources> <resource-root path="leveldb-0.6.jar"/> <!-- Insert resources here --> </resources> Add the following to a cache definition in standalone.xml to configure the database <store class="org.infinispan.loaders.leveldb.LevelDBCacheStore"> <property name="location" value="/path/to/leveldb/data" /> </store>
Created attachment 762038 [details] standalone.xml with LevelDB cachestore
This feature has been developed for JDG 6.2 DR4. So I'm setting this to VERIFIED even though mlinhard found some issues, which stay open: https://bugzilla.redhat.com/show_bug.cgi?id=1007947 EntrySet operation in cache with LevelDB store ignores expiration https://bugzilla.redhat.com/show_bug.cgi?id=1007756 LevelDB Cache store in server doesn't keep data between restarts