5 Replies Latest reply on May 14, 2014 3:06 AM by Horia Chiorean

    configuring modeshape subsystem

    Basic Modeshaper Newbie

      Hi,

       

      sorry if I'm asking newbie question, but currently I'm lost in configuration.

      I need to store files on some file server that is different from where JBoss server resides.

      This is the config from modeshape instaling on the JBoss 7.2.0

       

              <subsystem xmlns="urn:jboss:domain:modeshape:1.0">

                  <repository name="sample" cache-name="sample" cache-container="modeshape" cluster-name="modeshape-sample-cluster" cluster-stack="tcp">

                      <local-file-index-storage path="modeshape/indexes/sample-${jboss.node.name}"/>

                      <cache-binary-storage data-cache-name="sample-binary-fs" metadata-cache-name="sample-binary-fs-meta" cache-container="modeshape-binary-cache-container"/>

                  </repository>

                  <repository name="artifacts" cache-name="artifacts" cache-container="modeshape" cluster-name="modeshape-artifacts-cluster" cluster-stack="tcp">

                      <workspaces allow-workspace-creation="false">

                          <workspace name="default">

                              <initial-content>

                                  initial-content-default.xml

                              </initial-content>

                          </workspace>

                          <workspace name="other"/>

                          <workspace name="extra"/>

                      </workspaces>

                      <local-file-index-storage path="modeshape/indexes/artifacts-${jboss.node.name}"/>

                      <cache-binary-storage data-cache-name="artifacts-binary-fs" metadata-cache-name="artifacts-binary-fs-meta" cache-container="modeshape-binary-cache-container"/>

                      <sequencers>

                               ......

                      </sequencers>

                      <text-extractors>

                          <text-extractor name="tika-extractor" classname="tika" module="org.modeshape.extractor.tika"/>

                      </text-extractors>

                  </repository>

                  <webapp name="modeshape-rest.war"/>

                  <webapp name="modeshape-webdav.war"/>

                  <webapp name="modeshape-explorer.war"/>

                  <webapp name="modeshape-cmis.war"/>

              </subsystem>

       

      Where can I specify the path to repository on different server?

       

      Thanks