Problem disabling slide authorization

2004-09-14 Thread alon salant
When working on SimpleFileStore, it was easy to disable Slide security
by setting

  org.apache.slide.security=false

in slide.properties.

However, I do want to be able configure basic webapp security using
security constraints on paths and HTTP methods. But I do not want to
manage users and roles within slide.

So I have slide configured with security=false, SimpleFileStore,
TransientSecurityStore, and TransientLockStore for my store
implementations, all user and role definitions removed from Domain.xml
and basic auth configured in my web.xml for the path to the webdav
servlet.

With this config, I can connect via webdav, log in and browse.

However, I cannot create files or folders, copy, move, delete

The problem that I am running in to is that Methods (MkcolMethod for
example), still try to authorize the current principal. If the
principal is null, things work fine b/c SecurityImpl returns
SubjectNode.UNAUTHENTICATED and slide lets this continue. However, if
the principal is not null (it is not when the webapp makes the user
log in), SecurityImpl.getPrincipal( ) tries to retrieve an object for
that user resulting in an ObjectNotFoundException.

This looks like hard behavior to change (unfortunately).
AbstractWebDavMethod creates the SlideToken with the user principal in
run( ) using req.getUserPrincipal().

I haven't traced through the other methods to see if/how the user
principal is used. It looks like copy/delete/put/move/mkcol (at least)
all have issues related to this.

Any thoughts? What I am trying to do seems like a pretty common use
case. Is there a good way to address this need? I'm hoping I've missed
something simple.

Alon

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



Re: Problem disabling slide authorization

2004-09-14 Thread alon salant
With a little digging, I appear to have a solution.

It looks like you can set your own implementation of Security in
Domain.xml with parameter name=acl_semantics/parameter.

I created an AllowAllSecurityImpl that does its best to be okay with
everything. The only method I really implemented is
getPrincipal(SlideToken token) which returns SubjectNode.UNAUTHORIZED
if there is no user principal in the SlideToken, or a SubjectNode with
the principal name as the path if there is a principal.

So I configure my domain to load it with:

configuration
parameter 
name=acl_semanticsorg.apache.slide.store.file.AllowAllSecurityImpl/parameter
/configuration

http://cvs.sourceforge.net/viewcvs.py/photospace/slidespace/WEB-INF/src/org/apache/slide/store/file/

Seems to work for me. Any comments or gotchas I may have missed?

Alon


On Mon, 13 Sep 2004 23:41:17 -0700, alon salant [EMAIL PROTECTED] wrote:
 When working on SimpleFileStore, it was easy to disable Slide security
 by setting
 
   org.apache.slide.security=false
 
 in slide.properties.
 
 However, I do want to be able configure basic webapp security using
 security constraints on paths and HTTP methods. But I do not want to
 manage users and roles within slide.
 
 So I have slide configured with security=false, SimpleFileStore,
 TransientSecurityStore, and TransientLockStore for my store
 implementations, all user and role definitions removed from Domain.xml
 and basic auth configured in my web.xml for the path to the webdav
 servlet.
 
 With this config, I can connect via webdav, log in and browse.
 
 However, I cannot create files or folders, copy, move, delete
 
 The problem that I am running in to is that Methods (MkcolMethod for
 example), still try to authorize the current principal. If the
 principal is null, things work fine b/c SecurityImpl returns
 SubjectNode.UNAUTHENTICATED and slide lets this continue. However, if
 the principal is not null (it is not when the webapp makes the user
 log in), SecurityImpl.getPrincipal( ) tries to retrieve an object for
 that user resulting in an ObjectNotFoundException.
 
 This looks like hard behavior to change (unfortunately).
 AbstractWebDavMethod creates the SlideToken with the user principal in
 run( ) using req.getUserPrincipal().
 
 I haven't traced through the other methods to see if/how the user
 principal is used. It looks like copy/delete/put/move/mkcol (at least)
 all have issues related to this.
 
 Any thoughts? What I am trying to do seems like a pretty common use
 case. Is there a good way to address this need? I'm hoping I've missed
 something simple.
 
 Alon


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



ldap configuration

2004-09-14 Thread Miguel Figueiredo

Hello folks,

I've been trying to configure slide to use an ldap server for authentication
purposes.
I've been successful at that, but with a cost of an annoying null pointer
exception when tomcat is starting up: 

org.apache.slide.common.ServiceAccessException: Service
TxXMLFileDescriptorsStore at users/store/metadata  working on us
ers/work/metadata access error : java.lang.NullPointerException
  at
org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.encodeObje
ct(AbstractXMLResourceDescriptor.java:662)

My current setup is the tomcat 5.0.19 / slide 2.1b1 bundle with the attached
domain.xml file.

I suspect that it works well because JNDIPrincipalStore is read-only, so,
maybe it wouldn't need it's corresponding working directory, to witch this
exception relates to. Or perhaps I still didn't found any problem witch
shall occur more soon than later...

Does slide use the 'users working directory' in any of its use-cases? Am I
doing something wrong in the Domain.xml file?


 Thanks in advance,
 Miguel Figueiredo



?xml version=1.0?
slide
namespace name=slide
definition
store name=tx
parameter name=tlock-timeout120/parameter
nodestore classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
parameter name=rootpathmain/store/metadata/parameter
parameter name=workpathmain/work/metadata/parameter
parameter name=defer-savingtrue/parameter
parameter name=timeout120/parameter
/nodestore
sequencestore classname=org.apache.slide.store.txfile.FileSequenceStore
parameter name=rootpathmain/store/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=rootpathmain/store/content/parameter
parameter name=workpathmain/work/content/parameter
parameter name=defer-savingtrue/parameter
parameter name=timeout120/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


		store name=users
			nodestore classname=org.apache.slide.store.txjndi.JNDIPrincipalStore
parameter name=jndi.containerou=people,dc=dominio,dc=pt/parameter
parameter name=jndi.attributes.rdnuid/parameter
parameter name=jndi.search.filter(objectClass=inetOrgPerson)/parameter
parameter name=jndi.search.scopeONELEVEL_SCOPE/parameter
parameter name=jndi.search.attributespostalCode,initials,givenName,uid,mail,fullName,telephoneNumber,title,facsimileTelephoneNumber,groupMembership,l,sn,cn/parameter
parameter name=java.naming.provider.urlldap://miguel-desktop:389/parameter
parameter name=java.naming.factory.initialcom.sun.jndi.ldap.LdapCtxFactory/parameter
parameter name=java.naming.security.principalcn=Manager,dc=dominio,dc=pt/parameter
parameter name=java.naming.security.authenticationsimple/parameter
parameter name=java.naming.security.credentialssegredo/parameter


parameter name=cache.refresh.checkrate15/parameter
parameter name=cache.refresh.rate800/parameter
parameter name=cache.refresh.threshold15000/parameter




			/nodestore
			!-- Use a Tx Store to store security and lock information --
			securitystore classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
parameter name=rootpathusers/store/metadata/parameter
parameter name=workpathusers/work/metadata/parameter
			/securitystore
			lockstore
reference store=securitystore/
			/lockstore
			revisiondescriptorsstore
reference store=nodestore/
			/revisiondescriptorsstore
revisiondescriptorstore
reference store=nodestore/
			/revisiondescriptorstore
			contentstore
reference store=nodestore/
			/contentstore
		/store

		!-- Use a JNDIPrincipalStore for roles --
		store name=roles
			nodestore classname=org.apache.slide.store.txjndi.JNDIPrincipalStore
parameter name=jndi.containerou=groups,dc=dominio,dc=pt/parameter
parameter name=jndi.attributes.rdncn/parameter
parameter 

Re: ldap configuration

2004-09-14 Thread Stefan Fromm
Hello Miguel,
I'm also working with the JNDIPrincipalStore. I think the problem is the way the file 
based stores are implemented. You have set the security and lock store to be a file 
based store. Earlier I've tried to separate data of an ExtendedStore by spreading it 
over 6 file based stores each using different directories. It didn't work.
The error could lie in AbstractXMLResourceDescriptor.encodeObject() (if you don't use 
an old version of Slide):
Element aElementObjectNode = new Element(objectnode);
if (object != null) {
aElementObjectNode.setAttribute(classname, object.getClass().getName());
aElementObjectNode.setAttribute(uri, object.getUri());
if (object instanceof LinkNode) {
aElementObjectNode.setAttribute(linkTo, ((LinkNode) object).getLinkedUri());
}
} else {
// for null locks
aElementObjectNode.setAttribute(classname, null);
aElementObjectNode.setAttribute(uri, uri.toString());
}
aElementObjectNode.addContent(createBindings(children, child, 
object.enumerateBindings()));
aElementObjectNode.addContent(createBindings(parents, parent, 
object.enumerateParentBindings()));
aElementObjectNode.addContent(createElements(links, link, 
object.enumerateLinks()));
return aElementObjectNode;
First there is distinguished between an object being null or not. After that there is 
always tried to access the child bindings of object - even if it's null.

Try replacing your security and lock store by a JDBCStore. For me it works that way.
Stefan

Am Tue, 14 Sep 2004 11:42:17 +0100 schrieb Miguel Figueiredo [EMAIL PROTECTED]:
Hello folks,
I've been trying to configure slide to use an ldap server for authentication
purposes.
I've been successful at that, but with a cost of an annoying null pointer
exception when tomcat is starting up:
org.apache.slide.common.ServiceAccessException: Service
TxXMLFileDescriptorsStore at users/store/metadata  working on us
ers/work/metadata access error : java.lang.NullPointerException
  at
org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.encodeObje
ct(AbstractXMLResourceDescriptor.java:662)
My current setup is the tomcat 5.0.19 / slide 2.1b1 bundle with the attached
domain.xml file.
I suspect that it works well because JNDIPrincipalStore is read-only, so,
maybe it wouldn't need it's corresponding working directory, to witch this
exception relates to. Or perhaps I still didn't found any problem witch
shall occur more soon than later...
Does slide use the 'users working directory' in any of its use-cases? Am I
doing something wrong in the Domain.xml file?
 Thanks in advance,
 Miguel Figueiredo


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


FW: Need Help for Caching issue in slide 2.0 (PLESAE DO HELPFUL)

2004-09-14 Thread Mihir Solanki










Hi,



I am using slide 2.0
binary with Database store.



What I have observed
is when slide application starts it initializes the Domain.xml

File and accordingly
it creates the contents (metadata) in the database.



Now when I connect
through network place and create some files or folders, sometimes

that files/folders
are not immediately reflected in the network place (windows explorer).



I have to refresh and
then only it gets displayed in explorer. What I found is it is not firing

the queries
everytime.



One more strange
behaviour I found is sometimes when I copy one file (say xyz.sql) and paste it

In another folder,
the file is displayed as a WebFolder and even on refresh it is
displaying it as a folder.

But when I restart the
slide application I can see the same xyz.sql as a file.



So are these issues
related to any kind of caching in slide or windows xp network place.



Anything that is
workaround for the same



Please do
helpful



Regards,

Mihir



Sr.
Software Engineer

eBiz,
Gandhinagar



Imaginations...
its limits are only those of the mind itself




http://www.patni.com
World-Wide Partnerships. World-Class Solutions. 
_ 

This e-mail message may contain proprietary, confidential or legally privileged
information for the sole use of the person or entity to whom this message was
originally addressed. Any review, e-transmission dissemination or other use of
or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you have received
this e-mail in error kindly delete this e-mail from your records. If it appears
that this mail has been forwarded to you without proper authority, please
notify us immediately at [EMAIL PROTECTED] and delete this mail. 
_ 



http://www.patni.com
World-Wide Partnerships. World-Class Solutions.

_
 
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [EMAIL PROTECTED] and delete this mail. 
_



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

RE: Using the slide api directly vs. using the webdav client

2004-09-14 Thread Warwick Burrows

  things like caching correctly between all of the members of 
 
 Fair enough. So your front-end application takes care of 
 synchronization, right? Should be a complicated thing. :-)

Well my app currently controlling locking in that users must use its
interfaces to lock any resource and its currently the only interface to
slide. But that will change as we want to expose it to DAV clients one day.
I don't know how slide's locking will behave with clustered caching. There
could be timing issues between client's trying to acquire the same lock.

  the cluster. The Slide cluster shares a single content
  filesystem so that files are kept consistent between the 
  members. I don't know whether you can take advantage of 
  clustered slide servers from the slide api if it isn't a 
  remote client api. 
 
 If all Slides share the same storage any application that 
 uses Side api uses this storage as well. Doesn't solve the 
 caching problem though.

The slide servers may share the content store but the slide api isn't a
remote api, and so if the slide server it is talking to fails it can't
failover to another server in the cluster. With the WebDAV client it is a
remote client and so it can failover to another server in the cluster.
Scalability and failover is the big benefit that comes with the DAV client
right now. I just wanted to be sure you knew this when making any future
decisions for your app.

Warwick



 -Original Message-
 From: Andrey Shulinsky [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 13, 2004 8:08 PM
 To: 'Slide Users Mailing List'
 Subject: RE: Using the slide api directly vs. using the webdav client
 
 
  -Original Message-
  From: Slide Users Mailing List 
 [mailto:[EMAIL PROTECTED]
  Sent: Monday, September 13, 2004 8:38 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Using the slide api directly vs. using the 
 webdav client
  Importance: Low
  
  
   Well, theoretically Tomcat 5 allows clustering:
   http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.Html
   And a set of tomcats can be load-balanced using various 
 techniques: 
   
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html
   So you don't need to implement all this explicitly - what 
 you have 
   done in your WebDAV client-based front-end, right? Do I 
  still miss something?
   I'm not an expert in this area, sorry.
  
  My client app doesn't have the load-balancing support, we
  were planning on using a hardware http 
  load-balancer/accelerator. We're also using Tomcat 4.1.30 not 
  Tomcat 5 right now so we can't use Tomcat clustering. Whether 
  a hardware load-balancer is significantly better than 
  software load-balancing is arguable but we have used 
  load-balancers for all of our apps in the past.
 
 I see, thanks.
 
  Tomcat clustering alone is not enough to cluster Slide
  servers. Tomcat clusters allow you to spread load between 
  multiple Tomcat servers but the apps themselves don't 
  automatically become clusterable simply because the servlet 
  engine is. Slide needs to be cluster-enabled too, to handle 
  things like caching correctly between all of the members of 
 
 Fair enough. So your front-end application takes care of 
 synchronization, right? Should be a complicated thing. :-)
 
  the cluster. The Slide cluster shares a single content
  filesystem so that files are kept consistent between the 
  members. I don't know whether you can take advantage of 
  clustered slide servers from the slide api if it isn't a 
  remote client api. 
 
 If all Slides share the same storage any application that 
 uses Side api uses this storage as well. Doesn't solve the 
 caching problem though.
 
 
 Yours sincerely,
 Andrey.
 
 
  
  James may be able to shed more light on whether the api will
  work with slide api clients and clustered servers within Tomcat.
  
  Warwick
  
  
   -Original Message-
   From: Andrey Shulinsky [mailto:[EMAIL PROTECTED]
   Sent: Monday, September 13, 2004 6:33 PM
   To: 'Slide Users Mailing List'
   Subject: RE: Using the slide api directly vs. using the
  webdav client
   
   
 Can't one use the same scalable/clustered config but
  make requests
   directly
 - I mean, without this WebDAV client proxy? Please
  correct me, if
 I'm
   wrong or if I
 have misunderstood you. Or do you suggest running two
  application
   servers - one for
 the slide only and another for the custom back-end which
   calls slide
 by
   means of the
 WebDAV client - so that both can be
  load-balanced/clustered/etc.?

Right. I'm referring to a configuration that we're
  planning to use
with multiple slide servers that are clustered for failover and
load-balancing with a single (or multiple) slide WebDAV 
  client-based
applications front-ending the servers and a HTTP
  load-balancer (or
tomcat load-balancing) in between. In this case if a 
 single slide
server goes down, or the load is high, then requests 

RE: ldap configuration

2004-09-14 Thread Miguel Figueiredo

 Thank you Stefan!

 I'll configure a JDBC store has the security  lock store (anyway, I wanted
to play with JDBC in my next experience set ;))

 Best regards,
 Miguel
__

Hello Miguel,

I'm also working with the JNDIPrincipalStore. I think the problem is the way
the file based stores are implemented. You have set the security and lock
store to be a file based store. Earlier I've tried to separate data of an
ExtendedStore by spreading it over 6 file based stores each using different
directories. It didn't work.

The error could lie in AbstractXMLResourceDescriptor.encodeObject() (if you
don't use an old version of Slide):

Element aElementObjectNode = new Element(objectnode);
if (object != null) {
 aElementObjectNode.setAttribute(classname,
object.getClass().getName());
 aElementObjectNode.setAttribute(uri, object.getUri());
 if (object instanceof LinkNode) {
 aElementObjectNode.setAttribute(linkTo, ((LinkNode)
object).getLinkedUri());
 }
} else {
 // for null locks
 aElementObjectNode.setAttribute(classname, null);
 aElementObjectNode.setAttribute(uri, uri.toString());
}
aElementObjectNode.addContent(createBindings(children, child,
object.enumerateBindings()));
aElementObjectNode.addContent(createBindings(parents, parent,
object.enumerateParentBindings()));
aElementObjectNode.addContent(createElements(links, link,
object.enumerateLinks()));
return aElementObjectNode;

First there is distinguished between an object being null or not. After that
there is always tried to access the child bindings of object - even if it's
null.



Try replacing your security and lock store by a JDBCStore. For me it works
that way.

Stefan



Am Tue, 14 Sep 2004 11:42:17 +0100 schrieb Miguel Figueiredo
[EMAIL PROTECTED]:


 Hello folks,

 I've been trying to configure slide to use an ldap server for
authentication
 purposes.
 I've been successful at that, but with a cost of an annoying null pointer
 exception when tomcat is starting up:

   org.apache.slide.common.ServiceAccessException: Service
 TxXMLFileDescriptorsStore at users/store/metadata  working on us
   ers/work/metadata access error : java.lang.NullPointerException
 at
 org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.encodeObje
 ct(AbstractXMLResourceDescriptor.java:662)

 My current setup is the tomcat 5.0.19 / slide 2.1b1 bundle with the
attached
 domain.xml file.

 I suspect that it works well because JNDIPrincipalStore is read-only, so,
 maybe it wouldn't need it's corresponding working directory, to witch this
 exception relates to. Or perhaps I still didn't found any problem witch
 shall occur more soon than later...

 Does slide use the 'users working directory' in any of its use-cases? Am I
 doing something wrong in the Domain.xml file?


  Thanks in advance,
  Miguel Figueiredo






-
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]



Re: Problem disabling slide authorization

2004-09-14 Thread alon salant
So after letting this sit for just a little bit, it strikes me that
this may be considered a bug in SecurityImpl (or the calling Method
implementations). The Methods are calling getPrincipal() so that they
can set the owner metadata in the node being created. When security is
off but webapp security is on, there is a Principal in the
CredentialsToken but it does not exist in the store. So you get an
ObjectNotFoundException.

If SecurityImpl finds a Principal in the CredentialsToken but not in
the NodeStore, why not return a SubjectNode with the principal name as
the path? Or do this if slide security is disabled?

Alon


On Tue, 14 Sep 2004 00:24:16 -0700, alon salant [EMAIL PROTECTED] wrote:
 With a little digging, I appear to have a solution.
 
 It looks like you can set your own implementation of Security in
 Domain.xml with parameter name=acl_semantics/parameter.
 
 I created an AllowAllSecurityImpl that does its best to be okay with
 everything. The only method I really implemented is
 getPrincipal(SlideToken token) which returns SubjectNode.UNAUTHORIZED
 if there is no user principal in the SlideToken, or a SubjectNode with
 the principal name as the path if there is a principal.
 
 So I configure my domain to load it with:
 
 configuration
 parameter 
 name=acl_semanticsorg.apache.slide.store.file.AllowAllSecurityImpl/parameter
 /configuration
 
 http://cvs.sourceforge.net/viewcvs.py/photospace/slidespace/WEB-INF/src/org/apache/slide/store/file/
 
 Seems to work for me. Any comments or gotchas I may have missed?
 
 Alon
 
 
 
 
 On Mon, 13 Sep 2004 23:41:17 -0700, alon salant [EMAIL PROTECTED] wrote:
  When working on SimpleFileStore, it was easy to disable Slide security
  by setting
 
org.apache.slide.security=false
 
  in slide.properties.
 
  However, I do want to be able configure basic webapp security using
  security constraints on paths and HTTP methods. But I do not want to
  manage users and roles within slide.
 
  So I have slide configured with security=false, SimpleFileStore,
  TransientSecurityStore, and TransientLockStore for my store
  implementations, all user and role definitions removed from Domain.xml
  and basic auth configured in my web.xml for the path to the webdav
  servlet.
 
  With this config, I can connect via webdav, log in and browse.
 
  However, I cannot create files or folders, copy, move, delete
 
  The problem that I am running in to is that Methods (MkcolMethod for
  example), still try to authorize the current principal. If the
  principal is null, things work fine b/c SecurityImpl returns
  SubjectNode.UNAUTHENTICATED and slide lets this continue. However, if
  the principal is not null (it is not when the webapp makes the user
  log in), SecurityImpl.getPrincipal( ) tries to retrieve an object for
  that user resulting in an ObjectNotFoundException.
 
  This looks like hard behavior to change (unfortunately).
  AbstractWebDavMethod creates the SlideToken with the user principal in
  run( ) using req.getUserPrincipal().
 
  I haven't traced through the other methods to see if/how the user
  principal is used. It looks like copy/delete/put/move/mkcol (at least)
  all have issues related to this.
 
  Any thoughts? What I am trying to do seems like a pretty common use
  case. Is there a good way to address this need? I'm hoping I've missed
  something simple.
 
  Alon
 


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



Re: Using the slide api directly vs. using the webdav client

2004-09-14 Thread Andrey Shulinsky
 -Original Message-
 From: Slide Users Mailing List [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, September 14, 2004 12:11 PM
 To: 'Slide Users Mailing List' [EMAIL PROTECTED]
 Subject: RE: Using the slide api directly vs. using the webdav client
 Importance: Low
 
 
   things like caching correctly between all of the members of
  
  Fair enough. So your front-end application takes care of 
  synchronization, right? Should be a complicated thing. :-)
 
 Well my app currently controlling locking in that users must use its 
 interfaces to lock any resource and its currently the only interface 
 to slide. But that will change as we want to expose it to DAV clients 
 one day.

Our app has been opened to standard WebDAV clients from the beginning.
Actually, the main idea was to allow users to do simple operations
(copy/paste/delete) just like they do them when they work with an ordinary
file server. And more complicated actions are available at our front-end.

 I don't know how slide's locking will behave with clustered caching. 
 There could be timing issues between client's trying to acquire the 
 same lock.

BTW, I wonder if any attempts have been made to make Slide itself
clusterable. The only problem here is the cache, right?

   the cluster. The Slide cluster shares a single content
 filesystem so
   that files are kept consistent between the members. I don't know 
   whether you can take advantage of clustered slide servers
 from the
   slide api if it isn't a remote client api.
  
  If all Slides share the same storage any application that uses Side 
  api uses this storage as well. Doesn't solve the caching problem 
  though.
 
 The slide servers may share the content store but the slide api isn't 
 a remote api, and so if the slide server it is talking to fails it 
 can't failover to another server in the cluster. With the WebDAV 
 client it is a remote client and so it can failover to another server 
 in the cluster.

I tried to say that if Slide and some other web application that uses Side
api and runs inside the same App Server were both inherently clusterable
then one could use standard clustering capabilities of some App Server -
Tomcat, for example.
Well, Slide is not clusterable so it's not an option for the time being.
:-)

 Scalability and failover is the big benefit that comes with the DAV 
 client right now. I just wanted to be sure you knew this when making 
 any future decisions for your app.

I see and thanks a lot - you've enlightened me on many things. :-)


Yours sincerely,
Andrey.

 
  -Original Message-
  From: Andrey Shulinsky [mailto:[EMAIL PROTECTED]
  Sent: Monday, September 13, 2004 8:08 PM
  To: 'Slide Users Mailing List'
  Subject: RE: Using the slide api directly vs. using the
 webdav client
  
  
   -Original Message-
   From: Slide Users Mailing List
  [mailto:[EMAIL PROTECTED]
   Sent: Monday, September 13, 2004 8:38 PM
   To: [EMAIL PROTECTED]
   Subject: RE: Using the slide api directly vs. using the
  webdav client
   Importance: Low
   
   
Well, theoretically Tomcat 5 allows clustering:

 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.Html
And a set of tomcats can be load-balanced using various
  techniques: 

  http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html
So you don't need to implement all this explicitly - what
  you have
done in your WebDAV client-based front-end, right? Do I
   still miss something?
I'm not an expert in this area, sorry.
   
   My client app doesn't have the load-balancing support, we were 
   planning on using a hardware http
 load-balancer/accelerator. We're
   also using Tomcat 4.1.30 not Tomcat 5 right now so we can't use 
   Tomcat clustering. Whether a hardware load-balancer is
 significantly
   better than software load-balancing is arguable but we have used 
   load-balancers for all of our apps in the past.
  
  I see, thanks.
  
   Tomcat clustering alone is not enough to cluster Slide servers. 
   Tomcat clusters allow you to spread load between multiple Tomcat 
   servers but the apps themselves don't automatically become 
   clusterable simply because the servlet engine is. Slide
 needs to
   be cluster-enabled too, to handle things like caching correctly 
   between all of the members of
  
  Fair enough. So your front-end application takes care of 
  synchronization, right? Should be a complicated thing. :-)
  
   the cluster. The Slide cluster shares a single content
 filesystem so
   that files are kept consistent between the members. I don't know 
   whether you can take advantage of clustered slide servers
 from the
   slide api if it isn't a remote client api.
  
  If all Slides share the same storage any application that uses Side 
  api uses this storage as well. Doesn't solve the caching problem 
  though.
  
  
  Yours sincerely,
  Andrey.
  
  
   
   James may be able to shed more light on whether the api will work 
   with slide api 

New user needing some help

2004-09-14 Thread Isabel Wanderley
Title: Message



Hello all Slide 
users,

I´m looking for a some kind of 
framework to make a content management system...I´m newby in Slide and I´d 
like to know if any of you knows some application that users Slide. I looked for 
it, but I haven´t found :(
If someone could help me I´d be 
very glad :)

Thanks,


  
  

  


  


  

  Isabel Wanderley
  
  

  


  Engenheira de SoftwareTecnologia 
do Conhecimento e da Informação+55 81 3222.2166 / +55 81 
9913.6894 

  [EMAIL PROTECTED] www.tcisolutions.com.br 

  




RE: New user needing some help

2004-09-14 Thread Nick Longinow
Isabel

 

You can look at Projector, it is an app that sits on top of Slide.

It should be bundled with the 2.1 release.

 

Nick

 

  _  

From: Isabel Wanderley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 2:49 PM
To: [EMAIL PROTECTED]
Subject: New user needing some help

 

Hello all Slide users,

 

I´m looking for a some kind of framework to make a content management
system... I´m newby in Slide and I´d like to know if any of you knows some
application that users Slide. I looked for it, but I haven´t found :(

If someone could help me I´d be very glad :)

 

Thanks,


 





TCI


Isabel Wanderley





Engenheira de Software
Tecnologia do Conhecimento e da Informação
+55 81 3222.2166 / +55 81 9913.6894 


 mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] 
 http://www.tcisolutions.com.br/ www.tcisolutions.com.br 


 

 



RE: New user needing some help

2004-09-14 Thread Warwick Burrows

Nick, where is there some documentation on what projector is and how to
configure and use it with the Slide beta distribution?

Thanks,
Warwick



 -Original Message-
 From: Nick Longinow [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 14, 2004 3:31 PM
 To: 'Slide Users Mailing List'
 Subject: RE: New user needing some help
 
 
 Isabel
 
  
 
 You can look at Projector, it is an app that sits on top of Slide.
 
 It should be bundled with the 2.1 release.
 
  
 
 Nick
 
  
 
   _  
 
 From: Isabel Wanderley [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 14, 2004 2:49 PM
 To: [EMAIL PROTECTED]
 Subject: New user needing some help
 
  
 
 Hello all Slide users,
 
  
 
 I´m looking for a some kind of framework to make a content 
 management system... I´m newby in Slide and I´d like to know 
 if any of you knows some application that users Slide. I 
 looked for it, but I haven´t found :(
 
 If someone could help me I´d be very glad :)
 
  
 
 Thanks,
 
 
  
 
 
 
 
 
 TCI
 
 
 Isabel Wanderley
 
 
 
 
 
 Engenheira de Software
 Tecnologia do Conhecimento e da Informação
 +55 81 3222.2166 / +55 81 9913.6894
 
 
 mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] 
 http://www.tcisolutions.com.br/ www.tcisolutions.com.br 


 

 


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



RE: New user needing some help

2004-09-14 Thread Nick Longinow
Hmm, couldn’t find it myself.  I looked in the src distribution for Slide 
version 21M1, and online.  Maybe someone else knows ?

-Original Message-
From: Warwick Burrows [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 3:36 PM
To: 'Slide Users Mailing List'
Subject: RE: New user needing some help


Nick, where is there some documentation on what projector is and how to
configure and use it with the Slide beta distribution?

Thanks,
Warwick



 -Original Message-
 From: Nick Longinow [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 14, 2004 3:31 PM
 To: 'Slide Users Mailing List'
 Subject: RE: New user needing some help
 
 
 Isabel
 
  
 
 You can look at Projector, it is an app that sits on top of Slide.
 
 It should be bundled with the 2.1 release.
 
  
 
 Nick
 
  
 
   _  
 
 From: Isabel Wanderley [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 14, 2004 2:49 PM
 To: [EMAIL PROTECTED]
 Subject: New user needing some help
 
  
 
 Hello all Slide users,
 
  
 
 I´m looking for a some kind of framework to make a content 
 management system... I´m newby in Slide and I´d like to know 
 if any of you knows some application that users Slide. I 
 looked for it, but I haven´t found :(
 
 If someone could help me I´d be very glad :)
 
  
 
 Thanks,
 
 
  
 
 
 
 
 
 TCI
 
 
 Isabel Wanderley
 
 
 
 
 
 Engenheira de Software
 Tecnologia do Conhecimento e da Informação
 +55 81 3222.2166 / +55 81 9913.6894
 
 
 mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] 
 http://www.tcisolutions.com.br/ www.tcisolutions.com.br 


 

 


-
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]