Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2337

Binary file system store not working with absolute path in EAP config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 4.1.0.Final
    • 3.8.0.Final
    • Storage
    • 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> 
      

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            wesssel Wessel Nieboer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: