Hide Forgot
Doc: Administration Guide Title: Cache Store Configuration Details (Remote Client-Server Mode) The doc says "The relative-to parameter specifies the base directory to store the cache state. This value defaults to jboss.server.data.dir". I tried to use this relative-to parameter, but it's not valid. When I start JDG the following error is raised: "Message: JBAS014788: Unexpected attribute 'relative-to' encountered"
Rafael, I tested this on a JDG 6.6 server using the following configuration: <subsystem xmlns="urn:infinispan:server:core:6.4" default-cache-container="local"> <cache-container name="local" default-cache="default" statistics="true"> <local-cache name="default" start="EAGER"> <file-store name="myFileStore" passivation="true" purge="true" relative-to="jboss.server.config.dir" path="store" max-entries="10000" fetch-state="true" preload="false" /> <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/> <transaction mode="NONE"/> </local-cache> </cache-container> </subsystem> This started successfully for me. In addition, checking the schemas ($JDG_SERVER/docs/schema/jboss_infinispan_core_6_4.xsd) the `relative-to` attribute is listed here as well. Can you provide the full configuration where this was encountered?
Hi Christian, thanks for analyzing this. You have tested the single file store. The unexpected behavior that I mentioned was related to the leveldb-store (look the case title). I'm attaching here an example of standalone.xml with your configuration, but changing the file-store element by leveldb-store. Using this XML configuration you probably are going to face the same issue. Thanks,
Created attachment 1227458 [details] Standalone configuration
I'm closing this issue out due to age. If it persists, file a corresponding JIRA.