Details
-
Bug
-
Resolution: Won't Do
-
Major
-
3.8.0.Final
-
None
Description
When trying to create a composite binary store in an EAP configuration file, the stores do not store binaries unless you specify the "relative-to" attribute. No errors/exceptions are thrown. Attached is an excerpt from my configuration file.
Tested with JBoss EAP 6.3
<subsystem xmlns="urn:jboss:domain:modeshape:1.0"> <repository name="sample" cache-container="modeshape"> <composite-binary-storage min-value-size="100"> <file-binary-storage path="/home/xxx/stores/store1" store-name="default"/> <file-binary-storage path="/home/xxx/stores/store2" store-name="store2"/> </composite-binary-storage> </repository> <cache-container name="modeshape" default-cache="sample" module="org.modeshape" statistics-enabled="true"> <local-cache name="sample" statistics-enabled="true"> <transaction mode="NON_XA"/> <file-store relative-to="jboss.server.data.dir" path="modeshape/store/sample" passivation="false" purge="false"/> </local-cache>