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]



Reply via email to