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]

Reply via email to