One big advantage of multiple namespaces is complete isolation of user,
history, roles, etc. all stores. I am not sure whether this is achievable
with multiple stores as well. At least with reference to the current thread
going around regarding incompatibility between history-collection-hack and
history folder separation per store, it appears that separating history
folder will not be possible (given that history-collection-hack is as good
as mandatory).
I tried configuring multiple namespaces by defining 2 servlets in web.xml
both using the same WebdavServlet Class.
<servlet>
<servlet-name>webdav_ns1</servlet-name>
<display-name>Slide DAV Server</display-name>
<servlet-class>org.apache.slide.webdav.WebdavServlet</servlet-class>
<init-param>
<param-name>namespace</param-name>
<param-value>ns1</param-value>
</init-param>
.......
</servlet>
<servlet>
<servlet-name>webdav_ns2</servlet-name>
<display-name>Slide DAV Server</display-name>
<servlet-class>org.apache.slide.webdav.WebdavServlet</servlet-class>
<init-param>
<param-name>namespace</param-name>
<param-value>ns2</param-value>
</init-param>
.......
</servlet>
<servlet-mapping>
<servlet-name>webdav_ns1</servlet-name>
<url-pattern>/ns1/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>webdav_ns2</servlet-name>
<url-pattern>/ns2/*</url-pattern>
</servlet-mapping>
In Domain.xml I have the 2 namespaces ns1 and ns2 defined. There is one
store defined in each of these namespaecs with the scope of the stores
defined as "/". I am able to access the 2 namespaces using:
http://hostname:portno/slide/ns1 and http://hostname:portno/slide/ns2
I am even able to add resources and view them from either namespace. But the
resources are internally being added to and retrieved from the store
configured for the first namespace. So I see the same view from either
namespace. I am not sure whether this is a bug or there is some error in my
configuration.
Is anyone using multiple namespaces or has any knowledge about how they
should be configured? Please reply.
Thanks,
Ritu
-----Original Message-----
From: Mirko Froehlich [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 10:22 PM
To: Slide Users Mailing List
Subject: Re: Choosing between multiple namespace and multiple stores
I asked the same question a little while ago. It sounds like the
advantages of using one configuration over the other are not entirely
clear. Multiple stores are much easier to configure than multiple
namespaces, so I would probably go with this configuration. I suppose
that using multiple namespaces might give you more control if you want
these namespaces to behave very differently (e.g. with regards to
versioning, permissions, etc.), but then again I don't really know.
-Mirko
On Wed, 2004-12-08 at 00:00, Ritu Kedia wrote:
> Could someone please point out the pros and cons of using multiple
> namespaces vs multiple stores. I have a requirement of configuring
multiple
> slide stores in a single App Instance. Each store will be used by a
> different set of people.
> I would also like to know if there are known issues with either
> configuration and which one would be more performant and stable.
>
> Thanks,
> Ritu
>
>
> ---------------------------------------------------------------------
> 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]