Well it was supposed to be attached :-) I guess we can't send attachments to
this list?

Warwick


--- cut here ---

<?xml version="1.0"?>
<slide>
    <namespace name="slide">
        <definition>
            <store name="tx">
                <nodestore
classname="org.apache.slide.store.impl.rdbms.JDBCStore">
                  <parameter
name="adapter">org.apache.slide.store.impl.rdbms.DB2RDBMSAdapter</parameter>
                  <parameter
name="driver">com.ibm.db2.jcc.DB2Driver</parameter>
                  <parameter
name="url">jdbc:db2://machine_name:50000/DB_ALIAS</parameter>
                  <parameter name="user">admin</parameter>
                  <parameter name="password">password</parameter>
                  <parameter name="dbcpPooling">true</parameter>
                  <parameter name="maxPooledConnections">50</parameter>
                  <parameter name="isolation">READ_COMMITTED</parameter>
                  <parameter name="compress">false</parameter>
                </nodestore>
                <sequencestore>
                  <reference store="nodestore" />
                </sequencestore>
                <securitystore>
                  <reference store="nodestore" />
                </securitystore>
                <lockstore>
                  <reference store="nodestore" />
                </lockstore>
                <revisiondescriptorsstore>
                  <reference store="nodestore" />
                </revisiondescriptorsstore>
                <revisiondescriptorstore>
                  <reference store="nodestore" />
                </revisiondescriptorstore>
                <contentstore
classname="org.apache.slide.store.txfile.TxFileContentStore">
                    <parameter
name="rootpath"><path-to-webapps>/slide/WEB-INF/store/content</parameter>
                    <parameter
name="workpath"><path-to-webapps>/slide/WEB-INF/work/content</parameter>
                    <!-- Slide user list suggested disabling this for
filestore to avoid deadlock with high load -->
                    <parameter name="defer-saving">false</parameter>
                    <parameter name="timeout">120</parameter>
                </contentstore>
                <!-- uncomment if you want to use the sample Indexer -->
                <!-- be sure to have Lucene in your classpath
-->
                <!--
                <contentindexer
classname="org.apache.slide.index.SampleTxtContainsIndexer">
                <parameter name="indexpath">./index</parameter>
                </contentindexer>
                -->
            </store>
            <scope match="/" store="tx"/>
            <store name="tx2">
                <nodestore
classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
                    <parameter
name="rootpath"><path-to-webapps>/slide/WEB-INF/store2/metadata</parameter>
                    <parameter
name="workpath"><path-to-webapps>/slide/WEB-INF/work2/metadata</parameter>
                    <parameter name="defer-saving">false</parameter>
                </nodestore>
                <sequencestore
classname="org.apache.slide.store.txfile.FileSequenceStore">
                    <parameter
name="rootpath"><path-to-webapps>/slide/WEB-INF/store2/sequence</parameter>
                </sequencestore>
                <securitystore>
                  <reference store="nodestore" />
                </securitystore>
                <lockstore>
                  <reference store="nodestore" />
                </lockstore>
                <revisiondescriptorsstore>
                  <reference store="nodestore" />
                </revisiondescriptorsstore>
                <revisiondescriptorstore>
                  <reference store="nodestore" />
                </revisiondescriptorstore>
                <contentstore
classname="org.apache.slide.store.txfile.TxFileContentStore">
                    <parameter
name="rootpath"><path-to-webapps>/slide/WEB-INF/store2/content</parameter>
                    <parameter
name="workpath"><path-to-webapps>/slide/WEB-INF/work2/content</parameter>
                    <!-- Slide user list suggested disabling this for
filestore to avoid deadlock with high load -->
                    <parameter name="defer-saving">false</parameter>
                    <parameter name="timeout">120</parameter>
                </contentstore>
                <!-- uncomment if you want to use the sample Indexer -->
                <!-- be sure to have Lucene in your classpath
-->
                <!--
                <contentindexer
classname="org.apache.slide.index.SampleTxtContainsIndexer">
                <parameter name="indexpath">./index</parameter>
                </contentindexer>
                -->
            </store>
            <scope match="/files_2" store="tx2"/>
            <store name="tx3">
                <nodestore
classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
                    <parameter
name="rootpath"><path-to-webapps>/slide/WEB-INF/store3/metadata</parameter>
                    <parameter
name="workpath"><path-to-webapps>/slide/WEB-INF/work3/metadata</parameter>
                    <parameter name="defer-saving">false</parameter>
                </nodestore>
                <sequencestore
classname="org.apache.slide.store.txfile.FileSequenceStore">
                    <parameter
name="rootpath"><path-to-webapps>/slide/WEB-INF/store3/sequence</parameter>
                </sequencestore>
                <securitystore>
                  <reference store="nodestore" />
                </securitystore>
                <lockstore>
                  <reference store="nodestore" />
                </lockstore>
                <revisiondescriptorsstore>
                  <reference store="nodestore" />
                </revisiondescriptorsstore>
                <revisiondescriptorstore>
                  <reference store="nodestore" />
                </revisiondescriptorstore>
                <contentstore
classname="org.apache.slide.store.txfile.TxFileContentStore">
                    <parameter
name="rootpath"><path-to-webapps>/slide/WEB-INF/store3/content</parameter>
                    <parameter
name="workpath"><path-to-webapps>/slide/WEB-INF/work3/content</parameter>
                    <!-- Slide user list suggested disabling this for
filestore to avoid deadlock with high load -->
                    <parameter name="defer-saving">false</parameter>
                    <parameter name="timeout">120</parameter>
                </contentstore>
                <!-- uncomment if you want to use the sample Indexer -->
                <!-- be sure to have Lucene in your classpath
-->
                <!--
                <contentindexer
classname="org.apache.slide.index.SampleTxtContainsIndexer">
                <parameter name="indexpath">./index</parameter>
                </contentindexer>
                -->
            </store>
            <scope match="/files_secondCollection" store="tx3"/>
        </definition>
        <configuration>
            <!-- Actions mapping -->
            <read-object>/actions/read</read-object>
            <create-object>/actions/write</create-object>
            <remove-object>/actions/write</remove-object>
            <grant-permission>/actions/write-acl</grant-permission>
            <revoke-permission>/actions/write-acl</revoke-permission>
            <read-permissions>/actions/read-acl</read-permissions>
 
<read-own-permissions>/actions/read-current-user-privilege-set</read-own-per
missions>
            <lock-object>/actions/write</lock-object>
            <kill-lock>/actions/unlock</kill-lock>
            <read-locks>/actions/read</read-locks>
            <read-revision-metadata>/actions/read</read-revision-metadata>
 
<create-revision-metadata>/actions/write-properties</create-revision-metadat
a>
 
<modify-revision-metadata>/actions/write-properties</modify-revision-metadat
a>
 
<remove-revision-metadata>/actions/write-properties</remove-revision-metadat
a>
            <read-revision-content>/actions/read</read-revision-content>
 
<create-revision-content>/actions/write-content</create-revision-content>
 
<modify-revision-content>/actions/write-content</modify-revision-content>
 
<remove-revision-content>/actions/write-content</remove-revision-content>
            <bind-member>/actions/bind</bind-member>
            <unbind-member>/actions/unbind</unbind-member>
            <!-- Paths configuration -->
            <userspath>/users</userspath>
            <rolespath>/roles</rolespath>
            <actionspath>/actions</actionspath>
            <filespath>/files</filespath>
            <parameter name="dav">true</parameter>
            <parameter name="standalone">true</parameter>
            <parameter name="acl_inheritance_type">path</parameter>
            <!-- Nested roles: 0 means no nesting (default), 1 means one
sublevel, etc. -->
            <parameter name="nested_roles_maxdepth">0</parameter>
            <!-- Can be "off", "write" and "full" -->
            <parameter name="sequential-mode">full</parameter>
            <!-- "false" lets all read-only methods be executed outside of
transactions -->
            <parameter name="all-methods-in-transactions">true</parameter>
            <!-- Setting this to true will force Slide to internally convert
the username a user
                 enters at login to lowercase. This is useful for users who
can't be bothered
                 with turning off their capslock key before logging in. -->
            <parameter name="force-lowercase-login">false</parameter>
            <!-- Speed up access to /history by making hierarchy based on 
            history id eg.

                 fileA.doc was /history/8 stays as /history/8
                 fileB.doc was /history/18 becomes as /history/1/h8
                 fileC.doc was /history/137 becomes /history/1/3/h7
            -->
            <parameter name="history-collection-hack">true</parameter>
        </configuration>
        <data>
            <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/">
                <!-- Subject can be:
                any user             "all"
                authenticated user   "authenticated"
                unauthenticated user "unauthenticated"
                self                 "self"
                owner of resource    "owner"
                a user               "/users/john"
                a role               "/roles/admin"
                -->
                <permission action="all" subject="unauthenticated"
inheritable="true"/>

                <!--
                <permission action="/actions/read-acl" subject="all"
inheritable="true" negative="true"/>
                <permission action="/actions/write-acl" subject="all"
inheritable="true" negative="true"/>
                <permission action="/actions/unlock" subject="all"
inheritable="true" negative="true"/>
                <permission action="/actions/read" subject="all"
inheritable="true"/>
                -->
                <!-- /users -->
                <!--
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/users">
                    <permission action="all" subject="self"
inheritable="true"/>
                    <permission action="all" subject="/roles/projector"
inheritable="true"/>
                    <permission action="all" subject="unauthenticated"
inheritable="true" negative="true"/>
                    -->
                    <!-- /users/root represents the administrator -->
                    <!--
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/users/root">
                        <revision>
                            <property
namespace="http://jakarta.apache.org/slide/"; name="password">root</property>

                        </revision>
                    </objectnode>
                    -->
                    <!-- /users/john and /users/john2 represent
authenticated users -->
                    <!--
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/users/john">
                        <revision>
                            <property
namespace="http://jakarta.apache.org/slide/"; name="password">john</property>

                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/users/john2">
                        <revision>
                            <property
namespace="http://jakarta.apache.org/slide/";
name="password">john2</property> 
                        </revision>
                    </objectnode>
                     -->
                    <!-- /users/guest represents an authenticated or
unauthenticated guest user -->
                    <!--
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/users/guest">
                        <revision>
                            <property
namespace="http://jakarta.apache.org/slide/";
name="password">guest</property> 
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/users/projector">
                        <revision>
                            <property
namespace="http://jakarta.apache.org/slide/";
name="password">projector</property> 
                        </revision>
                    </objectnode>
                </objectnode>
                -->
                <!-- /roles -->
                <!--
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/roles">
                    <permission action="all" subject="self"
inheritable="true"/>
                    <permission action="all" subject="/roles/projector"
inheritable="true"/>
                    <permission action="all" subject="unauthenticated"
inheritable="true" negative="true"/>
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/roles/root">
                        <revision>
                            <property
name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/root</D:href>]]></property>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/roles/user">
                        <revision>
                            <property
name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/john</D:href><D:href
xmlns:D='DAV:'>/users/john2</D:href><D:href
xmlns:D='DAV:'>/users/root</D:href><D:href
xmlns:D='DAV:'>/users/projector</D:href>]]></property>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/roles/guest">
                        <revision>
                            <property
name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/guest</D:href>]]></property>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/roles/projector">
                        <revision>
                            <property
name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/root</D:href><D:href
xmlns:D='DAV:'>/users/projector</D:href>]]></property>
                        </revision>
                    </objectnode>
                </objectnode>
                -->
                <!-- action -->
                <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions">
                    <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/read">
                        <revision>
                            <property
name="privilege-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/actions/read-acl</D:href> <D:href
xmlns:D='DAV:'>/actions/read-current-user-privilege-set</D:href>]]></propert
y>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/read-acl">
                        <revision>
                            <property name="privilege-member-set"/>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode"
uri="/actions/read-current-user-privilege-set">
                        <revision>
                            <property name="privilege-member-set"/>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/write">
                        <revision>
                            <property
name="privilege-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/actions/write-acl</D:href> <D:href
xmlns:D='DAV:'>/actions/write-properties</D:href> <D:href
xmlns:D='DAV:'>/actions/write-content</D:href>]]></property>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/write-acl">
                        <revision>
                            <property name="privilege-member-set"/>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode"
uri="/actions/write-properties">
                        <revision>
                            <property name="privilege-member-set"/>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode"
uri="/actions/write-content">
                        <revision>
                            <property
name="privilege-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/actions/bind</D:href> <D:href
xmlns:D='DAV:'>/actions/unbind</D:href>]]></property>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/bind">
                        <revision>
                            <property name="privilege-member-set"/>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/unbind">
                        <revision>
                            <property name="privilege-member-set"/>
                        </revision>
                    </objectnode>
                    <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/unlock">
                        <revision>
                            <property name="privilege-member-set"/>
                        </revision>
                    </objectnode>
                </objectnode>
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/files">
                    <permission action="all" subject="unauthenticated"
inheritable="true"/>
                    <!--
                    <permission action="/actions/write"
subject="/roles/user" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                    -->
                </objectnode>
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/files_2">
                    <permission action="all" subject="unauthenticated"
inheritable="true"/>
                    <!--
                    <permission action="/actions/write"
subject="/roles/user" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                    -->
                </objectnode>
                <objectnode
classname="org.apache.slide.structure.SubjectNode"
uri="/files_secondCollection">
                    <permission action="all" subject="unauthenticated"
inheritable="true"/>
                    <!--
                    <permission action="/actions/write"
subject="/roles/user" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                    -->
                </objectnode>
                <!--
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/projector">
                    <permission action="all" subject="unauthenticated"
inheritable="true"/>
                    <permission action="/actions/write"
subject="/roles/projector" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                    <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/projector/work">
                    </objectnode>
                </objectnode>
                -->
                <!-- DeltaV: default history and workspace paths -->
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/history">
                    <permission action="all" subject="unauthenticated"
inheritable="true"/>
                    <!--
                    <permission action="/actions/write"
subject="/roles/user" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                    -->
                </objectnode>
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/workspace">
                    <permission action="all" subject="unauthenticated"
inheritable="true"/>
                    <!--
                    <permission action="/actions/write"
subject="/roles/user" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                    -->
                </objectnode>
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/workingresource">
                    <permission action="all" subject="unauthenticated"
inheritable="true"/>
                    <!--
                    <permission action="/actions/write"
subject="/roles/user" inheritable="true"/>
                    <permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
                    -->
                </objectnode>
            </objectnode>
        </data>
    </namespace>
    <!--
    DeltaV global parameters
    ========================
    * historypath (mandatory=no, default="/history"):
    Specifies a Slide path which determines the location where this DeltaV
    server stores history data.

    * workspacepath (mandatory=no, default="/workspace"):
    Specifies a Slide path which determines the location where this DeltaV
    server allows workspaces to reside.

    * workingresourcepath (mandatory=no, default="/workingresource"):
    Specifies a Slide path which determines the location where this DeltaV
    server stores working resources.

    * auto-version (mandatory=no, default="checkout-checkin"):
    Controls the DeltaV auto-version behaviour.

    * auto-version-control (mandatory=no, default="false"):
    Indicates if a resource just created by a PUT should be set under
    version-control.

   * versioncontrol-exclude (mandatory=no, default=""):
   Specifies a Slide path which determines resources which are excluded from
version-control.
   The default value "" makes no path being excluded.

    * checkout-fork (mandatory=no, default="forbidden"):
    Controls the DeltaV check-out behaviour when a version is already
    checked-out or has a successor.

    * checkin-fork (mandatory=no, default="forbidden"):
    Controls the DeltaV check-out behaviour when a version has already a
    successor.

    * standardLivePropertiesClass (mandatory=no,
 
default="org.apache.slide.webdav.util.resourcekind.AbstractResourceKind"):
    Determines the "agent" knowing about what the standard live properties
are.
    It should be a loadable class containing the following static methods:
    - boolean isLiveProperty(String propName)
    - boolean isProtectedProperty(String propName)
    - boolean isComputedProperty(String propName)
    - Set getAllLiveProperties()
    - Set getAllProtectedProperties()
    - Set getAllComputedProperties()

    * uriRedirectorClass (mandatory=no,
    default="org.apache.slide.webdav.util.DeltavUriRedirector"):
    Determines the URI redirector class. The DeltaV URI redirector is in
    charge of the following redirections:
    - version URI to history URI, e.g. /history/2/1.4 to /history/2
    - latest revision number for history resource to 0.0
    - latest revision number for version resource to last URI token,
    e.g. /history/2/1.4 to 1.4
    It should be a loadable class containing the following static methods:
    - String redirectUri(String uri)
    - NodeRevisionNumber redirectLatestRevisionNumber(String uri)
    -->
    <parameter name="historypath">/history</parameter>
    <parameter name="workspacepath">/workspace</parameter>
    <parameter name="workingresourcepath">/workingresource</parameter>
    <!-- Slide user list suggests disabling auto-version control to avoid
deadlocks -->
    <parameter name="auto-version"/>    <!-- empty string -->
    <parameter name="auto-version-control">false</parameter>
    <parameter name="versioncontrol-exclude"/>    <!-- empty string -->
    <parameter name="checkout-fork"/>
    <parameter name="checkin-fork"/>


    <!-- Extractor configuration -->
    <!--
    <extractors>
           This extractor requires jaxen-dom.jar and xml-im-exporter1.1.jar 
           to be copied to tomcat common/lib.

        <extractor classname="org.apache.slide.extractor.SimpleXmlExtractor"
uri="/files/articles/test.xml">
            <configuration>
                <instruction property="title" xpath="/article/title/text()"
/>
                <instruction property="summary"
xpath="/article/summary/text()" />
            </configuration>
        </extractor>
           This extractor requires poi-2.5-final-date.jar and 
           xml-im-exporter1.1.jar to be copied to tomcat common/lib.

        <extractor classname="org.apache.slide.extractor.OfficeExtractor"
uri="/files/docs/">
            <configuration>
                <instruction property="author" id="SummaryInformation-0-4"
/>
                <instruction property="application"
id="SummaryInformation-0-18" />
            </configuration>
        </extractor>
    </extractors>
    -->

    <!-- Event configuration -->
    <events>
        <event classname="org.apache.slide.webdav.event.WebdavEvent"
enable="true" />
        <event classname="org.apache.slide.event.ContentEvent" enable="true"
/>
        <event classname="org.apache.slide.event.ContentEvent"
method="retrieve" enable="false" />
        <event classname="org.apache.slide.event.EventCollection"
enable="true" />
        <event classname="org.apache.slide.event.TransactionEvent"
enable="true" />

        <event classname="org.apache.slide.event.MacroEvent" enable="true"/>

        <!--listener classname="org.apache.slide.util.event.EventLogger"
/-->
        <listener classname="org.apache.slide.event.VetoableEventCollector"
/>
        <listener classname="org.apache.slide.event.TransientEventCollector"
/>
        <listener
classname="org.apache.slide.webdav.event.NotificationTrigger">
            <configuration>
                <notification include-events="false" />
                <persist-subscriptions filename="subscriptions.xml" />
            </configuration>
        </listener>
        <listener
classname="org.apache.slide.extractor.PropertyExtractorTrigger" />
        <listener classname="org.apache.slide.search.IndexTrigger">
            <configuration>
                <indexer classname="org.apache.slide.search.LoggingIndexer"
synchronous="false" uri="/files/articles" />
            </configuration>
        </listener>
        
        <!-- Uncomment for cluster support. Be sure to local-host and
repository-host -->
        <!--
        <listener
classname="org.apache.slide.cluster.ClusterCacheRefresher">
            <configuration>
                <node local-host="local.host.domain" 
                    local-port="4444"
                    repository-host="remote.host.domain"
                    repository-port="8080"
                    repository-protocol="http"
                    username="root"
                    password="root"
                    base-uri="/files/"
                    />
            </configuration>
        </listener>
        -->

        <listener classname="org.apache.slide.macro.MacroPropertyUpdater">
          <!-- Listener that updates some properties if resources are 
               copied or moved.  This requires MacroEvents enabled (at 
               least methods copy and move) -->
          <configuration>
            <update-displayname>true</update-displayname>
            <update-owner-on-move>false</update-owner-on-move>
            <update-owner-on-copy>true</update-owner-on-copy>
          </configuration>
        </listener>
    </events>
</slide>



> -----Original Message-----
> From: Warwick Burrows [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 06, 2004 2:10 PM
> To: 'Slide Users Mailing List'
> Subject: RE: configuring multiple namespace/stores - howto?
> 
> 
> 
> No problem. Here it is attached. I'm using a DB2 jdbc root 
> store and two file stores that are named in the right way to 
> be used with the slide testsuite. You should be able to 
> graphically diff this with the Domain.xml from the slide 
> source tree and clearly see the differences. It is overly 
> verbose and I could trim it down but I don't because it 
> mirrors the one in the source so I can easily see when 
> elements for new features are added or changed. Look for 
> <path-to-webapps> and replace with an actual path as well the 
> db parameters. I've commented out a lot of the file because I 
> don't run with slide security and don't need some of the other stuff.
> 
> As I said in my earlier email: I got an exception from the 
> db2 adapter when first running with this config but have 
> submitted a simple workaround as a tag-along fix to the 
> patches for bug 31492. I don't think you will have any 
> problems if you use all XML file descriptor stores instead of 
> the jdbc store.
> 
> Warwick
> 
> 
> 
> > -----Original Message-----
> > From: Darren Hartford [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 06, 2004 1:49 PM
> > To: Slide Users Mailing List
> > Subject: RE: configuring multiple namespace/stores - howto?
> > 
> > 
> > Hi Warwick,
> > Would it be possible for you to share what your domain.xml
> > file looks like?  My definition section look fine, but for 
> > configuring the data/objectnode information I may be doing 
> > too much work (copying the entire "/" objectnode and creating 
> > a copy) or when I tried an easy approach I forgot something 
> > (putting a sub objectnode within the "/" objectnode).
> > 
> > Once I can confirm with a working example, if someone doesn't
> > beat me to it, I'll put some instructions/examples on the 
> > Wiki for multiple store configuration.  Thanks for the 
> > warning on mixing stores types and multiple JDBC stores, 
> good to know!
> > 
> > -D
> > 
> > > -----Original Message-----
> > > From: Warwick Burrows [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, October 06, 2004 2:42 PM
> > > To: 'Slide Users Mailing List'
> > > Subject: RE: configuring multiple namespace/stores - howto?
> > > 
> > > 
> > > 
> > > Beware that there are some issues with configuring 
> multiple stores 
> > > of mixed types and there are also problems getting multiple jdbc
> > > stores going as
> > > well. I now have a working configuration consisting of a root 
> > > jdbc store and
> > > two XML file descriptor stores that seems to work. Though I 
> > > did submit a fix
> > > for an exception that was occurring in the DB2 jdbc adapter 
> > > when using this
> > > configuration due to problems with finding the binding for a 
> > > child that is
> > > the mount point for a different store.
> > > 
> > > Warwick
> > > 
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, October 06, 2004 11:19 AM
> > > > To: Slide Users Mailing List
> > > > Subject: Re: configuring multiple namespace/stores - howto?
> > > > 
> > > > 
> > > > You need to create a node at /store2 later on in Domain.xml...
> > > > 
> > > > Oliver
> > > > 
> > > > Darren Hartford schrieb:
> > > > 
> > > > > excellent! that is pretty easy!
> > > > > 
> > > > > I've configured two stores to test this solution in
> > > domain.xml: ====
> > > > > <slide>
> > > > >    <namespace name="slide">
> > > > >        <definition>
> > > > >            <store name="tx">
> > > > >               ....
> > > > >            </store>
> > > > >            <store name="tx2">
> > > > >               ....
> > > > >            </store>
> > > > >         <scope match="/" store="tx"/>
> > > > >         <scope match="/store2" store="tx2"/>
> > > > > ====
> > > > > 
> > > > > Unfortunately, I do not see my 'store2' scope anywhere when
> > > > trying to
> > > > > view through localhost:8080/slide or /slide/store2 with
> > > the default
> > > > > web.xml file. The scope parameter is blank (aka 
> everything), the 
> > > > > depth-limit is still at 3. I would think that where /store2
> > > > is a child
> > > > > of '/' that the ACL's would inherit down - no changes that
> > > > I could see
> > > > > there would make a difference.
> > > > > 
> > > > > Nor could I see the /store2 through the Webdav client
> > > API, although
> > > > > admittadly I am doing just some basic checking using
> > > > already existing
> > > > > code (which partly expects to have it viewable through the 
> > > > > localhost:8080/slide url).
> > > > > 
> > > > > Any Ideas?
> > > > > -D
> > > > > 
> > > > > 
> > > > > ***Just as an FYI, one of the scopes must have a match of "/" 
> > > > > otherwise you will get this error: ====== 06 Oct 2004
> > 10:36:25 -
> > > > > org.apache.slide.common.Namespace - ERROR - org.apache.sl
> > > > > ide.common.ServiceMissingOnRootNodeException: Service is
> > > missing on
> > > > > root node
> > > > > org.apache.slide.common.ServiceMissingOnRootNodeException:
> > > > Service is missing on
> > > > >  root node
> > > > > ====
> > > > > 
> > > > > 
> > > > > 
> > > > >>-----Original Message-----
> > > > >>From: Stefan L�tzkendorf [mailto:[EMAIL PROTECTED]
> > > > >>Sent: Wednesday, October 06, 2004 10:14 AM
> > > > >>To: Slide Users Mailing List
> > > > >>Subject: Re: configuring multiple namespace/stores - howto?
> > > > >>
> > > > >>
> > > > >>Multiple stores is simple
> > > > >>  <slide>
> > > > >>      <namespace name="slide">
> > > > >>          <definition>
> > > > >>              <store name="root">
> > > > >>                 ....
> > > > >>              </store>
> > > > >>              <store name="tx1">
> > > > >>                 ...
> > > > >>               </store>
> > > > >>               <store name="tx2">
> > > > >>                ...
> > > > >>               </store>
> > > > >>          <scope match="/" store="root"/>
> > > > >>          <scope match="/path1" store="tx1"/>
> > > > >>          <scope match="/path2" store="tx2"/>
> > > > >>
> > > > >>multipe namespaces I have never tested.
> > > > >>A single WebDavServlet is intended to use s single
> > Namespace. For
> > > > >>multipe namespaces you need multiple servlets.
> > > > >>
> > > > >>Stefan
> > > > > 
> > > > > 
> > > > > 
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to