RE: POLL: Which Slide features do you actually use / need?

2007-06-26 Thread Darren Hartford
*Existing features of Slide work well -- I think more
documentation/real-world examples of some of the features/configurations
would greatly help.

*Re-indexing would be nice, or an index 'verify' feature.

*My own thing has been offline repository access from CD/DVD media -
just a read-only File and Node store to make a Jukebox of archived
content available for reading but not modifying.

As for features not found in Jackrabbit/Alfresco -- 
Maybe lean towards something like an 'intelligent' remote-accessible
filesystem with FTP/SFTP/WebDAV/SMB access with an example
implementation for workspaces (/homedirs); FTP/SFTP is all that is
missing.   

Intellgent denoted as populating properties of the files from both
automatic sources and manually-applied custom properties (i.e. the
existing PDF/DOC indexers, but allow custom properties for specific
business needs).  The reason I bring this up is I'm constantly seeing
the 'Next Gen Web Content Management' and would be more useful to take
this technology beyond web content to something more general purpose and
used on a daily basis both from a user-standpoint and from a FileService
you can connect your applications to standpoint.

My two coppers,
-D


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Zeigermann
 Sent: Monday, June 25, 2007 6:13 PM
 To: Slide Users Mailing List
 Subject: POLL: Which Slide features do you actually use / need?
 
 Folks!
 
 I was wondering which features of Slide are actually useful 
 and if - only *if* - there ever was a 3.0 version which 
 features it should have.
 
 Especially, what is missing resp. problematic - if anything - 
 in other famous OS CMS implementations like e.g. Jackrabbit 
 or Alfresco.
 
 Thanks in advance for any feedback and cheers
 
 Oliver
 
 -
 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: POLL: Which Slide features do you actually use / need?

2007-06-26 Thread Darren Hartford
+1 to separate slide client project - move towards Commons and integrate
the webdav/jcr client from Jackrabbit over as well.  Frustrating dealing
with two different API's for accessing WebDAV content. 

 -Original Message-
 From: Kostis Anagnostopoulos [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, June 26, 2007 5:06 AM
 To: Slide Users Mailing List
 Subject: Re: POLL: Which Slide features do you actually use / need?
 
 Slide Client:  I believe it should be a separate project on its own.
 
 On Tue 26 Jun 2007 01:13, Oliver Zeigermann wrote:
  Folks!
 
  I was wondering which features of Slide are actually useful 
 and if - 
  only *if* - there ever was a 3.0 version which features it should 
  have.
 
  Especially, what is missing resp. problematic - if anything 
 - in other 
  famous OS CMS implementations like e.g. Jackrabbit or Alfresco.
 
  Thanks in advance for any feedback and cheers
 
  Oliver
 
  
 -
  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]



RE: Help regarding Slide - MS Exchange Communication

2007-05-03 Thread Darren Hartford
I do not have any links, but can help with general direction.  The Slide
client libraries (you do not need the server) can interact with Exchange
servers via WebDAV.  Although I do not have any examples, nor know of
where to find some, in the past I've simply examind the WebDAV
communications required by Exchange (Microsoft sites usually) to perform
various actions, and replicate those actions with the Slide libraries.  

Since WebDAV is (usually) an HTTP protocol, you can watch it with
Ethereal or other packet monitors if you really need to dig deep.

I'm sorry I do not have any code or links, but hopefully this will get
you going in the right direction.
-D
 

 -Original Message-
 From: Vicky [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 03, 2007 6:17 AM
 To: slide-user@jakarta.apache.org
 Subject: Help regarding Slide - MS Exchange Communication
 
  Hi,
 
 I am new to Apache Slide. What i need is to use Apache slide 
 to talk to MS Exchange Server to perform functions like 
 sending mails and adding calender enteries.
 
 Even after a fair amount of googling, i failed to find any 
 decent documentation/links which talk about Slide - MS 
 Exchange communication.
 
 The very basic thing that i want to know is, does Slide 
 provide support MS Exchange 2003 and 2007 servers.
 
 Can some one provide me with some decent links which will 
 help me understand the Slide - MS Exchange communication or 
 some sample code to get me started off.
 
 I will really appreciate any help provided.
 
 Thanks,
 Vikram
 

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



RE: Problems with Slide Client and SAP Portal WebDAV

2006-11-29 Thread Darren Hartford
I use Slide more in a test-environment, but I would like to add credence to 
some of these statements based on my observations.

*Definitely build from src - the 2.1 is lacking a lot of fixes that exist in 
the source tree. My recommendation is once it is built and seems to be working 
well for your scenario, keep track of the tag/subversion id for future, 
repeatable builds.

*Selecting properties that are only partially located in the data is a 
recognized problem and will give you inconsistent results.  The only workaround 
is to populate the properties you commonly search for with at least blank 
values so the key is recognized and added to the index.  ActuallyI'm not 
sure if using the old DASL search without indexing would give different results 
than with indexing.

*403 response is not authorized but authenticated - correct individual but 
lacking permissions.  Mixed 403 in the multistatus I've never encountered, but 
then again I do course-grain security without ACL opposed to fine-grain ACL's.

Hope that helps,
-D
 

 -Original Message-
 From: Julian Reschke [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 29, 2006 12:08 PM
 To: Slide Users Mailing List
 Subject: Re: Problems with Slide Client and SAP Portal WebDAV
 
 Jeff Blank schrieb:
  First of all, thanks for the super quick responses to this inquiry.
  
  This last response isn't necessarily what I was hoping for. 
 Oh well. ;-) Is it worth downloading, building, and trying a 
 newer version of Slide?  I seemed to build v2.1 ok on my systems.
 
 I have no idea. I know the spec and SAP KM, but not Slide.
 
  I'm of course happy to test any new code.
  
  
  
  There seems to be 2 issues here - at least from my naïve 
 perspective:
  1) the multistatus response with mixed 403 - depicted in slide2.txt
 
 Yes.
 
  2) the issue depicted in slide1a.txt/slide1b.txt.  There's 
 no 403's in those responses.  I'm having a hard time locating 
 a theme here.  Maybe, it's because display name is missing 
 sometimes???
 
 Oh, I wasn't even aware that there was a problem as well. 
 Yes, it seems that the client somehow gets confused by a 
 mixture of resources with and without displaynames. Maybe 
 you've got a test folder where this doesn't apply (such as 
 /etc in KM, which won't have displaynames...?).
 
 Best regards, Julian
 
 -
 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: Mkcol metadata, but not content

2006-09-26 Thread Darren Hartford
Not entirely sure the detail of the problem, but it looks like it was
something with the ACL/permission in Slide when trying to use MKCOL
(passing incorrect credentials but allowing it to partially work anyway
and not log an error/401 or something along those lines).

Very peculiar problem, but corrected on the client-side for now.

-D


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



RE: How to get property type

2006-09-13 Thread Darren Hartford
From what I recall, Julian is correct - Slide does not support this.
The src-version of Slide does have indexing by datatype, but the actual
properties visible through WebDAV are all basically 'strings'.  

Even some of the date fields/properties have inconsistent string-format
:-/

-D

 -Original Message-
 From: Julian Reschke [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 13, 2006 11:38 AM
 To: Slide Users Mailing List
 Subject: Re: How to get property type
 See http://greenbytes.de/tech/webdav/rfc4316.html. However, 
 I don't think this is supported in Slide.
 
 Best regards, Julian

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



RE: Slide and Secure Site Access (https)

2006-08-30 Thread Darren Hartford
Hi Jeanna,
This may be a work-around, but may help in the future.  Look at using
Apache to front-face your Tomcat/Slide instance either through mod_jk,
mod_jk2, or the newer apache 2.2 mod_ajp_proxy. You can have Apache
require SSL authentication before it is proxied back to your tomcat
instance, so you only setup Apache for SSL and Tomcat works without SSL.

My two coppers,
-D

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



RE: Slide Search

2006-08-23 Thread Darren Hartford
Using WebDAV I do not believe case-insensitive is integrated yet. 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 23, 2006 4:57 AM
 To: slide-user@jakarta.apache.org
 Subject: Slide Search
 
 Hello everyone,
 
 It would be much helpful if anyone could resolve my issue 
 with Search in Slide..
 
 Here goes my problem
 
 I used SearchQuery in Slide. With the help of 
 createSearchQuery method I could retrive the search 
 results. The search is case-sensitive.. How to make 
 case-insensitive search..
 
 Any pointers would be much helpful
 
 Thanks.
 

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



RE: repost -- need more help in J2EE store

2006-08-22 Thread Darren Hartford
Sorry, I've only been using the TxFileStore and TxXMLFileDescriptor
stores.  Those have been successful thus far for my needs.

-D 

 -Original Message-
 From: Ha Pham [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, August 22, 2006 2:02 PM
 To: Slide Users Mailing List
 Subject: repost -- need more help in J2EE store
 
 Hello all,
 
 Sorry to repost this question. 
 
 Has anyone set up the J2EE store successfully? I followed the 
 instruction but could not make it work. I've created the 
 tables (using the schema in db-schema) but don't know how to 
 insert the data so that I can take advantages of ACL on Slide. 
 
 Thank you,
 Ha
 

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



RE: Automatic creation of users??

2006-08-16 Thread Darren Hartford
If you search the mailing list there is a number of posts related to
this.

http://www.nabble.com/forum/Search.jtp?forum=336local=yquery=auto+crea
te+user

Similar results when you search the Wiki
http://wiki.apache.org/jakarta-slide/AutoCreateUser

-D

 -Original Message-
 From: rohitajm [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 16, 2006 3:30 AM
 To: slide-user@jakarta.apache.org
 Subject: Automatic creation of users??
 
 
 Hello All,
 
 I am using JDBCRealm for authentication of user in Slide. For 
 this I am using MySQL. I have created table 'users', which 
 store usernames and their passwords. From this I am able to 
 login as 'root' or 'john' or any other user which already 
 exists in Slide.
 
 What I want is: Whenever I create a user in Slide it should 
 automatically be created in MySQL database. Please suggest 
 what changes I should do in 'server.xml' or 'domain.xml' or 
 in some other file.
 
 Please help.
 
 -rohit
 --

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



PROPPATCH silent hangs

2006-08-15 Thread Darren Hartford
Hey all,
Recent SVN build (been running fine), and trying to modify existing data
using the TxXML file stores/descriptors (something new).

Using the slide webdav client lib (not wck or the api) and we are
getting silent hangs. The client code will hang and stop processing, but
nothing on the server is logging an attempt to do a PROPPATCH.  GET and
PROPFIND work fine.

We are gonna dig further, but I'm hoping someone may already have come
across so at least we can recognize it to not be environment-oriented
and that it may be Slide Server or the Slide Client libs.

Any information would be great!

Thanks,
-D

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



RE: Exceptions with Slide on zOS

2006-08-10 Thread Darren Hartford
I don't use zOS or WebSphere, but it looks like whereever you point your
domain.xml stores to (i.e. parameter
name=rootpath/slidestore/store/metadata/parameter and the 5 or so
other directory locations), do not have permission (specifically read
and write) as the user running Slide.  Whether that user is a WebSphere
system user or some other one I can't help you there.

The second error also points to the directory locations as the problem
(rootpath).  Check your domain.xml store's.

-D

 -Original Message-
 From: Sharda Nandula S [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 09, 2006 3:54 PM
 To: slide-user@jakarta.apache.org
 Subject: Exceptions with Slide on zOS
 
 Hi,
 
 I have installed the slide webapp on WebSphere 6.1 on zOS. 
 However when I start the server I get the following exceptions.
 
  
 org.apache.commons.transaction.file.ResourceManagerException: 
 Can not create working directory store/sequence
 [8/9/06 19:41:01:279 GMT+00:00] 0029 SystemErr R 
 at 
 org.apache.commons.transaction.file.FileSequence.init(FileSe
 quence.java:65)
 [8/9/06 19:41:01:279 GMT+00:00] 0029 SystemErr R 
 at 
 org.apache.slide.store.txfile.FileSequenceStore.setParameters(
 FileSequenceStore.java:73)
 [8/9/06 19:41:01:279 GMT+00:00] 0029 SystemErr R 
 at 
 org.apache.slide.common.Namespace.loadChildStore(Namespace.java:1095)
 
 and also , 
 
 org.apache.slide.common.ServiceParameterErrorException: 
 Service FileSequenceStore at store/sequence has an incorrect 
 parameter value for parameter rootpath
 [8/9/06 19:41:01:328 GMT+00:00] 0029 SystemErr R 
 at 
 org.apache.slide.store.txfile.FileSequenceStore.setParameters(
 FileSequenceStore.java:77)
 [8/9/06 19:41:01:329 GMT+00:00] 0029 SystemErr R 
 at 
 org.apache.slide.common.Namespace.loadChildStore(Namespace.java:1095)
 [8/9/06 19:41:01:329 GMT+00:00] 0029 SystemErr R 
 at 
 org.apache.slide.common.Namespace.getChildStore(Namespace.java:1035)
 
 I need help fixing this. Thanks S
 
 
 
   
 -
 How low will we go? Check out Yahoo! Messenger's low  
 PC-to-Phone call rates.
 

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



RE: [Tomcat, LDAP] Authorization failed - 403

2006-08-09 Thread Darren Hartford
The web.xml roles have a major impact when working with LDAP.  For
intial testing, I would recommend using your own user and, assuming AD,
look at what groups you belong to (such as 'Guest', 'Domain User', etc).
Add that group to your web.xml as a role, and that should get you passed
the 403 error.

Once you get pass the 403, you may run into the 'user not found' Slide
exception.   Then you will need to modify your domain.xml for
auto-create-user.

Hope this gets you a little further -- most of my experience is based on
JAAS-based authentication/authorization, not the JNDI stores, but it may
help.

-D

 -Original Message-
 From: Dennis Klein [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 09, 2006 11:42 AM
 To: slide-user@jakarta.apache.org
 Subject: [Tomcat, LDAP] Authorization failed - 403
 
 Hi,
 
 I have problems getting my JNDIPrincipalStores working. I am 
 searching the slide-user mailing list and google for days 
 now. It's really hard to find a complete slide documentation 
 (for users). If I am wrong and you know a good place with 
 good documentation stuff, please give me a hint!
 
 We have a LDAP server with about 900 users and some roles. My 
 aim is to run a slide server with access control with above 
 mentioned sets of users and roles. I choosed the Slide 
 bundled with Tomcat 5.0.28
 package and got it running fine in default configuration.
 
 Now, I want to add the required LDAP support. Authentication 
 is made by Tomcat, so I configured a JNDIRealm in the /slide 
 context in the server.xml 
 (http://www-linux.gsi.de/~dklein/slide/server.xml). This 
 works, here my JNDIRealm log 
 (http://www-linux.gsi.de/~dklein/slide/jndirealm_log).
 
 Next, I configured the JNDIPrincipalStores
 (http://www-linux.gsi.de/~dklein/slide/Domain.xml) and a 
 minimum acl (with the help of this mailing list). I 
 uncommented something security related in my web.xml file 
 (http://www-linux.gsi.de/~dklein/slide/web.xml). I do not 
 understand the relation between the security roles in the 
 web.xml file and the roles from LDAP!?
 
 When I browse on http://localhost:8080/slide and logon with 
 above successfully authenticated credentials I get a 403 
 (Access to the requested resource has been denied) error.
 
 Here are my debug log files:
  - catalina.out (http://www-linux.gsi.de/~dklein/slide/catalina.out)
  - localhost_log.2006-08-09.txt
 (http://www-linux.gsi.de/~dklein/slide/localhost_log.2006-08-09.txt)
  - localhost_slide_access_log.2006-08-09.txt
 (http://www-linux.gsi.de/~dklein/slide/localhost_slide_access_
 log.2006-08-09.txt)
 
 Do you have any ideas? If I should do some work in reading 
 more docs, because my problem is standard, please provide 
 some resources.
 
 However, my questions are:
 
 How can I get this stuff working?
 
 How is the relationship between my two JNDIPrincipalStores 
 being configured? Is it done by registering them with the 
 userspath and rolespath elements?
 
 Is it possible to add a third store (additionally to the 
 JNDIPrincipalStore for roles), let me call it group-store, in 
 that way, that users can group some users locally (which 
 means, that these groups are only visible to the slide and do 
 not require changes in ldap server)?
 
 thx in advance,
 all the best,
 
 Dennis Klein
 [EMAIL PROTECTED]
 
 p.s.: Sorry for my bad english. I don't speak english natively.
 
 
 
 -
 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: AW: Propertiesindexer and /UURI problem

2006-08-07 Thread Darren Hartford
 http://wiki.apache.org/jakarta-slide/SlidePropertiesFile

 -Original Message-
 From: Aslam Bari [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, August 05, 2006 12:52 AM
 To: slide-user@jakarta.apache.org
 Subject: Re: AW: Propertiesindexer and /UURI problem
 
 
 Where should i put this slide.properties file
 --
 View this message in context: 
 http://www.nabble.com/AW%3A-Propertiesindexer-and--UURI-proble
 m-tf1966340.html#a5661310
 Sent from the Jakarta Slide - User forum at Nabble.com.
 
 
 -
 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: DASL Search Not giving Result

2006-08-07 Thread Darren Hartford
The query you listed still searches the metadata index (properties, not
content). Note that enabling the index does NOT index any information
already contained in the repository - you want to enable index first,
then inject/re-inject that data so that the data is indexed. Also, once
you start indexing the DASL queries will exclusively use the lucene
index for those identified properties so anything not indexed will not
be found.

I do not know if there is a way to re-index data already existing in a
repository.

-D

 -Original Message-
 From: aslam bari [mailto:[EMAIL PROTECTED] 
 Sent: Monday, August 07, 2006 3:55 AM
 To: Slide User
 Subject: DASL Search Not giving Result
 
 Hello all,
   I have used LuceneContentIndexer for content indexing and 
 LucenePropertiesIndexer for Property indexing. 
 store/index_metadat is successfully getting created with many 
 index files. But /index_conent has only segment file. Any way 
 i use the following search but it does not giving me any result. 
   ?xml version=\1.0\ encoding=\utf-8\ ?\n +
   D:searchrequest xmlns:D =\DAV:\ +
   D:basicsearch +
   D:select +
   D:prop +
   D:getcontentlength/ +
   D:displayname/ +
   /D:prop +
   /D:select +
   D:from +
   D:scope +
   D:href/D:href+
   D:depthinfinity/D:depth +
   /D:scope +
   /D:from +
   D:where +
   
 D:likeD:propD:displayname//D:propD:literalOpen%/D:
 literal/D:like +
   /D:where +
   /D:basicsearch +
   /D:searchrequest;


   If i am missing something?
 
   
 -
  Here's a new way to find what you're looking for - Yahoo! Answers 
 

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



RE: DASL Search Not giving Result

2006-08-07 Thread Darren Hartford
The only other thing to test is I noticed your href is blank - I do
not know the 'correct' way to use this field but have had success with
D:href/slide/files/D:href. 

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Monday, August 07, 2006 8:31 AM
 To: Slide Users Mailing List
 Subject: RE: DASL Search Not giving Result
 
 The query you listed still searches the metadata index 
 (properties, not content). Note that enabling the index does 
 NOT index any information already contained in the repository 
 - you want to enable index first, then inject/re-inject that 
 data so that the data is indexed. Also, once you start 
 indexing the DASL queries will exclusively use the lucene 
 index for those identified properties so anything not indexed 
 will not be found.
 
 I do not know if there is a way to re-index data already 
 existing in a repository.
 
 -D
 
  -Original Message-
  From: aslam bari [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 07, 2006 3:55 AM
  To: Slide User
  Subject: DASL Search Not giving Result
  
  Hello all,
I have used LuceneContentIndexer for content indexing and 
  LucenePropertiesIndexer for Property indexing.
  store/index_metadat is successfully getting created with many index 
  files. But /index_conent has only segment file. Any way i use the 
  following search but it does not giving me any result.
?xml version=\1.0\ encoding=\utf-8\ ?\n +
D:searchrequest xmlns:D =\DAV:\ +
D:basicsearch +
D:select +
D:prop +
D:getcontentlength/ +
D:displayname/ +
/D:prop +
/D:select +
D:from +
D:scope +
D:href/D:href+
D:depthinfinity/D:depth +
/D:scope +
/D:from +
D:where +

  D:likeD:propD:displayname//D:propD:literalOpen%/D:
  literal/D:like +
/D:where +
/D:basicsearch +
/D:searchrequest;
 
 
If i am missing something?
  
  
  -
   Here's a new way to find what you're looking for - Yahoo! Answers
  
 
 -
 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: Disk space problem with tomcat cache directory (File.createTempFile)

2006-08-07 Thread Darren Hartford
Posted bug http://issues.apache.org/bugzilla/show_bug.cgi?id=40202



 -Original Message-
 From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 04, 2006 4:19 PM
 To: Slide Users Mailing List
 Subject: Re: Disk space problem with tomcat cache directory 
 (File.createTempFile)
 
 Hi,
 
 had the same problem running slide 2.1 inside JBoss/Tomcat bundle.
 Simplest solution I found was the following:
 when running on linux/unix add a cronjob that periodically 
 delete the files in temp-folder under windows you could use 
 the at command to add a job that does the same.
 
 hth
 SVen
 
 Darren Hartford schrieb:
  Half-way there
 
  Adding a:
 
  buffer.deleteOnExit();
 
  Sort of helps - in that when you stop the Tomcat instance 
 it will then 
  delete the temp file, but not while it is running.
 
  -D
 

  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 04, 2006 11:58 AM
  To: Slide Users Mailing List
  Subject: RE: Disk space problem with tomcat cache directory
  (File.createTempFile)
 
  In NodeRevisionContent.java, there is:
 
  
  public long bufferContent(InputStream is) throws IOException {
  File buffer = File.createTempFile(content_, null);
  OutputStream os = new BufferedOutputStream(new 
  FileOutputStream(buffer));
  try {
  long length = FileHelper.globalBufferCopy(is, os);
  InputStream bis = new BufferedInputStream(new 
  FileInputStream(buffer));
  setContent(bis);
  return length;
  } finally {
  try {
  is.close();
  } finally {
  os.close();
  }
  }
  }
  ===
 
  Would this be a culprit?
 
  -D
 
  
  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 04, 2006 10:35 AM
  To: Slide Users Mailing List
  Subject: RE: Disk space problem with tomcat cache directory
 
  Windows tomcat 5.5.9 does *not* experience this problem. 
 

  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 04, 2006 10:14 AM
  To: Slide Users Mailing List
  Subject: RE: Disk space problem with tomcat cache directory
 
  Some more detail: 
 
  Linux install of Jpackage version of tomcat, 5.5.9-1jpp
  
  experiences
  
  this problem.
 
  On windows Tomcat 5.5.17, the /temp directory does *not*
  
  have the same

  symptoms.
 
  -D
 
  
  -Original Message-
  From: Darren Hartford
  Sent: Friday, August 04, 2006 10:07 AM
  To: 'Slide Users Mailing List'
  Subject: Disk space problem with tomcat cache directory
 
  Hey all,
  I'm experiencing some problems with Slide built from SVN

  running on

  Tomcat 5.5/FC5/jpackage sun-jdk 5.
 
  Under /var/cache/tomcat5/temp is a large number of

  temporary files
  
  (content_N.tmp) that are the binary files being

  sent to Slide.
  
  These appear to persist even after the transaction for

  injecting them
  
  is complete.
 
  Does anyone have any information regarding this?
 
  Thanks,
  -D

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

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



RE: Attaching New Indexer to slide

2006-08-04 Thread Darren Hartford
The Slide version in Subversion, i.e. build from source opposed to the
binary, has the best implementation to-date of indexing Slide.  However,
that one is indeed still using Lucene 1.4 because no one has had time to
upgrade the codebase (and there hasn't been sufficient reason either as
Lucene 1.4 works very well).  Upgrades to the codebase would be greatly
appreciated and can be supplied as a contribution patch through JIRA.
Also, I assume you mean Lucene 2.0 as there is no 2.1 yet ;-)
 
-D

 -Original Message-
 From: aslam bari [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 04, 2006 12:25 AM
 To: Slide User
 Subject: Attaching New Indexer to slide
 
 Dear all,
   Slide comes with some default indexer like LuceneIndexer, 
 TextContentIndexer etc. But they are not efficient. My Questions are:-
   1) How can i use Indexer which is provided by the Lucene2.1
   2) How can i attach this indexer in slide jars.
   Thanks...
 
   
 -
  Here's a new way to find what you're looking for - Yahoo! Answers 
 

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



Disk space problem with tomcat cache directory

2006-08-04 Thread Darren Hartford
Hey all,
I'm experiencing some problems with Slide built from SVN running on
Tomcat 5.5/FC5/jpackage sun-jdk 5.

Under /var/cache/tomcat5/temp is a large number of temporary files
(content_N.tmp) that are the binary files being sent to Slide.

These appear to persist even after the transaction for injecting them is
complete.

Does anyone have any information regarding this?

Thanks,
-D

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



RE: Disk space problem with tomcat cache directory

2006-08-04 Thread Darren Hartford
Some more detail: 

Linux install of Jpackage version of tomcat, 5.5.9-1jpp experiences this
problem.

On windows Tomcat 5.5.17, the /temp directory does *not* have the same
symptoms. 

-D

 -Original Message-
 From: Darren Hartford 
 Sent: Friday, August 04, 2006 10:07 AM
 To: 'Slide Users Mailing List'
 Subject: Disk space problem with tomcat cache directory
 
 Hey all,
 I'm experiencing some problems with Slide built from SVN 
 running on Tomcat 5.5/FC5/jpackage sun-jdk 5.
 
 Under /var/cache/tomcat5/temp is a large number of temporary 
 files (content_N.tmp) that are the binary files being 
 sent to Slide.
 
 These appear to persist even after the transaction for 
 injecting them is complete.
 
 Does anyone have any information regarding this?
 
 Thanks,
 -D

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



RE: Disk space problem with tomcat cache directory

2006-08-04 Thread Darren Hartford
Windows tomcat 5.5.9 does *not* experience this problem. 

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 04, 2006 10:14 AM
 To: Slide Users Mailing List
 Subject: RE: Disk space problem with tomcat cache directory
 
 Some more detail: 
 
 Linux install of Jpackage version of tomcat, 5.5.9-1jpp 
 experiences this problem.
 
 On windows Tomcat 5.5.17, the /temp directory does *not* have 
 the same symptoms. 
 
 -D
 
  -Original Message-
  From: Darren Hartford
  Sent: Friday, August 04, 2006 10:07 AM
  To: 'Slide Users Mailing List'
  Subject: Disk space problem with tomcat cache directory
  
  Hey all,
  I'm experiencing some problems with Slide built from SVN running on 
  Tomcat 5.5/FC5/jpackage sun-jdk 5.
  
  Under /var/cache/tomcat5/temp is a large number of temporary files 
  (content_N.tmp) that are the binary files being sent to Slide.
  
  These appear to persist even after the transaction for 
 injecting them 
  is complete.
  
  Does anyone have any information regarding this?
  
  Thanks,
  -D
 
 -
 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: Disk space problem with tomcat cache directory (File.createTempFile)

2006-08-04 Thread Darren Hartford
In NodeRevisionContent.java, there is:


public long bufferContent(InputStream is) throws IOException {
File buffer = File.createTempFile(content_, null);
OutputStream os = new BufferedOutputStream(new
FileOutputStream(buffer));
try {
long length = FileHelper.globalBufferCopy(is, os);
InputStream bis = new BufferedInputStream(new
FileInputStream(buffer));
setContent(bis);
return length;
} finally {
try {
is.close();
} finally {
os.close();
}
}
}
===

Would this be a culprit?

-D 

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 04, 2006 10:35 AM
 To: Slide Users Mailing List
 Subject: RE: Disk space problem with tomcat cache directory
 
 Windows tomcat 5.5.9 does *not* experience this problem. 
 
  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 04, 2006 10:14 AM
  To: Slide Users Mailing List
  Subject: RE: Disk space problem with tomcat cache directory
  
  Some more detail: 
  
  Linux install of Jpackage version of tomcat, 5.5.9-1jpp experiences 
  this problem.
  
  On windows Tomcat 5.5.17, the /temp directory does *not* 
 have the same 
  symptoms.
  
  -D
  
   -Original Message-
   From: Darren Hartford
   Sent: Friday, August 04, 2006 10:07 AM
   To: 'Slide Users Mailing List'
   Subject: Disk space problem with tomcat cache directory
   
   Hey all,
   I'm experiencing some problems with Slide built from SVN 
 running on 
   Tomcat 5.5/FC5/jpackage sun-jdk 5.
   
   Under /var/cache/tomcat5/temp is a large number of temporary files
   (content_N.tmp) that are the binary files being sent to Slide.
   
   These appear to persist even after the transaction for
  injecting them
   is complete.
   
   Does anyone have any information regarding this?
   
   Thanks,
   -D
  
  
 -
  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]



RE: Disk space problem with tomcat cache directory (File.createTempFile)

2006-08-04 Thread Darren Hartford
Half-way there

Adding a:

buffer.deleteOnExit(); 

Sort of helps - in that when you stop the Tomcat instance it will then
delete the temp file, but not while it is running.

-D

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 04, 2006 11:58 AM
 To: Slide Users Mailing List
 Subject: RE: Disk space problem with tomcat cache directory 
 (File.createTempFile)
 
 In NodeRevisionContent.java, there is:
 
 
 public long bufferContent(InputStream is) throws IOException {
 File buffer = File.createTempFile(content_, null);
 OutputStream os = new BufferedOutputStream(new 
 FileOutputStream(buffer));
 try {
 long length = FileHelper.globalBufferCopy(is, os);
 InputStream bis = new BufferedInputStream(new 
 FileInputStream(buffer));
 setContent(bis);
 return length;
 } finally {
 try {
 is.close();
 } finally {
 os.close();
 }
 }
 }
 ===
 
 Would this be a culprit?
 
 -D 
 
  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 04, 2006 10:35 AM
  To: Slide Users Mailing List
  Subject: RE: Disk space problem with tomcat cache directory
  
  Windows tomcat 5.5.9 does *not* experience this problem. 
  
   -Original Message-
   From: Darren Hartford [mailto:[EMAIL PROTECTED]
   Sent: Friday, August 04, 2006 10:14 AM
   To: Slide Users Mailing List
   Subject: RE: Disk space problem with tomcat cache directory
   
   Some more detail: 
   
   Linux install of Jpackage version of tomcat, 5.5.9-1jpp 
 experiences 
   this problem.
   
   On windows Tomcat 5.5.17, the /temp directory does *not*
  have the same
   symptoms.
   
   -D
   
-Original Message-
From: Darren Hartford
Sent: Friday, August 04, 2006 10:07 AM
To: 'Slide Users Mailing List'
Subject: Disk space problem with tomcat cache directory

Hey all,
I'm experiencing some problems with Slide built from SVN
  running on
Tomcat 5.5/FC5/jpackage sun-jdk 5.

Under /var/cache/tomcat5/temp is a large number of 
 temporary files
(content_N.tmp) that are the binary files being 
 sent to Slide.

These appear to persist even after the transaction for
   injecting them
is complete.

Does anyone have any information regarding this?

Thanks,
-D
   
   
  
 -
   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]



RE: LuceneIndexer is not working

2006-08-03 Thread Darren Hartford
If you are using the 2.1 binary, I'm not sure it's entirely supported.
I've had to build straight from Subversion to get this to work.

In addition, you may want to be careful about your expectations.
ContentIndexer only indexes the content for full-text searching, and I
believe this will only work with text files and some XML files, but not
word, PDF, or other documents.  PropertiesIndexer is used for keyword
indexing which may be useful for faster DASL queries of those keywords.

contentindexer
classname=org.apache.slide.index.SampleTxtContainsIndexer
parameter
name=indexpath${slidestore}/index_content/parameter
/contentindexer


propertiesindexer
classname=org.apache.slide.index.lucene.LucenePropertiesIndexer
parameter
name=indexpath${slidestore}/index_meta/parameter
/propertiesindexer 

Hope that helps,
-D
 

 -Original Message-
 From: aslam bari [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 03, 2006 7:35 AM
 To: Slide User
 Subject: LuceneIndexer is not working
 
 Hello All,
   I am using slide2.1, and now want to attach lucene. I 
 enable the lucene in slide but indexes are not generated. 
 Exceptions is coming  while using LuceneIndexer.

   Does LuceneIndexer not work in Slide2.1. If not then how 
 can i use Indexer to search resources?
   ContentIndexer class=org.apache.slide.index.LuceneIndexer
   ...
   /ContentIndexer

   Help Plz.
 
 
   
 -
  Here's a new way to find what you're looking for - Yahoo! Answers 
 

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



Clustering with TxFileContentStore and TxXMLFileDescriptorsStore

2006-07-27 Thread Darren Hartford
I see the wiki entry for -

http://wiki.apache.org/jakarta-slide/ClusterSupport

However, does anyone have a 2-machine and a 4-machine scenario of how to
configure the clustering?  The localhost/remote config in domain.xml
would make more sense with an example.

In addition, has anyone had experience with the cluster support with
filesystem-based storage? I just to know if I'm going down an
unsupported road or if there has been success with clustering on
filesystem-based stores.

Thanks,
-D

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



RE: Clustering with TxFileContentStore and TxXMLFileDescriptorsStore

2006-07-27 Thread Darren Hartford
 In addition, has anyone had experience with the cluster 
 support with filesystem-based storage? 

To be more precise, if each Slide node has their own local file system,
or if they all point to the same single-point file system (i.e.
nas/san).

-D

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



RE: Webdav methods - which are allowable/required for read-only?

2006-07-25 Thread Darren Hartford
Pretty please?  Do the selected WebDAV methods for search/read-only role
look correct? 

-D

 
  -Original Message-
  Sent: Wednesday, July 19, 2006 11:43 AM
  To: Slide Users Mailing List
  Subject: Webdav methods - which are allowable/required for 
 read-only?
  
  Hey all,
  I'm looking at the web.xml for slide, and want to separate the 
  security-constraints into a search/read-only role and an 
 admin role.
  
  
  For admin, it's easy:
  =
  web-resource-collection
  web-resource-nameAdmin DAV 
 resource/web-resource-name
  url-pattern/*/url-pattern
  http-methodCOPY/http-method
  http-methodDELETE/http-method
  http-methodGET/http-method
  http-methodHEAD/http-method
  http-methodLOCK/http-method
  http-methodMKCOL/http-method
  http-methodMOVE/http-method
  http-methodOPTIONS/http-method
  http-methodPOST/http-method
  http-methodPROPFIND/http-method
  http-methodPROPPATCH/http-method
  http-methodPUT/http-method
  http-methodUNLOCK/http-method
  http-methodVERSION-CONTROL/http-method
  http-methodREPORT/http-method
  http-methodCHECKIN/http-method
  http-methodCHECKOUT/http-method
  http-methodUNCHECKOUT/http-method
  http-methodMKWORKSPACE/http-method
  http-methodUPDATE/http-method
  http-methodLABEL/http-method
  http-methodMERGE/http-method
  http-methodBASELINE-CONTROL/http-method
  http-methodMKACTIVITY/http-method
  http-methodACL/http-method
  http-methodSEARCH/http-method
  http-methodBIND/http-method
  http-methodUNBIND/http-method
  http-methodREBIND/http-method
  http-methodSUBSCRIBE/http-method
  http-methodUNSUBSCRIBE/http-method
  http-methodPOLL/http-method
  http-methodNOTIFY/http-method
  /web-resource-collection
  ===
  
  
  For a search/read-only type of WebDAV role, what should be 
  added/removed from below?
  ==
  web-resource-collection
  web-resource-nameSearch and Browse DAV 
  resource/web-resource-name
  url-pattern/*/url-pattern
  http-methodGET/http-method
  http-methodHEAD/http-method
  http-methodLOCK/http-method
  http-methodOPTIONS/http-method
  http-methodPOST/http-method
  http-methodPROPFIND/http-method
  http-methodUNLOCK/http-method
  http-methodVERSION-CONTROL/http-method
  http-methodREPORT/http-method
  http-methodLABEL/http-method
  http-methodBASELINE-CONTROL/http-method
  http-methodMKACTIVITY/http-method
  http-methodACL/http-method
  http-methodSEARCH/http-method
  http-methodBIND/http-method
  http-methodUNBIND/http-method
  http-methodREBIND/http-method
  http-methodSUBSCRIBE/http-method
  http-methodUNSUBSCRIBE/http-method
  http-methodPOLL/http-method
  http-methodNOTIFY/http-method
  /web-resource-collection
  
  
  
  Thanks,
  -D

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



JAAS - 'No object found at /users/JAASUSER'

2006-07-25 Thread Darren Hartford
I'm trying to implement a pure JAAS install of slide, and keep running
into issues with Slides built-in ACL security (even though it is turned
off).

/WEB-INF/classes/slide.properties
=
org.apache.slide.security=false
=


I've tried disabling (in ignorance) certain configurations in domain.xml
without success:
===
!-- Paths configuration --
!-- userspath/users/userspath
rolespath/roles/rolespath --
===
!--   parameter name=acl_inheritance_typepath/parameter
--
   parameter name=acl_inheritance_typenone/parameter
===
 objectnode classname=org.apache.slide.structure.SubjectNode
!-- no idea what I'm doing here --
===

And the end result is usually like this:

message Not Found: No object found at /users/JAASUSER

description The requested resource (Not Found: No object found at
/users/JAASUSER) is not available.
###
 
Can someone please help?

-D

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



RE: JAAS - 'No object found at /users/JAASUSER'

2006-07-25 Thread Darren Hartford
WellI had to dig back through the auto-create-users
code/configuration which works, but is not documented.

Something like this to domain.xml
==
!-- Paths configuration --
  userspath/users/userspath
  guestpathguest/guestpath

  !-- Roles definition --
  role name=rootslideroles.basic.RootRole/role
  role name=userslideroles.basic.UserRole/role
  role name=guestslideroles.basic.GuestRole/role

  !-- Users management --
  auto-create-userstrue/auto-create-users
.
=

My JAAS-Slide server install isn't very clean, but at least functional.

-D

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



RE: Questions on Sequential-modes and the next release?

2006-07-24 Thread Darren Hartford
 For example a webapp we created automatically gets RSS feeds and 
 stores them in Slide every 20 minutes. The frontpage of the webapp 
 then tries to read these files via an Ajax RSS reader and has to wait 
 until the writes are finished. I would much rather (if versions are 
 enabled) that while the PUT is going on the GET would get the last 
 version available but otherwise wait until the PUT is done and only
that resource gets locked up for the moment.
 Is that possible today?

I was playing in domain.xml under the configuration, there is an
option for:

parameter name=all-methods-in-transactionsfalse/parameter

This normally defaults to true, but according to the
javadoc/documentation, turning this false will allow read-only actions
to not use transactions.  I only did minor testing with this, but what
testing I did (performance-oriented on read-only without any other
transactions) actually had sporadic results from quite good to
same-as-before.  The sporadic results got me a little worried so I
haven't tested any further but this may assist you!

-D

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



Slide w/jaas on jpackage tomcat install

2006-07-21 Thread Darren Hartford
Hey all,
Referencing this post:
http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200504.mbox/
[EMAIL PROTECTED]

Has anyone had success with slide/JAAS on Jpackage install of Tomcat?

Thanks,
-D

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



RE: Slide w/jaas on jpackage tomcat install

2006-07-21 Thread Darren Hartford
Managed to work around the problem - if I moved the Realm
configuration in tomcat's server.xml from the Context up to Engine
scope (i.e., global) slide JAAS works as-expected.

-D 

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Friday, July 21, 2006 9:54 AM
 To: Slide Users Mailing List
 Subject: Slide w/jaas on jpackage tomcat install
 
 Hey all,
 Referencing this post:
 http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/20
 0504.mbox/
 [EMAIL PROTECTED]
 
 Has anyone had success with slide/JAAS on Jpackage install of Tomcat?
 
 Thanks,
 -D
 
 -
 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: Webdav methods - which are allowable/required for read-only?

2006-07-20 Thread Darren Hartford
To be more precise, I want to start using
org.apache.slide.security=false and not take advantage of the built-in
slide ACL and instead use enterprise JAAS for
authentication/authorization in a coarse-grain sense.  This should also
work around the performance hit regarding using ACL's (and, for my
scenarios, coarse-grain security is all that is needed, not fine-grain
ACLs).

Does anyone have more information regarding moving towards
non-ACL/JAAS-only Slide install/implementations?

-D 

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, July 19, 2006 11:43 AM
 To: Slide Users Mailing List
 Subject: Webdav methods - which are allowable/required for read-only?
 
 Hey all,
 I'm looking at the web.xml for slide, and want to separate 
 the security-constraints into a search/read-only role and 
 an admin role.
 
 
 For admin, it's easy:
 =
 web-resource-collection
 web-resource-nameAdmin DAV resource/web-resource-name
 url-pattern/*/url-pattern
 http-methodCOPY/http-method
 http-methodDELETE/http-method
 http-methodGET/http-method
 http-methodHEAD/http-method
 http-methodLOCK/http-method
 http-methodMKCOL/http-method
 http-methodMOVE/http-method
 http-methodOPTIONS/http-method
 http-methodPOST/http-method
 http-methodPROPFIND/http-method
 http-methodPROPPATCH/http-method
 http-methodPUT/http-method
 http-methodUNLOCK/http-method
 http-methodVERSION-CONTROL/http-method
 http-methodREPORT/http-method
 http-methodCHECKIN/http-method
 http-methodCHECKOUT/http-method
 http-methodUNCHECKOUT/http-method
 http-methodMKWORKSPACE/http-method
 http-methodUPDATE/http-method
 http-methodLABEL/http-method
 http-methodMERGE/http-method
 http-methodBASELINE-CONTROL/http-method
 http-methodMKACTIVITY/http-method
 http-methodACL/http-method
 http-methodSEARCH/http-method
 http-methodBIND/http-method
 http-methodUNBIND/http-method
 http-methodREBIND/http-method
 http-methodSUBSCRIBE/http-method
 http-methodUNSUBSCRIBE/http-method
 http-methodPOLL/http-method
 http-methodNOTIFY/http-method
 /web-resource-collection
 ===
 
 
 For a search/read-only type of WebDAV role, what should be 
 added/removed from below?
 ==
 web-resource-collection
 web-resource-nameSearch and Browse DAV 
 resource/web-resource-name
 url-pattern/*/url-pattern
 http-methodGET/http-method
 http-methodHEAD/http-method
 http-methodLOCK/http-method
 http-methodOPTIONS/http-method
 http-methodPOST/http-method
 http-methodPROPFIND/http-method
 http-methodUNLOCK/http-method
 http-methodVERSION-CONTROL/http-method
 http-methodREPORT/http-method
 http-methodLABEL/http-method
 http-methodBASELINE-CONTROL/http-method
 http-methodMKACTIVITY/http-method
 http-methodACL/http-method
 http-methodSEARCH/http-method
 http-methodBIND/http-method
 http-methodUNBIND/http-method
 http-methodREBIND/http-method
 http-methodSUBSCRIBE/http-method
 http-methodUNSUBSCRIBE/http-method
 http-methodPOLL/http-method
 http-methodNOTIFY/http-method
 /web-resource-collection
 
 
 
 Thanks,
 -D
 
 -
 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]



Domain.xml - what is 'sequential-mode'?

2006-07-20 Thread Darren Hartford
In domain.xml, configuration node, what is this configuration option
used/useful for?

!-- Can be off, fine-grain, write and full --
parameter name=sequential-modefine-grain/parameter

Specifically in regards to optimizing for search/read performance while
still maintaining write-integrity.

Thanks,
-D

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



AW: Propertiesindexer and /UURI problem

2006-07-19 Thread Darren Hartford
I don't know how to fix the code, but found a way to work around the
problem.

Add/modify a slide.properties file with:
org.apache.slide.binding=false

The bindings are having some type of impact on indexing/searching.

Hope that saves someone else a lot of time figuring it out!

-D

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



Webdav methods - which are allowable/required for read-only?

2006-07-19 Thread Darren Hartford
Hey all,
I'm looking at the web.xml for slide, and want to separate the
security-constraints into a search/read-only role and an admin role.


For admin, it's easy:
=
web-resource-collection
web-resource-nameAdmin DAV resource/web-resource-name
url-pattern/*/url-pattern
http-methodCOPY/http-method
http-methodDELETE/http-method
http-methodGET/http-method
http-methodHEAD/http-method
http-methodLOCK/http-method
http-methodMKCOL/http-method
http-methodMOVE/http-method
http-methodOPTIONS/http-method
http-methodPOST/http-method
http-methodPROPFIND/http-method
http-methodPROPPATCH/http-method
http-methodPUT/http-method
http-methodUNLOCK/http-method
http-methodVERSION-CONTROL/http-method
http-methodREPORT/http-method
http-methodCHECKIN/http-method
http-methodCHECKOUT/http-method
http-methodUNCHECKOUT/http-method
http-methodMKWORKSPACE/http-method
http-methodUPDATE/http-method
http-methodLABEL/http-method
http-methodMERGE/http-method
http-methodBASELINE-CONTROL/http-method
http-methodMKACTIVITY/http-method
http-methodACL/http-method
http-methodSEARCH/http-method
http-methodBIND/http-method
http-methodUNBIND/http-method
http-methodREBIND/http-method
http-methodSUBSCRIBE/http-method
http-methodUNSUBSCRIBE/http-method
http-methodPOLL/http-method
http-methodNOTIFY/http-method
/web-resource-collection
===


For a search/read-only type of WebDAV role, what should be added/removed
from below?
==
web-resource-collection
web-resource-nameSearch and Browse DAV
resource/web-resource-name
url-pattern/*/url-pattern
http-methodGET/http-method
http-methodHEAD/http-method
http-methodLOCK/http-method
http-methodOPTIONS/http-method
http-methodPOST/http-method
http-methodPROPFIND/http-method
http-methodUNLOCK/http-method
http-methodVERSION-CONTROL/http-method
http-methodREPORT/http-method
http-methodLABEL/http-method
http-methodBASELINE-CONTROL/http-method
http-methodMKACTIVITY/http-method
http-methodACL/http-method
http-methodSEARCH/http-method
http-methodBIND/http-method
http-methodUNBIND/http-method
http-methodREBIND/http-method
http-methodSUBSCRIBE/http-method
http-methodUNSUBSCRIBE/http-method
http-methodPOLL/http-method
http-methodNOTIFY/http-method
/web-resource-collection



Thanks,
-D

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



Propertiesindexer - anyone have a working version?

2006-07-18 Thread Darren Hartford
Does anyone have a working version of Slide with the propertiesindexer
(using TxXMLFileDescriptorsStore)?  I would like to get the SVN version
number so I can build a working indexed version of Slide.

Thanks,
-D

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



RE: Propertiesindexer and /UURI problem

2006-07-18 Thread Darren Hartford
Tested Tomcat 5.0.28, exact same problem. SVN version 423090 (previous
e-mailed version was incorrect - apparently doing an SVN-update only
gives the version related to the updated files...like the
build.properties.sample file...not the folder revision).


The really complicated DASL basicsearch I'm testing with is:

String query1 = D:searchrequest xmlns:D=\DAV:\
+
D:basicsearch +
D:select +
D:allprop/ +
/D:select +
D:from +
   D:scope +
  D:href/slide/files/D:href +
   D:depthinfinity/D:depth +
   /D:scope +
   /D:from +
   D:where +
   D:eq +

D:propD:displayname//D:prop +

D:literalD000B1F5_3.tif/D:literal +
   /D:eq +
   /D:where + 
   /D:basicsearch +
/D:searchrequest;
 
-D

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 17, 2006 10:28 AM
 To: Slide Users Mailing List
 Subject: RE: Propertiesindexer and /UURI problem
 Importance: High
 
 Anyone?  This is an important feature - SVN ver. 421675
 
 Domain.xml (default + propertiesindexer) ===
 namespace name=slide
 definition
 store name=tx
 nodestore
 classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
   parameter
 name=rootpath${filespath}store/metadata/parameter
 parameter
 name=workpath${filespath}work/metadata/parameter
 parameter name=defer-savingtrue/parameter
 parameter name=timeout120/parameter
 /nodestore
 sequencestore
 classname=org.apache.slide.store.txfile.FileSequenceStore
 parameter
 name=rootpath${filespath}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=rootpath${filespath}store/content/parameter
 parameter
 name=workpath${filespath}work/content/parameter
 parameter name=defer-savingtrue/parameter
 parameter name=timeout120/parameter
 /contentstore
   propertiesindexer
 classname=org.apache.slide.index.lucene.LucenePropertiesIndexer
   parameter
 name=indexpath${filespath}index_meta/parameter
   /propertiesindexer
 
 
 
  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, July 13, 2006 2:23 PM
  To: Slide Users Mailing List
  Subject: Propertiesindexer and /UURI problem
  
  Hey all,
  I grabbed a recent version from Slide trunk (421675) and 
  deployed it on Tomcat 5.5.17.
  
  After getting everything configured, I ran some tests that 
  I've had for a while, but this time I tried to enable the 
  propertiesindexer because the DASL searches are becoming 
  prohibitively slow. 
  
  I do recall that this used to work fine (about a year ago 
  now?), but this more recent build I'm getting errors as 
  detailed below.
  
  Note that disabling the indexer and re-injecting the exact 
  same files and properties and then doing a DASL search 
  everything works fine -- it is only when the indexer is 
  enabled that this error occurs.
  
  Anyone have a quick fix for this pls?
  -D
  
  =
  org.apache.slide.structure.ObjectNotFoundException: No 
 object found at
  /UURI:
  at
  
 org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.retrieveO
  bject(AbstractXMLResourceDescriptor.java:296)
  at
  
 org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObjec
  t(TxXMLFileDescriptorsStore.java:104)
  at
  
 org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.jav
  a:679)
  at
  
 org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.jav
  a:605)
  at
  
 org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:
  207

RE: Propertiesindexer and /UURI problem

2006-07-18 Thread Darren Hartford
And, in case it is asked,  D:literalD000B1F5_3.tif/D:literal does
exist.  When searching for a value that does not exist, it simply
returns no results found without the error. Only if it exists does the
/UURI problem occur.

Also, searches for fields that are non-indexed also do not have a
problem and work fine. It is only indexed values.

i.e.
D:propD:modificationdate//D:prop +
D:literal2006-07-18T13:39:31Z/D:literal +

Exists, searches, and returns correct results.

The indexing is the part that is broken related apparently to the /UURI
piece.

-D


 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 18, 2006 10:31 AM
 To: Slide Users Mailing List
 Subject: RE: Propertiesindexer and /UURI problem
 
 Tested Tomcat 5.0.28, exact same problem. SVN version 423090 
 (previous e-mailed version was incorrect - apparently doing 
 an SVN-update only gives the version related to the updated 
 files...like the build.properties.sample file...not the 
 folder revision).
 
 
 The really complicated DASL basicsearch I'm testing with is:
 
   String query1 = D:searchrequest xmlns:D=\DAV:\
 +
   D:basicsearch +
   D:select +
   D:allprop/ +
   /D:select +
   D:from +
  D:scope +
 D:href/slide/files/D:href +
  D:depthinfinity/D:depth +
  /D:scope +
  /D:from +
  D:where +
  D:eq +
   
 D:propD:displayname//D:prop +
   
 D:literalD000B1F5_3.tif/D:literal +
  /D:eq +
  /D:where + 
  /D:basicsearch +
   /D:searchrequest;
  
 -D
 
  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 17, 2006 10:28 AM
  To: Slide Users Mailing List
  Subject: RE: Propertiesindexer and /UURI problem
  Importance: High
  
  Anyone?  This is an important feature - SVN ver. 421675
  
  Domain.xml (default + propertiesindexer) ===
  namespace name=slide
  definition
  store name=tx
  nodestore
  classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
parameter
  name=rootpath${filespath}store/metadata/parameter
  parameter
  name=workpath${filespath}work/metadata/parameter
  parameter name=defer-savingtrue/parameter
  parameter name=timeout120/parameter
  /nodestore
  sequencestore
  classname=org.apache.slide.store.txfile.FileSequenceStore
  parameter
  name=rootpath${filespath}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=rootpath${filespath}store/content/parameter
  parameter
  name=workpath${filespath}work/content/parameter
  parameter name=defer-savingtrue/parameter
  parameter name=timeout120/parameter
  /contentstore
  propertiesindexer
  classname=org.apache.slide.index.lucene.LucenePropertiesIndexer
  parameter
  name=indexpath${filespath}index_meta/parameter
  /propertiesindexer
  
  
  
   -Original Message-
   From: Darren Hartford [mailto:[EMAIL PROTECTED]
   Sent: Thursday, July 13, 2006 2:23 PM
   To: Slide Users Mailing List
   Subject: Propertiesindexer and /UURI problem
   
   Hey all,
   I grabbed a recent version from Slide trunk (421675) and 
 deployed it 
   on Tomcat 5.5.17.
   
   After getting everything configured, I ran some tests 
 that I've had 
   for a while, but this time I tried to enable the 
 propertiesindexer 
   because the DASL searches are becoming prohibitively slow.
   
   I do recall that this used to work fine (about a year ago 
 now?), but 
   this more recent build I'm getting errors as detailed below.
   
   Note that disabling the indexer and re-injecting the exact same 
   files and properties and then doing a DASL search 
 everything works 
   fine

RE: Propertiesindexer and /UURI problem (TxXMLFileDescriptorsStore/XMLResourceDescriptor)

2006-07-18 Thread Darren Hartford
I started debugging slide, and I don't understand the section where
after an xfd.getURI it's getting blank UURI's.
Does this make sense to anyone?

ComparableResourceImpl(UURI:/files/20020710/D000B1F5_3.tif)
ContentImpl:retrieve:original uri:UURI:/files/20020710/D000B1F5_3.tif
ContentImpl:retrieve:redirect uri:UURI:/files/20020710/D000B1F5_3.tif
StructureImpl:retrieve:original uri:UURI:/files/20020710/D000B1F5_3.tif
StructureImpl:retrieve:namespace
uri:/UURI:/files/20020710/D000B1F5_3.tif
TxXMLFileDescriptorsStore:retrieveObject(/UURI:/files/20020710/D000B1F5_
3.tif)
TxXMLFileDescriptorsStore:getFileDescriptor(/UURI:/files/20020710/D000B1
F5_3.tif
)
TxXMLFileDescriptorsStore:getFileDescriptor:txContext != null
TxXMLFileDescriptorsStore:retrieveObject:xfd.getUri:/UURI:/files/2002071
0/D000B1
F5_3.tif

[[this is where I don't understand]]

StructureImpl:retrieve:load object directly failed
StructureImpl:retrieve:result == null
TxXMLFileDescriptorsStore:retrieveObject(/UURI:)
TxXMLFileDescriptorsStore:getFileDescriptor(/UURI:)
TxXMLFileDescriptorsStore:getFileDescriptor:txContext != null
TxXMLFileDescriptorsStore:retrieveObject:xfd.getUri:/UURI:
org.apache.slide.structure.ObjectNotFoundException: No object found at
/UURI:
===

The method from TxXMLFileDescriptorsStore (with my sysouts) looks like
this:

public ObjectNode retrieveObject(Uri uri) throws
ServiceAccessException, ObjectNotFoundException {
//DRH added lazy-debugging output
System.out.println(TxXMLFileDescriptorsStore:retrieveObject( +
uri + ));

XMLResourceDescriptor xfd = getFileDescriptor(uri);
 
System.out.println(TxXMLFileDescriptorsStore:retrieveObject:xfd.getUri:
 + xfd.getUri());

//uh...where does this go?
ObjectNode object = xfd.retrieveObject();
return object;
}
=

Please help out, I want indexing to work ;-)

-D

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



RE: Propertiesindexer and /UURI problem (AbstractXMLResourceDescriptor)

2006-07-18 Thread Darren Hartford
Problem seems related to TxXMLFileDesctriptorsStore.retrieveObject, it
tries to call AbstractXMLResourceDescriptor.retrieveObject which has a
null-reference to ObjectNode 'object'.

How does one fix this without breaking something else?

TxXMLFileDesctriptorsStore

   public ObjectNode retrieveObject(Uri uri) throws 
ServiceAccessException, ObjectNotFoundException {

XMLResourceDescriptor xfd = getFileDescriptor(uri);

//here tries to retrieveObject, which is
AbstractXMLDesctriptor.retrieveObject().

ObjectNode object = xfd.retrieveObject();
return object;
}
=


AbstractXMLResourceDescriptor
=
...
/** Stored object.*/
protected ObjectNode object;
...
protected void init() throws ServiceAccessException {
// need to set this null, as
AbstractUriProperties.retrieveObject relies on it
object = null;
permissions = new Vector();
locks = new Vector();
revisionDescriptors =
new NodeRevisionDescriptors(uri, null, new Hashtable(), new
Hashtable(), new Hashtable(), false);

descriptor = new Hashtable();
}
...
public ObjectNode retrieveObject() throws ServiceAccessException,
ObjectNotFoundException {
if (object == null) {
throw new ObjectNotFoundException(uri);
}
return object.cloneObject();
}
==
 

-D

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



RE: Propertiesindexer and /UURI problem

2006-07-17 Thread Darren Hartford
Anyone?  This is an important feature - 
SVN ver. 421675

Domain.xml (default + propertiesindexer)
===
namespace name=slide
definition
store name=tx
nodestore
classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
  parameter
name=rootpath${filespath}store/metadata/parameter
parameter
name=workpath${filespath}work/metadata/parameter
parameter name=defer-savingtrue/parameter
parameter name=timeout120/parameter
/nodestore
sequencestore
classname=org.apache.slide.store.txfile.FileSequenceStore
parameter
name=rootpath${filespath}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=rootpath${filespath}store/content/parameter
parameter
name=workpath${filespath}work/content/parameter
parameter name=defer-savingtrue/parameter
parameter name=timeout120/parameter
/contentstore
propertiesindexer
classname=org.apache.slide.index.lucene.LucenePropertiesIndexer
parameter
name=indexpath${filespath}index_meta/parameter
/propertiesindexer 



 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, July 13, 2006 2:23 PM
 To: Slide Users Mailing List
 Subject: Propertiesindexer and /UURI problem
 
 Hey all,
 I grabbed a recent version from Slide trunk (421675) and 
 deployed it on Tomcat 5.5.17.
 
 After getting everything configured, I ran some tests that 
 I've had for a while, but this time I tried to enable the 
 propertiesindexer because the DASL searches are becoming 
 prohibitively slow. 
 
 I do recall that this used to work fine (about a year ago 
 now?), but this more recent build I'm getting errors as 
 detailed below.
 
 Note that disabling the indexer and re-injecting the exact 
 same files and properties and then doing a DASL search 
 everything works fine -- it is only when the indexer is 
 enabled that this error occurs.
 
 Anyone have a quick fix for this pls?
 -D
 
 =
 org.apache.slide.structure.ObjectNotFoundException: No object found at
 /UURI:
 at
 org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.retrieveO
 bject(AbstractXMLResourceDescriptor.java:296)
 at
 org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObjec
 t(TxXMLFileDescriptorsStore.java:104)
 at
 org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.jav
 a:679)
 at
 org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.jav
 a:605)
 at
 org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:
 207)
 at
 org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:155)
 at
 org.apache.slide.search.basic.ComparableResourceImpl.init(Comparabl
 eResourceImpl.java:166)
 at
 org.apache.slide.search.basic.ComparableResourceImpl.init(Comparabl
 eResourceImpl.java:137)
 at
 org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.cr
 eateResource(AbstractLuceneExpression.java:353)
 at
 org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.ex
 ecute(AbstractLuceneExpression.java:249)
 at
 org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.ex
 ecute(AbstractLuceneExpression.java:115)
 at
 org.apache.slide.search.basic.BasicQueryImpl.execute(BasicQueryImpl.j
 ava:134)
 at
 org.apache.slide.search.basic.BasicQueryEnvelope.execute(BasicQueryEn
 velope.java:214)
 at
 org.apache.slide.search.SearchImpl.search(SearchImpl.java:116)
 at
 org.apache.slide.webdav.method.SearchMethod.executeRequest(SearchMeth
 od.java:230)
 at
 org.apache.slide.webdav.method.AbstractWebdavMethod.executeRedirect(A
 bstractWebdavMethod.java:583)
 at
 org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebda
 vMethod.java:416)
 at
 org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151)
 
 at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
 icationFilterChain.java:252

Propertiesindexer and /UURI problem

2006-07-13 Thread Darren Hartford
Hey all,
I grabbed a recent version from Slide trunk (421675) and deployed it on
Tomcat 5.5.17.

After getting everything configured, I ran some tests that I've had for
a while, but this time
I tried to enable the propertiesindexer because the DASL searches are
becoming prohibitively slow. 

I do recall that this used to work fine (about a year ago now?), but
this more recent build I'm getting errors as detailed below.

Note that disabling the indexer and re-injecting the exact same files
and properties and then doing a DASL search everything works fine -- it
is only when the indexer is enabled that this error occurs.

Anyone have a quick fix for this pls?
-D

=
org.apache.slide.structure.ObjectNotFoundException: No object found at
/UURI:
at
org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.retrieveO
bject(AbstractXMLResourceDescriptor.java:296)
at
org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObjec
t(TxXMLFileDescriptorsStore.java:104)
at
org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.jav
a:679)
at
org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.jav
a:605)
at
org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:
207)
at
org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:155)
at
org.apache.slide.search.basic.ComparableResourceImpl.init(Comparabl
eResourceImpl.java:166)
at
org.apache.slide.search.basic.ComparableResourceImpl.init(Comparabl
eResourceImpl.java:137)
at
org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.cr
eateResource(AbstractLuceneExpression.java:353)
at
org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.ex
ecute(AbstractLuceneExpression.java:249)
at
org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.ex
ecute(AbstractLuceneExpression.java:115)
at
org.apache.slide.search.basic.BasicQueryImpl.execute(BasicQueryImpl.j
ava:134)
at
org.apache.slide.search.basic.BasicQueryEnvelope.execute(BasicQueryEn
velope.java:214)
at
org.apache.slide.search.SearchImpl.search(SearchImpl.java:116)
at
org.apache.slide.webdav.method.SearchMethod.executeRequest(SearchMeth
od.java:230)
at
org.apache.slide.webdav.method.AbstractWebdavMethod.executeRedirect(A
bstractWebdavMethod.java:583)
at
org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebda
vMethod.java:416)
at
org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at
org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:147)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:524)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)
13 Jul 2006 14:17:56 - org.apache.slide.common.Domain - WARNING - No
object foun
d at /UURI:
13 Jul 2006 14:17:56 - org.apache.slide.common.Domain - WARNING - No
object foun
d at /UURI:
http-8080-Processor24, 13-Jul-2006 14:17:56, root, SEARCH, 400 Bad
Request, 31
3 ms, /files
=

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



Verify date of last release

2006-06-01 Thread Darren Hartford
I was asked when the last official release date of Jakarta Slide was
(I've been building from source for over a year and were concerned about
production quality).

From my sources, it looks like:
December 2004 - Jakarta Slide 2.1

Does this sound correct?

-D

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



RE: Projector...

2006-04-06 Thread Darren Hartford
Has anyone made progress in getting the Projector project to work? I
would like to evaluate it, but have not had any success in even building
it. 

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Monday, February 27, 2006 4:48 PM
 To: Slide Users Mailing List
 Subject: RE: Projector...
 
 Maybe I should be more precise in what I've tried so far:
 
 *I've grabbed a SVN snapshot
 *built jakarta slide with 'ant webapp'
 *placed the dist/webapp/slide.war in a Tomcat 5.0.28 container.
 *tested http://localhost:8080/slide/files and this works fine.
 
 *in SVN, went down to 'projector'.
 *built it with 'ant webapp'
 *placed the projector/dist/webapp/projector.war in the same Tomcat
 5.0.28 container.
 
 --at this point, if you run, it complains about not finding 
 '../slide/projector.xml'.
 
 *copied from SVN/projector/src/conf/projector.xml to 
 $TOMCAT_HOME/slide/projector.xml (the ../slide is from 'bin').
 
 --the complains about not finding any applications
 
 *This is where I was getting confused...uncompressed the 
 SVN/projector/src/content/store.zip, then place the 'store' 
 directory directly over the 'store' directory in 
 $TOMCAT_HOME/webapp/slide/store.
 
 Am I going the wrong way?
 
 -D
 
  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Monday, February 27, 2006 4:34 PM
  To: Slide Users Mailing List
  Subject: Projector...
  
  Speaking of client-based WebDAV access...in the last year 
 and a half 
  I've been watching Slide, I haven't been able to get a demo of the 
  Projector up and running.
  
  If someone has gotten Projector running, could you share a 
 bundle or 
  give detailed instructions?
  
  Thanks,
  -D
  
  
 -
  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]



RE: Slide/Webdav and RDF...

2006-04-05 Thread Darren Hartford
Thanks for the response Max, but I'm still looking for an implementation
example as to how to use RDF with Jakarta Slide.

*How should the data be entered (With examples) that could then be
searched on with DASL searching and, for those that want it, with the
OAI/auto-metadata-searching technology. How should RDF be handled for
namespacing within Jakarta Slide.  I'm referencing
http://www.fedora.info as internally my company has been going back and
forth between Slide and Fedora.info and feature-wise Fedora was winning
:-(

*Sample on how to put together a DASL search on RDF-based metadata.

*Sample user interfaces that can take advantage of auto-property
identity for what values are available for searching (thinking more
generic, not necessarily RDF, but should consider RDF-based metadata as
well as Slide-namespace metadata).  The queryschema WebDAV tag is not
implemented as it is indeed optional/in discussion, but there is still
no mechanism to support identifying -what- can be searched on (maybe
just indexed properties?).

*And, for those that are knowledgable about RDF could also supply
optional-implementation for Dublin Core data within Jakarta Slide
(again, impementation/practical approach versus in-theory please).

Just a thought from a user...

-D


 

 -Original Message-
 From: Max Pfingsthorn [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 14, 2006 9:30 AM
 To: Slide Users Mailing List
 Subject: RE: Slide/Webdav and RDF...
 
 Hi!
 
 What is special about RDF values in properties? As far as I 
 know, you can put any text in a property, including xml (this 
 is special because IO is also in xml format). So you can 
 store something RDFish in a property. Would that take care of 
 your RDF idea? I'm not sure what you want to do with it..
 
 max
 
  -Original Message-
  From: Darren Hartford [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 14, 2006 14:34
  To: Slide Users Mailing List
  Subject: RE: Slide/Webdav and RDF...
  
  
  That is comforting that Slide supports RDF.  I'm still at a 
 lost as to 
  how to implement, does anyone have a working example?
  
  Thanks,
  -D
  
   -Original Message-
   From: Max Pfingsthorn [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, March 14, 2006 4:46 AM
   To: Slide Users Mailing List
   Subject: RE: Slide/Webdav and RDF...
   
   Hi!
   
   Erm, DAV:allprop/ in DAV:select/ should work for DASLs. 
   This would give you all defined properties, with the 
 exception of a 
   few like the versioning properties.
   
   max
   
  
  
 -
  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]



RE: Slide/Webdav and RDF...

2006-03-14 Thread Darren Hartford
That is comforting that Slide supports RDF.  I'm still at a lost as to
how to implement, does anyone have a working example?

Thanks,
-D 

 -Original Message-
 From: Max Pfingsthorn [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 14, 2006 4:46 AM
 To: Slide Users Mailing List
 Subject: RE: Slide/Webdav and RDF...
 
 Hi!
 
 Erm, DAV:allprop/ in DAV:select/ should work for DASLs. 
 This would give you all defined properties, with the 
 exception of a few like the versioning properties.
 
 max
 

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



RE: Question on Slide Functionality

2006-03-09 Thread Darren Hartford
Is it possible? Absolutely!!

Is there an application that already does this for Windows? Not that is
open source that I know of, but would be a great addition.

For an example, you should check out Oracle Drive's capabilities.  For a
custom Windows Desktop application, using the built-in .NET webdav
libraries (or, even better, the java-based jakarta-slide client libs)
you can create your own interactions and metadata requirements that can
then be stored in Slide.

-D

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 09, 2006 10:45 AM
 To: slide-user@jakarta.apache.org
 Subject: Question on Slide Functionality
 
 
 
 Hello, I'm exploring the possibility of using Slide for a 
 project to provide Windows desktop integration to a Content 
 Management system through WebDAV.  Is it possible to prompt 
 and/or capture metadata with the WebDav protocol and Slide 
 from Windows Desktop applications.  If so, any tips on 
 configuring this in Slide?
 
 
 -
 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]



Slide/Webdav and RDF...

2006-03-09 Thread Darren Hartford
I'm jumping into an area I don't have a lot of experience in, so please
forgive any ignorance on my part...

I would like to build a search client for one of my Slide stores using
WebDAV for communication, searching, and retrieving of metadata and
related files.  We have not defined how the metadata should be stored,
and that brings me up to the next subject.

A 'generic' search client using just DASL may not know what properties
are available to search by for a repository or a collection (i.e.
DAV:displayname, CUSTOMNS:address,CUSTOMNS:phone,
FAX:originatingnumber...would like to automatically display what
properties are available).  Would RDF-based metadata (RDF = Resource
Descriptive Framework) solve this problem, and if so, anyone have an
implementation they could provide as an example?

Thanks,
-D

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



RE: common practice of managing metadata with Slide

2006-03-08 Thread Darren Hartford
What you may want to do is create a new namespace to store a couple key
properties with your file's metadata, and have the properties be primary
keys into a database that has all the non-document-related information
(if the person changed their name, history tracker, etc).  

This does add another 'application' to the project, but this may help
keep it clean and separate the concerns between 'storing a document and
metadata' versus 'external needed information'.

Hope that helps!

-D 

 -Original Message-
 From: Lixin Chu [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 07, 2006 5:21 PM
 To: Slide Users Mailing List
 Subject: Re: common practice of managing metadata with Slide
 
 I am keen to see if Slide could manage everything for me. 
 Keeping folder and file metadata info in a DB is unnecessary.
 
 However, my concern arises when I think it again:
  You don't necessarily have to keep it in an external place.
Ideally yes. However, we typically need to keep a lot more 
 info with the user. For example, in the application I am 
 doing, we also need to keep user's org, dept, role, projects, 
 etc. Slide is ok to handle any type of data, but I am not 
 sure if it is a good idea to let Slide provide DB features, 
 such as indexing, sorting, etc.
 
 
 And also, customer is asking more and more doc management 
 features, one example is doc tracking - users can track the 
 doc and get notification when there is any changes. So now I 
 need to maintaine the doc-tracker many-to-many relationship. 
 Is it also ok to let Slide keep this information or better 
 keep it in a DB ?
 
 That's why I was thinking if I should keep metadata in a DB 
 and let Slide handle these:
  - file repository
  - lock/unlock
  - versioning and
  - full text search
 
 the rest will be handled by DB. but it is just not a clean 
 solution. still doing more investigation 
 
 thanks !
 

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



RE: NPE within slide-webdavclient (2.1)

2006-03-07 Thread Darren Hartford
I'm not sure, but maybe one of the devs may know if this is related to
http://issues.apache.org/bugzilla/show_bug.cgi?id=36551 , which already
has a patch?
-D 

 -Original Message-
 From: Juan Fuentes [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 07, 2006 7:42 AM
 To: slide-user@jakarta.apache.org
 Subject: NPE within slide-webdavclient (2.1)
 
 When trying WebDAVClient from slide-2.1, I get a 
 NullPointerException when running options. Other commands 
 work right, but options:
 
 
 c:\java\SLIDE\jakarta-slide-webdavclient-bin-2.1\binrun
 [ Slide ] $ options http://localhost:8080/slide
 options http://localhost:8080/slide
 Fatal Error: null
 java.lang.NullPointerException
  at org.apache.webdav.cmd.Client.options(Client.java:374)
  at 
 org.apache.webdav.cmd.ClientParser.optionsmethod(ClientParser.java:73
 5)
  at 
 org.apache.webdav.cmd.ClientParser.command(ClientParser.java:256)
  at 
 org.apache.webdav.cmd.ClientParser.commands(ClientParser.java:178)
  at org.apache.webdav.cmd.Client.run(Client.java:112)
  at org.apache.webdav.cmd.Slide.main(Slide.java:96)
 Please, email to slide-user@jakarta.apache.org
 
 
 -
 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: Projector...

2006-03-07 Thread Darren Hartford
Has anyone been able to get a Projector demo up and running and could
share the instructions or a bundle please?  Like to evaluate what
already exists versus start creating from scratch ;-)

-D 

 -Original Message-
 From: Daniel Florey [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, February 28, 2006 3:49 AM
 To: Slide Users Mailing List
 Subject: RE: Projector...
 
 
 Hi,
 I'll try to have a look at this issue on the weekend. 
 Hopefully I can post instructions how to get the demo app 
 running. But can't promise...
 Cheers,
 Daniel
 
 Slide Users Mailing List slide-user@jakarta.apache.org 
 schrieb am 27.02.06 22:48:15:
  
  Maybe I should be more precise in what I've tried so far:
  
  *I've grabbed a SVN snapshot
  *built jakarta slide with 'ant webapp'
  *placed the dist/webapp/slide.war in a Tomcat 5.0.28 container.
  *tested http://localhost:8080/slide/files and this works fine.
  
  *in SVN, went down to 'projector'.
  *built it with 'ant webapp'
  *placed the projector/dist/webapp/projector.war in the same Tomcat
  5.0.28 container.
  
  --at this point, if you run, it complains about not finding 
  '../slide/projector.xml'.
  
  *copied from SVN/projector/src/conf/projector.xml to 
  $TOMCAT_HOME/slide/projector.xml (the ../slide is from 'bin').
  
  --the complains about not finding any applications
  
  *This is where I was getting confused...uncompressed the 
  SVN/projector/src/content/store.zip, then place the 'store' 
 directory 
  directly over the 'store' directory in 
 $TOMCAT_HOME/webapp/slide/store.
  
  Am I going the wrong way?
  
  -D
  
   -Original Message-
   From: Darren Hartford [mailto:[EMAIL PROTECTED]
   Sent: Monday, February 27, 2006 4:34 PM
   To: Slide Users Mailing List
   Subject: Projector...
   
   Speaking of client-based WebDAV access...in the last year 
 and a half 
   I've been watching Slide, I haven't been able to get a 
 demo of the 
   Projector up and running.
   
   If someone has gotten Projector running, could you share 
 a bundle or 
   give detailed instructions?
   
   Thanks,
   -D
   
   
 
   - 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]
  
 
 
 __
 
 Erweitern Sie FreeMail zu einem noch leistungsstarkeren 
 E-Mail-Postfach!  
 Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
 
 
 -
 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: Slide and external JAAS modules

2006-03-03 Thread Darren Hartford
I've stepped closer - the '403 not authorized' for
http://localhost:8080/slide/files with the default ACL was a
misconfiguration of the JAAS module (and, for reference, could also be a
web.xml security-constraint problem in identifying roles that your
JAAS subject contains).  This part is now working fine.

I would like some direction regarding how to establish an ACL using
roles from the JAAS module (web.xml is easy, it's the domain.xml ACL
that I need help). 

Note that auto-create-* continues the behavior of not creating
/slide/user/* or /slide/role/* metadata records.

-D

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 02, 2006 8:41 AM
 To: slide-user@jakarta.apache.org
 Subject: Slide and external JAAS modules
 
 Hey all,
 I'm still evaluating Slide based on some requirements. One of 
 the requirements is to use an external system for 
 authentication/authorization (authorization as in getting 
 roles), but still maintain the fine-grain ACL security built 
 into Slide. Forgive the length, but I don't want to miss 
 anything that might be relevant to the questions below. 
 ==
 Can anyone share any stories, or preferably, examples of 
 successful implementation of Slide using external JAAS modules?
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg0
 8654.html
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg1
 1675.html
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg1
 1589.html
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg0
 8546.html
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg1
 1499.html
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg0
 8310.html
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg0
 7984.html
 
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg0
 7964.html
 
 Ones that clearly re-state similar challenge:
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg0
 8450.html
 http://www.mail-archive.com/slide-user@jakarta.apache.org/msg0
 7964.html
 
 
 So far, this is a skeleton that closly resembles the 
 http://jakarta.apache.org/slide/howto-jaas.html but puts some 
 missing or assumed pieces together:
 =
 *Compile a JAAS-enabled version of Slide ('ant webapp-jaas-dist').
 
 *Copy the dist/webapp/slide.war (which should have the slide-jaas JAR
 included) to Tomcat container. Tomcat 5.5 has unresolved JAAS 
 issues according to the mailing list, so sticking with 5.0.28.
 
 *Create or copy an existing jaas.conf file - must use the realm name
 'slide_login':
 slide_login {
 com.somecompany.security.auth.module.MyCustomLoginModule required
 option1=false
 option2=true;
 };
 
 *??Where to put the libraries for custom LoginModules?  
 According to http://jakarta.apache.org/slide/howto-jaas.html 
 doesn't seem to matter, but a recommended location would be 
 preferred.  I've been using the $TOMCAT_HOME/common/lib directory.
 
 
 *Modify the Tomcat server.xml per
 http://jakarta.apache.org/slide/howto-jaas.html EXACTLY, but 
 watch for location (engine versus host, etc):
   Realm className=org.apache.catalina.realm.JAASRealm
  appName=slide_login 
  userClassNames=org.apache.slide.jaas.spi.SlidePrincipal 
  roleClassNames=org.apache.slide.jaas.spi.SlideRole 
  debug=99
  useContextClassLoader=false
   /
 
 *Modify startup.bat/startup.sh scripts to add commandline 
 option to point to config:
 -Djava.security.auth.login.config=path-to-jaas.config
 
 *Modify the slide.war web.xml security-constraints with the 
 appropriate roles coming from your custom JAAS login module.
 
 *Modify your domain.xml with auto-* tags namespace
   definition
   ...
   /definition
   configuration
   ...
   auto-create-userstrue/auto-create-users
   auto-create-users-roletrue/auto-create-users-role
   /configuration
 
 *??How do you modify per-store ACL's in domain.xml with the 
 new roles from the JAAS login modules? Or, with the 
 auto-create, does the roles get re-populated into the /roles/ 
 path and simply follow the existing examples?
 =
 
 The questions.  
 
 ? - I can authenticate, but I get 403 not authorized when 
 trying to view any items, even though my LoginModule roles 
 match the roles defined in web.xml security-constraints. 
 I've tested this with the usernames/passwords from my 
 LoginModule, and incorrect passwords fail while correct 
 passwords get 403.  What am I missing? I'm not sure how to 
 configure the ACL's...
 
 ? - The auto-create-users does NOT create any users in the 
 /slide/users path (nor in the store/content/metadata/users folder).
 
 ? - The auto-create-users-role 'documentation' gave varying 
 examples, one was 'true', another was 
 'slideroles.basic.UserRoleImpl', and supposedly is not 
 required as there is a default

[correction] RE: Slide and external JAAS modules

2006-03-03 Thread Darren Hartford
auto-create-* is creating /slide/user/* in my environment, and is,
per-documentation, setting the user as an objectnode of:
classname=slideroles.basic.UserRoleImpl  
Which, to my knowledge, simply extends SubjectNode with no other values.

The roles from the JAAS module are ONLY USED FOR THE web.xml
security-constraint!  Everything else must be manually configured with
the existing or manually-defined roles in slide and users must be part
of the property name=group-member-set CDATA values from domain.xml
in order to particpate in the RBAC-based ACL.

Has anyone extended the SubjectNode or the UserRoleImpl with additional
behaviour based on role values from JAAS?

-D


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



Slide and external JAAS modules

2006-03-02 Thread Darren Hartford
Hey all,
I'm still evaluating Slide based on some requirements. One of the
requirements is to use an external system for
authentication/authorization (authorization as in getting roles), but
still maintain the fine-grain ACL security built into Slide. Forgive the
length, but I don't want to miss anything that might be relevant to the
questions below. 
==
Can anyone share any stories, or preferably, examples of successful
implementation of Slide using external JAAS modules?

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg08654.html

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg11675.html

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg11589.html

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg08546.html

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg11499.html

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg08310.html

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg07984.html

http://www.mail-archive.com/slide-user@jakarta.apache.org/msg07964.html

Ones that clearly re-state similar challenge:
http://www.mail-archive.com/slide-user@jakarta.apache.org/msg08450.html
http://www.mail-archive.com/slide-user@jakarta.apache.org/msg07964.html


So far, this is a skeleton that closly resembles the
http://jakarta.apache.org/slide/howto-jaas.html but puts some missing or
assumed pieces together:
=
*Compile a JAAS-enabled version of Slide ('ant webapp-jaas-dist').

*Copy the dist/webapp/slide.war (which should have the slide-jaas JAR
included) to Tomcat container. Tomcat 5.5 has unresolved JAAS issues
according to the mailing list, so sticking with 5.0.28.

*Create or copy an existing jaas.conf file - must use the realm name
'slide_login':
slide_login {
com.somecompany.security.auth.module.MyCustomLoginModule required
option1=false
option2=true;
};

*??Where to put the libraries for custom LoginModules?  According to
http://jakarta.apache.org/slide/howto-jaas.html doesn't seem to matter,
but a recommended location would be preferred.  I've been using the
$TOMCAT_HOME/common/lib directory.


*Modify the Tomcat server.xml per
http://jakarta.apache.org/slide/howto-jaas.html EXACTLY, but watch for
location (engine versus host, etc):
  Realm className=org.apache.catalina.realm.JAASRealm
 appName=slide_login 
 userClassNames=org.apache.slide.jaas.spi.SlidePrincipal 
 roleClassNames=org.apache.slide.jaas.spi.SlideRole 
 debug=99
 useContextClassLoader=false
  /

*Modify startup.bat/startup.sh scripts to add commandline option to
point to config:
-Djava.security.auth.login.config=path-to-jaas.config

*Modify the slide.war web.xml security-constraints with the
appropriate roles coming from your custom JAAS login module.

*Modify your domain.xml with auto-* tags
namespace
definition
...
/definition
  configuration
  ...
  auto-create-userstrue/auto-create-users
  auto-create-users-roletrue/auto-create-users-role
  /configuration

*??How do you modify per-store ACL's in domain.xml with the new roles
from the JAAS login modules? Or, with the auto-create, does the roles
get re-populated into the /roles/ path and simply follow the existing
examples?
=

The questions.  

? - I can authenticate, but I get 403 not authorized when trying to view
any items, even though my LoginModule roles match the roles defined in
web.xml security-constraints. I've tested this with the
usernames/passwords from my LoginModule, and incorrect passwords fail
while correct passwords get 403.  What am I missing? I'm not sure how to
configure the ACL's...

? - The auto-create-users does NOT create any users in the
/slide/users path (nor in the store/content/metadata/users folder).

? - The auto-create-users-role 'documentation' gave varying examples,
one was 'true', another was 'slideroles.basic.UserRoleImpl', and
supposedly is not required as there is a default if auto-create-users
is enabled but auto-create-users-roles is not defined. Tried all of
these options, none of which seemed to do anything (no new /slide/roles
or store/content/metadata/roles folder...and since there are no new
users files no changes there). I would *prefer* Slide simply used the
roles passed from the LoginModule (and allow me to change with web.xml
link-ref's) versus explicily creating a single,defined role for every
new user.


Environment - Win2000 and WinXP test, basic Fedora4 tests, Tomcat 5.0.28
with Sun JDK5, SVN-snapshot of 2/27/2006, built with 'ant
webapp-jaas-dist' modified only as above (everything else is as-is).

Again, sorry for the length but wanted to make sure I'm not missing
anything. This is a very important feature for enterprise usage.

Thanks,
-D







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

RE: WebDAV - getting resource content type

2006-03-02 Thread Darren Hartford
In the DAV namespace of searching, there is a property called
'getcontenttype' that is auto-detected in the default install of Slide
2.2pre, unsure about the 2.1 binary.

property name=getcontenttype namespace=DAV:
value=application/msword type= protected=false / 

This is contained in the metadata about the file that is returned from a
DASL search. Is this what you are looking for?

-D

 -Original Message-
 From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 02, 2006 9:59 AM
 To: slide-user@jakarta.apache.org
 Subject: WebDAV - getting resource content type
 
 Is it possible to return MIME-type of resource? I mean 
 text/html,application/msword etc. 
 Right now content type is always set to application/octet-stream.
 
 --
 Eugene N Dzhurinsky
 
 -
 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: WebDAV - getting resource content type

2006-03-02 Thread Darren Hartford
If you are talking about going to http://localhost:8080/slide/files and
having it automatically open a Word doc, sorry, can't help.

If you have a custom application that the user is using (talking WebDAV,
the WCK, or using Projector), you can obtain those Metadata properties
(how to is dependent on which API you are using) like you would normally
and use that property to help set the stream-type.
 -D

 -Original Message-
 From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 02, 2006 11:43 AM
 To: slide-user@jakarta.apache.org
 Subject: Re: WebDAV - getting resource content type
 
 On Thu, Mar 02, 2006 at 11:26:47AM -0500, Darren Hartford wrote:
  In the DAV namespace of searching, there is a property called 
  'getcontenttype' that is auto-detected in the default 
 install of Slide 
  2.2pre, unsure about the 2.1 binary.
  
  property name=getcontenttype namespace=DAV:
  value=application/msword type= protected=false /
  
  This is contained in the metadata about the file that is 
 returned from 
  a DASL search. Is this what you are looking for?
 
 Well, not sure, I just need to allow users view MS Word 
 documents, for example, just by clicking document in Internet 
 Explorer when browsing directory.
 
 Also, could you pelase provide configuration example with 
 this property defined? I don't know where to specify it...
 
 --
 Eugene N Dzhurinsky
 
 -
 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: WebDAV - getting resource content type

2006-03-02 Thread Darren Hartford
Or, the third option pending your use-case, is with WinXP clients only
(win2000 is insufficient) you can mount it as a webfolder:
http://jakarta.apache.org/slide/xp.html 

This will open the document with Word if MS Office is installed on that
computer.

-D

  
  Well, not sure, I just need to allow users view MS Word 
 documents, for 
  example, just by clicking document in Internet Explorer 
 when browsing 
  directory.
  
  Also, could you pelase provide configuration example with this 
  property defined? I don't know where to specify it...
  
  --
  Eugene N Dzhurinsky
  
  
 -
  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]



Projector...

2006-02-27 Thread Darren Hartford
Speaking of client-based WebDAV access...in the last year and a half
I've been watching Slide, I haven't been able to get a demo of the
Projector up and running.

If someone has gotten Projector running, could you share a bundle or
give detailed instructions?

Thanks,
-D

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



RE: Projector...

2006-02-27 Thread Darren Hartford
Maybe I should be more precise in what I've tried so far:

*I've grabbed a SVN snapshot
*built jakarta slide with 'ant webapp'
*placed the dist/webapp/slide.war in a Tomcat 5.0.28 container.
*tested http://localhost:8080/slide/files and this works fine.

*in SVN, went down to 'projector'.
*built it with 'ant webapp'
*placed the projector/dist/webapp/projector.war in the same Tomcat
5.0.28 container.

--at this point, if you run, it complains about not finding
'../slide/projector.xml'.

*copied from SVN/projector/src/conf/projector.xml to
$TOMCAT_HOME/slide/projector.xml (the ../slide is from 'bin').

--the complains about not finding any applications

*This is where I was getting confused...uncompressed the
SVN/projector/src/content/store.zip, then place the 'store' directory
directly over the 'store' directory in $TOMCAT_HOME/webapp/slide/store.

Am I going the wrong way?

-D

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Monday, February 27, 2006 4:34 PM
 To: Slide Users Mailing List
 Subject: Projector...
 
 Speaking of client-based WebDAV access...in the last year and 
 a half I've been watching Slide, I haven't been able to get a 
 demo of the Projector up and running.
 
 If someone has gotten Projector running, could you share a 
 bundle or give detailed instructions?
 
 Thanks,
 -D
 
 -
 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]



Bug? - Exposed WebDAV share (Win2000/XP network share)

2006-02-24 Thread Darren Hartford
Unfortunately, with the slide-2.1 tomcat-5.0.28 pre-bundle package
out-of-the-box, I get the following error:

=
Feb 24, 2006 8:33:17 AM org.apache.catalina.realm.JAASRealm authenticate
WARNING: Login exception authenticating username null
javax.security.auth.login.LoginException: No user name entered
at
org.apache.slide.jaas.spi.SlideLoginModule.login(SlideLoginModule.java:1
60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at
javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at
org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:316)
at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicA
uthenticator.java:129)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:504)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:595)
==

I can browse to http://localhost:8080/slide/files and use the default
username/password fine.  When I try to network share and setup a
webfolder, the server sends me this error (even after entering the
default username/password when prompted from the webfolder).  This was
from a win2000 desktop.

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



Exposed WebDAV share (Win2000/XP network share)

2006-02-23 Thread Darren Hartford
Hopefully this is a simple question and answer.  If a repository/store
is exposed and mounted as a network share, can someone open a Word
document from that share, modify it, and then save the result back to
the repository/store?

-D

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



Example/howto reference for webdav queries?

2006-02-15 Thread Darren Hartford
Hey all,
First, are all webdav queries the same for different webdav servers?
i.e., for Jakarta Slide this example works, but does it work for other
webdav servers:

D:searchrequest xmlns:D=\DAV:\ +
D:basicsearch +
D:select +
D:allprop/ +
/D:select +
D:from +
   D:scope +

D:href/slide/teststore/D:href +
   D:depthinfinity/D:depth +
   /D:scope +
   /D:from +
   D:where +
   D:eq +

D:propD:displayname//D:prop +
   D:literalHSM.doc/D:literal
+
   /D:eq +
   /D:where +
   /D:basicsearch +
/D:searchrequest;

Second, whether a webdav query is the same for all webdav servers, or
this is Slide-specific, where is there a good reference for this query
structure?

Forgive my ignorance, just trying to learn me something ;-)

-D

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



A way to exclude directory and file listing?

2005-10-27 Thread Darren Hartford
Hello all,
I have a scenario where I am trying to webDAV enable roughly 200,000
files and 5,000 directories in a test-scenario and, well, certain
circumstances are pretty much ending the tests - when someone tries to
do a listing when there is a large count of objects.  

Is there a way to disable directory/file listing and only allow DASL
searching and direct-file retrievals?  Or are the directory/file
listings underneath just 'wildcard' DASL searches that there could be a
limit applied to?

Thanks,
-D

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



RE: Problem with SimpleFileStore

2005-10-26 Thread Darren Hartford
Does anyone of an example domain.xml on how to use SimpleFileStore?

-D

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



AW: Problem with SimpleFileStore

2005-10-26 Thread Darren Hartford
Nvm, Alon had an example in the SimpleFileStore.java sourcecode:

   * SimpleFileStore needs to be deployed with implementations of
LockStore and SecurityStore.
   * A sample Domain.xml entry looks like:
   * p
   * pre
   *  lt;store name=simple
   *  lt;nodestore
classname=org.apache.slide.store.file.SimpleFileStore
   *  lt;parameter
name=rootpathwebapps/slidespace/fileslt;/parameter
   *  lt;/nodestore
   *  lt;contentstore
   *lt;reference store=nodestore/
   *  lt;/contentstore
   *  lt;revisiondescriptorsstore
   *lt;reference store=nodestore/
   *  lt;/revisiondescriptorsstore
   *  lt;revisiondescriptorstore
   *lt;reference store=nodestore/
   *  lt;/revisiondescriptorstore
   *  lt;securitystore
classname=org.apache.slide.store.mem.TransientSecurityStore/
   *  lt;lockstore
classname=org.apache.slide.store.mem.TransientLockStore/
   *  lt;/store
   *  lt;scope match=/simple store=simple/
   * /pre
   *
   * @author Alon Salant

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



RE: Problem with SimpleFileStore

2005-10-26 Thread Darren Hartford
Confirmed SimpleFileStore problem and verify Michael's find regarding
the resourcetype being the identified problem.

SimpleFileStore.java
=
  /**
   * Set resourceType to collection/ for folders and set the
contentLength for files.
   * Also set created and modified dates.
   */
  public NodeRevisionDescriptor retrieveRevisionDescriptor(Uri uri,
 
NodeRevisionNumber revisionNumber)
throws ServiceAccessException, RevisionDescriptorNotFoundException
  {
log(retrieveRevisionDescriptor( + uri + ));
File file = getFile(uri);
if (!file.exists()) throw new
RevisionDescriptorNotFoundException(uri.toString());

NodeRevisionDescriptor descriptor = new NodeRevisionDescriptor(new
NodeRevisionNumber(1, 0),
 
NodeRevisionDescriptors.MAIN_BRANCH);
descriptor.setCreationDate(new Date(file.lastModified()));
descriptor.setLastModified(descriptor.getCreationDateAsDate());
descriptor.setModificationDate(descriptor.getCreationDateAsDate());
if (file.isDirectory())
{
  descriptor.setResourceType(COLLECTION_TYPE);
}
else
{
/* 10/26/2006 DRH  setResourceType null if not directory */
  descriptor.setResourceType(null);
  descriptor.setContentLength(file.length());
}
return descriptor;
  }
==

This seems to be working fine and as expected now, Thanks Michael!

-D

 -Original Message-
 From: Michael Perkonigg [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 31, 2005 12:48 PM
 To: Slide Users Mailing List
 Subject: Re: Problem with SimpleFileStore
 
 Michael Perkonigg wrote:
 
 Hello,
 
 I am using a SimpleFileStore for my logs but if I create a file and 
 have a look at it with i.e. DAV Explorer it seems that slide 
 thinks it 
 is a directory (or collection, spoken in slide terms).
 It shows some size on it though, but if I try to read it like a file 
 slide hiccups with some error.
 'Item License.txt found. But it is not a file.'
 This happens if I try to read a file but get a directory instead.
 
 If anyone has a suggestion what to try, I would be very happy.
 
 Thanks,
 Mike
   
 
 And I found the problem to this also.
 It seems that the SimpleFileStore sets the resourcetype 
 property to collection/ if it is a directory but does 
 nothing if it is a file.
 This should be correct if the resourcetype is null initially, 
 but it don't work this way.
 I created my own SimpleFileStore which sets the resourcetype 
 to null if it is a file and now it works.
 
 Regards,
 Mike
 
 
 -
 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]



Speed using commons-vfs http/webdav with specific file retrieval

2005-10-26 Thread Darren Hartford
Does anyone have any thoughts on this?

I'm using apache commons-vfs, and testing with a SimpleFileStore through
http://localhost:8080/slide/files/myfile.txt.

When using 'http' fileaccess type through commons-vfs, its approximately
100ms FASTER than using the 'webdav' fileaccess type through commons-vfs
(pointing to the same server and same file) - tested about 10 times each
filetype, swapping back and forth to avoid caching/other things that
might deskew results.  This is with a *specified file request* and
retrieval, not DASL/searches.

If nothing else, just something for integrators to be aware of! :-)

-D

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



Slide.SDA feedback pls - useful/contributor interest?

2005-10-21 Thread Darren Hartford
Hello all,
I've been on the Slide list for a while, and have a couple of
applications that use Slide in one fashion or another.  I've seen many
posts of users (i.e. people who want to use the software) sometimes have
difficulty with, at times, is very complex configuration and custom
coding.

I would like some feedback if there are users and
developers/contributors that may be interested in a sub-project that
would be an example application use of Jakarta Slide.

http://wiki.apache.org/jakarta-slide/Slide%2eSDA

I am *not* a committer for Apache/Jakarta-Slide, and would recommend
moving this sub-project to Sourceforge to help gain momentum until we
have a working example application using the Jakarta-Slide library
before submiting back to Apache as a Jakarta-Slide subproject.

Let me know your thoughts!

-D

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



RE: Store object

2005-05-26 Thread Darren Hartford
Sounds like your looking for an object-oriented database (storing java
objects).  Check out ozone-db, intersystems cache, db4o, and similar
systems if that is your intent.

If you are looking to use Slide for storing files, recommend you look
into using the WebDAV interface instead of the direct Slide API, or the
WCK (http://jakarta.apache.org/slide/wck.html), and maybe read some of
the website to understand where 'Slide' may fit in.

As for the actual example, it lookes like the 'data' parameter is in
this example an XML data file, per why it's a String?

-D


 -Original Message-
 From: Guillaume Chervet [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 26, 2005 7:37 AM
 To: slide-user@jakarta.apache.org
 Subject: Store object
 
 Hello,
 
 Do you know where I can find more informations about slide? I 
 don't understand the store system. I am using 
 (org.apache.slide.content) but I don't find how to store some 
 java objects. I can store String object using this example 
 http://wiki.apache.org/jakarta-slide/Sample_API_application, 
 but nothing more.
 Do you know how it works?
 
 Thanks
 
 Guillaume
 
  Disclaimer, Security  Viruses :
 ==
 ===
  This email is confidential and intended solely for the use 
 of the individual to whom it is addressed. Any views or 
 opinions presented are solely those of the author and do not 
 necessarily represent those of Result Group Ltd. If you are 
 not the intended recipient, be advised that you have received 
 this email in error and that any use, dissemination, 
 forwarding, printing,or copying of this email is strictly prohibited.
 
  If you have received this email in error please notify the 
 sender by reply or by telephone on +44 (0)1422 327000.
 
  Please note that this e-mail has been created in the 
 knowledge that the Internet e-mail is not a 100% secure 
 communications medium.
  We advise that you understand and observe this lack of 
 security when e-mailing us.
 
  Although we have taken steps to ensure that this e-mail and 
 attachments are free from any virus, we advise that in 
 keeping with good computing practice the recipient is 
 responsible for ensuring they are actually virus free.
 ==
 ===
 
 
 -
 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]



[OT] WebDAV access to Exchange?

2005-05-24 Thread Darren Hartford
This is definitely off-topic for jakarta-slide, but within the domain of
WebDAV.  Does anyone have any pointers, experience, or know of any
projects that use WebDAV (preferably via Java) to talk to the
Calendaring/Scheduling component of Exchange2000/2003?

* Free/Busy schedules.
* Sending appointment request.
* Checking on/receiving appointment acceptance.

TIA, I know this is way off-topic, but you guys usually are on-the-ball
with WebDAV knowledge.

-D

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



RE: Re: Problems integrating Slide

2005-05-23 Thread Darren Hartford
When deploying the slide servlet (or most standard servlets for that
case), the second part of your URL/webdav request should be the same as
the WAR name.  i.e. slide.war = http://localhost:8080/slide, while
SLIDE2.war is http://localhost:8080/SLIDE2.

The rest of the URL for the requests are defined in slide's domain.xml
file under the objectnode sections, specifically the 'uri' attribute.

Hope that helps, it took me a bit to understand the second piece on my
own.

-D

 -Original Message-
 From: Brandon Dove [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 19, 2005 1:08 AM
 To: Srinivas Rao
 Subject: Re: Re: Problems integrating Slide
 
 Well I've figured out *my* problem. I changed the servlet 
 mapping from the default to:
 
 /slide 
 
 when it should have been:
 
 /slide/*
 
 I can now store/retrieve content from the /files subdirectory.
 
 Cheers,
 
 Brandon
 
 
 
 

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



RE: multi-store setup just won't work

2005-04-05 Thread Darren Hartford
Hi Edmund,
Did you configure your objectnode for access the /log scope? 

i.e.:
   objectnode
classname=org.apache.slide.structure.SubjectNode uri=/log
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


http://wiki.apache.org/jakarta-slide/MultiStoreConfig
-D

 -Original Message-
 From: Edmund Urbani [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 05, 2005 3:37 AM
 To: Slide Users Mailing List
 Subject: multi-store setup just won't work
 
 
 I've been trying to configure a second store on my slide 
 server. Console output on the server side looks OK, but I 
 just can't access my second store.
 
 The URL for the root store tx is webdav://localhost:8080/slide/
 
 Now, shouldn't the store log have 
 webdav://localhost:8080/slide/log/ ?
 I only get a 404 error for that URL.
 
 Here's the definition part of my Domain.xml. The store log 
 is exactly the same as the standard tx
 store, except for the paths.
 
 definition
  store name=tx
   ... (default config)
  /store
 
  store name=log
  nodestore 
 classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
  parameter 
 name=rootpath${filespath}access-log/store/metadata/parameter
  parameter 
 name=workpath${filespath}access-log/work/metadata/parameter
  parameter name=defer-savingtrue/parameter
  parameter name=timeout120/parameter
  /nodestore
  sequencestore 
 classname=org.apache.slide.store.txfile.FileSequenceStore
  parameter 
 name=rootpath${filespath}access-log/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=rootpath${filespath}access-log/store/content/parameter
  parameter 
 name=workpath${filespath}access-log/work/content/parameter
  parameter name=defer-savingtrue/parameter
  parameter name=timeout120/parameter
  /contentstore
  /store
 
  scope match=/log store=log/
  scope match=/ store=tx/
  /definition
 
 Is something wrong with the scope ../ elements?
 In case their order matters - I tried switching them. no effect.
 
   Edmund
 
 
 -
 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: Optical/RO Stores with Slide?

2005-04-04 Thread Darren Hartford
Hi Miguel,
Thank you for your input.  Unfortunately, I already considered the
transaction-nature of these stores, and the work/'metadata' and
work/'content' related directories are still on regular filesystem, not
pointing to the read-only CD/DVD.

Example:
parameter name=rootpathe:/kbstore/metadata/parameter
parameter name=workpathwork/metadata2/parameter

This is where e:/ is the CD drive, and 'work' is still the relative BIN
path of Tomcat with r/w access.

Unfortunately, one of the concerns is that I purposely want to keep the
DAV properties metadata that is stored via TxXMLFileDescriptorsStore. I
think SimpleStore only handles files/content, not the metadata.  And I
do not know of any metadata stores that can read the files generated by
TxXMLFileDescriptorsStore.

Hopefully I'm wrong?  Any feedback please!

-D

 

 -Original Message-
 From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
 Sent: Monday, April 04, 2005 6:39 AM
 To: 'Slide Users Mailing List'
 Subject: RE: Optical/RO Stores with Slide?
 
 
 Hello Darren,
 
  I believe you are having read-only problems. First of all, 
 stores should have read-write access or strange things might 
 happen. In your case, I bet that the domain.xml file is 
 pointing to the transient files (like transaction 
 information) also know as the 'work' directory, to the same 
 base directory of the 'store' directory. This would explain 
 the error you describe.
  The solution is to define very well these store parameters 
 (presented here is the default conf of domain.xml):
 
 parameter 
 name=rootpathstore/metadata/parameter
 parameter 
 name=workpathwork/metadata/parameter
 
  I don't know how you could do it but: what you want is the 
 rootpath in the DVD, but you need the workpath with write 
 access for accessing the roothpath through slide.
 
  I believe there are also simpler file stores, that don't 
 need to store transient files (SimpleStore rings me a bell). 
 Perhaps is good spot for you to search also.
 
  Hope this helps,
  Miguel Figueiredo
 

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



RE: Optical/RO Stores with Slide?

2005-04-04 Thread Darren Hartford
The error is related to accessing the root path's location of the
files.def.xml for that store (or instead of 'files', the
sub-store/collection name).

i.e. the error happens when reading e:\mycdstore\metadata\files.def.xml
as pointed to by the rootpath.  The workpath is never mentioned, nor
would it makes sense for the work directory to point to a read-only
location (the workpath points to r/w local access within the bin
directory of Tomcat).

Note the error is from 'FileOutputStream'.

01 Apr 2005 16:52:23 - org.apache.slide.common.Namespace - INFO - Finish
init namespace slide configuration
01 Apr 2005 16:52:23 -
org.apache.commons.transaction.file.FileResourceManager - EMERGENCY -
Fatal error during critical commit/rollback of transaction main-111
2392342717-1, setting database to dirty.
01 Apr 2005 16:52:23 -
org.apache.commons.transaction.file.FileResourceManager - EMERGENCY -
org.apache.commons.transaction.file.ResourceManagerSystemException:
main-1112392342717-1: Commit failed (ERR_SYSTEM) Caused by:
java.io.FileNotFoundException:
e:\mycdstore\metadata\files.def.xml (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)
at java.io.FileOutputStream.init(FileOutputStream.java:131)
 

 -Original Message-
 From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
 Sent: Monday, April 04, 2005 7:43 AM
 To: 'Slide Users Mailing List'
 Subject: RE: Optical/RO Stores with Slide?
 
 
  Hello Darren,
 
  I don't know if it is that simple as your configuration seems to be.
 Anyway, could you try and add the drive letter for the workpath also?
 Perhaps it gives a different error :)
 
  Best regards,
  Miguel
 
 
 

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



AW: Optical/RO Stores with Slide?

2005-04-04 Thread Darren Hartford
Created new bug # 34286.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34286

Also reference bug # 31756 that may or may not help related to this
problem.

Please add any comments, suggestions, or good/bad idea to the above bug
#'s to keep it easily referenced for the developers.
-D

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Friday, April 01, 2005 5:02 PM
 To: Slide Users Mailing List
 Subject: Optical/RO Stores with Slide?
 
 Hey all,
 I have been utilizing the TxXMLFileDescriptorsStore, 
 TxFileContentStore to save my files.
 
 Now, I want to safely save a store and burn it to CD/DVD, so 
 I do not need to worry about viruses/corruption.
 
 How do I do this?  When I burn the 'content' and 'metadata' 
 files to CD, and point the domain.xml store to the new 
 location of 'content' and 'metadata', it comes back with the 
 following error:
 
 01 Apr 2005 16:52:23 - org.apache.slide.common.Namespace - 
 INFO - Finish init namespace slide configuration
 01 Apr 2005 16:52:23 -
 org.apache.commons.transaction.file.FileResourceManager - 
 EMERGENCY - Fatal error during critical commit/rollback of 
 transaction main-111 2392342717-1, setting database to dirty.
 01 Apr 2005 16:52:23 -
 org.apache.commons.transaction.file.FileResourceManager - EMERGENCY -
 org.apache.commons.transaction.file.ResourceManagerSystemException:
 main-1112392342717-1: Commit failed (ERR_SYSTEM) Caused by: 
 java.io.FileNotFoundException:
 e:\mycdstore\metadata\files.def.xml (Access is denied)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.init(FileOutputStream.java:179)
 at java.io.FileOutputStream.init(FileOutputStream.java:131)
 
 
 Any recommendations please?
 
 -D
 
 -
 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]



Optical/RO Stores with Slide?

2005-04-01 Thread Darren Hartford
Hey all,
I have been utilizing the TxXMLFileDescriptorsStore, TxFileContentStore
to save my files.

Now, I want to safely save a store and burn it to CD/DVD, so I do not
need to worry about viruses/corruption.

How do I do this?  When I burn the 'content' and 'metadata' files to CD,
and point the domain.xml store to the new location of 'content' and
'metadata', it comes back with the following error:

01 Apr 2005 16:52:23 - org.apache.slide.common.Namespace - INFO - Finish
init namespace slide configuration
01 Apr 2005 16:52:23 -
org.apache.commons.transaction.file.FileResourceManager - EMERGENCY -
Fatal error during critical commit/rollback of transaction main-111
2392342717-1, setting database to dirty.
01 Apr 2005 16:52:23 -
org.apache.commons.transaction.file.FileResourceManager - EMERGENCY -
org.apache.commons.transaction.file.ResourceManagerSystemException:
main-1112392342717-1: Commit failed (ERR_SYSTEM)
Caused by: java.io.FileNotFoundException:
e:\mycdstore\metadata\files.def.xml (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)
at java.io.FileOutputStream.init(FileOutputStream.java:131)


Any recommendations please?

-D

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



RE: Best Practice to disassemble a large Store [w/ WCK]?

2005-03-29 Thread Darren Hartford
In attempting to break down a large Store into several smaller stores,
here is what I have found:

*Have not had success with the Slide commandline client (may just be
ignorance and not understand the documentation on how to use this tool
for this function).

*Have had success with DAVExplorer as a generic WebDAV GUI copy/moving
objects between stores -- but manual process.

*Looked at the Slide ANT tasks, these may or may not work, but need a
way to programatically identify (i.e. logically separate) which files
should be moved.

*Based on the assumption that Slide 2.2 will have WCK support/MacroStore
support built into the binary release, started working with the WCK kit.

I have gotten this far in using WCK utilizing the Macro Move/Copy
methods, but I'm assuming that the 'begin' method is where everything
gets setup, and I do not understand the usage of the 'begin' method as
far as what is usually passed to it:

[code]
//need WCK, slide-kernel.jar, and commons-transaction (and probably also
geronimo-jta)
WebdavFileStore wfs = new WebdavFileStore();

//Service, Principal, Object, LoggerFacade, Hashtable
wfs.begin(new ExtendedStore(),null,null,null,null);

//String sourceUri, String targetUri, boolean overwrite, boolean
recursive
String sourceUri = http://localhost:8080/slide/files/;;
String targetUri = http://localhost:8080/slide/files2/;;
boolean overwrite = true;
boolean recursive = true;

wfs.macroCopy(sourceUri, targetUri, overwrite, recursive);
wfs.commit(); //not utilized in WebdavFileStore, but good to keep
just-in-case.
[/code] 

I've looked at the WCK Wiki page and the API, but I'm just not smart
enough I guess ;-)

Slide 2.2pre1 CVS build (webapp dist), same CVS build of WCK with
macrostore support, on tomcat 5.0.28 and java 1.4.2.

-D

 -Original Message-
 From: Darren Hartford [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 24, 2005 11:36 AM
 To: Slide Users Mailing List
 Subject: Best Practice to disassemble a large Store?
 
 Hey all,
 Does anyone have experience they would like to share on how 
 to disassemble a large Store into smaller stores?
 
 Logically, I can break up the data by in various ways, but my 
 question is on how to copy/move many objects and metadata 
 from one store to another new store(TxFileContentStore, 
 TxXMLFileDescriptorsStore).  I think the WCK has some support 
 for this, but it seems like you have to rebuild the Slide 
 server to support it (and rather not do that). Using Slide 
 2.1 binary with Tomcat 5.0.28.
 
 Any ideas please?
 
 -D
 
 -
 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]



Best Practice to disassemble a large Store?

2005-03-24 Thread Darren Hartford
Hey all,
Does anyone have experience they would like to share on how to
disassemble a large Store into smaller stores?

Logically, I can break up the data by in various ways, but my question
is on how to copy/move many objects and metadata from one store to
another new store(TxFileContentStore, TxXMLFileDescriptorsStore).  I
think the WCK has some support for this, but it seems like you have to
rebuild the Slide server to support it (and rather not do that). Using
Slide 2.1 binary with Tomcat 5.0.28.

Any ideas please?

-D

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



RE: use its own transaction manager in slide

2005-03-23 Thread Darren Hartford
Just a quick reply - I believe there exists a Slide JCA 1.5 connector
that supports transactions. Jboss should be able to use this JCA
connector for client-side transactions talking to a backend Slide server
(if that is the use-case). 

 -Original Message-
 From: Julien Viet [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 23, 2005 1:32 PM
 To: slide-user@jakarta.apache.org
 Subject: use its own transaction manager in slide
 
 We have integrated Slide in JBoss but not at the transaction 
 manager level.
 
 Is is possible to have Slide use JBoss transaction manager 
 instead of the one provided by Slide ? Has someone tried that 
 (or with any other transaction manager different than Slide) ?
 
 thanks
 
 
 -
 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: Is Projector running?

2005-03-17 Thread Darren Hartford
Hey all,
I downloaded and installed jakarta-slide-2.1-tomcat-5.0.28 binary
distribution.  I downloaded the most recent CVS HEAD from jakarta slide.
Modified the build.properties.sample to build.properties and pointed the
{catalina.dist} to the installed location of
jakarta-slide-2.1-tomcat-5.0.28. Then, I ran 'ant tomcat-install' which
deployed the store.zip to the correct \bin directory, puts the
projector.war into the correct \webapp. This was all on Win2000 with
Java 1.4.2_04 from Sun.

Start up Tomcat, go to http://localhost:8080/projector/, and then the
browser does nothing (either firefox or IE, both same result) and the
following error (with more stack traced removed for abbreviation)
repeats over and over again:

WARNING: Login exception authenticating username null
javax.security.auth.login.LoginException: No user name entered

Did I miss a step in setting up the projector example?

-D


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



Compression options for TxFileContentStore, TxXMLFileDescriptorsStore?

2005-03-11 Thread Darren Hartford
Hey all,
I may just be blind and not see how to set it up, but is there any
configuration options for the 'TxFileContentStore' to auto-compress (and
uncompress) object files?  Something similar for the
TxXMLFileDescriptorsStore would be nice too for large-volume stores (for
TxXMLFileDescriptorsStore, obviously if compressed highly recommend
using Lucene indexing for searching instead of default DASL search).

Thanky,
-D





RE: Property namespaces other than DAV:

2005-03-10 Thread Darren Hartford
Hi Mike,
Confirm, it is working!  Unfortunately, my test case I was testing was
on 2.1M1 binary (at the time, my bad).  With the 2.1 release, this is
a-ok now!
-D
 
 
 It's not entirely clear what you're asking for. Setting 
 properties in any namespace (including DAV:) should work in 
 exactly the same way. 
 Over the wire, it does. In slide, it does. So are you asking 
 about how to do it with some particular client?
 
 Here are a couple of examples:
 
 For the slide webdav client API. This is a simplified example 
 from some of my code. The DAV: namespace isn't special 
 here, the namespace is always passed in by the calling code:
 
  Hashtable properties = new Hashtable();
 
  properties.put(new PropertyName(namespace, name, value);
  return webdavresource.proppatchMethod(properties);
 
 Using 'cadaver':
set namespace http://my.namespace/;
propset resource propertyname value
 
 Mike
 

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



Property namespaces other than DAV:

2005-03-08 Thread Darren Hartford
Hey all,
Is there any information on how to use and implement metadata properties
outside the 'DAV:' namespace?

I would really like to apply business-specific, ILM specific, and other
types of metadata property information for each object added to Slide.
I attempted to do this on my own, but ran into issues even adding
non-DAV namespace properties to a single object (i.e. an object to have
DAV properties as well as ILM properties, BUSINESS properties, etc).

To avoid messying the 'DAV:'  reserved namespace, does anyone have any
information on how to actually apply and search against non-DAV:
namespace properties from a Slide client?  

Thanks, adding it to the Wiki and replying with a link would be great
for me :-)

-D



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



swapping to/from mod_dav

2005-01-03 Thread Darren Hartford
Hey all,
Had someone ask me a very good question, one worth asking. 

Is there a way to have the content/metadata in Slide be interchangeable with 
Apache mod_dav? 

i.e. store in Slide, then swap to have mod_dav serve that content/metadata, or 
vice-versa?  (obviously, one or the other at a time, not both. I imagine some 
type of configuration on both so they understand the metadata files,etc.)

thanky,

-D

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



RE: slide and jboss

2004-11-30 Thread Darren Hartford
wahoo! Good news!  I have that on my list for Slide integration with 
Jboss/user-auth as a big requirement to help reduce administration. Glad to 
hear you have had success!
-D


 -Original Message-
 From: Patrick van Kann [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 30, 2004 10:02 AM
 To: Slide Users Mailing List
 Subject: RE: slide and jboss 
 
 
 
 I got it working with JBoss 3.2.5 by following the advice on 
 the JBoss wiki:
 
 http://www.jboss.org/wiki/Wiki.jsp?page=JakartaSlide
 
 I am not using the Slide authentication - I am using the 
 JBoss RDBMS realm. This means that you either need to use the 
 auto-create-users = true setting in Domain.xml or manually 
 synchronise users in your Realm with the Slide users at /slide/users.
 
 Hope this helps.
 
 Patrick
 

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



RE: read-only support (CD/DVD)

2004-10-13 Thread Darren Hartford
Warwick, 
With the jdbc stores, are any new tables created that might be saving similar 
information as those .def.xml files? My concern is that, as Oliver pointed out, this 
'store78.def.xml' file is created and saved *only* where the metadata is saved for 
TxXMLFileDescriptor (no option to change that). Something similar must be happening 
with JDBC stores.

With James recommendation of having the scope node be part of the root store instead 
of the child store, the whereabouts of the JDBC version of this information would be 
valuable in determining if we can simply have this scope node information be part of 
the root's 'nodestore', or if there should be a new ScopeStore/ConfigStore that can be 
custom-configured.

Having this information stored only in the root node (using whatever the root's 
nodestore configuration) should satisfy read-only needs if this is the quicker 
solution, and I do not forsee any drawbacks outside of minor confusion as we have had 
on this thread.

-D

 -Original Message-
 From: James Mason [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 13, 2004 1:48 AM
 To: Slide Users Mailing List
 Subject: Re: read-only support (CD/DVD)
 
 
 Darren, I think the issue you're seeing is that the value you 
 enter for
 the scope becomes part of the URI space in Slide. As Warwick and
 Oliver mentioned, by defining a scope to be store78 you've 
 effectively
 created a /store78 node with the contents of your store 
 inside it. Since
 the TxXMLFileDescriptorsStore uses a meaninfully named xml file to
 represent each node, the store creates a store78.def.xml file.
 
 I think earlier you were talking about insulating the store from the
 scope it was defined on. I think that would probably be a good idea.
 Effectively it would mean the store78 node would be part of the root
 store instead of the child store. I'm not sure what making that change
 would entail (maybe Oliver does).
 
 For an immediate solution, if you create your store with the 
 same scope
 you're planning on using after you burn your CD it should mask this
 problem (there may be others, though).
 
 -James
 
 On Tue, 2004-10-12 at 22:31, Oliver Zeigermann wrote:
  Which is already there:
  
  parameter name=rootpathe:/store/metadata/parameter
  
  By the way a description file of that fashion is created for every 
  collection and content resource.
  
  Oliver
  
  Warwick Burrows schrieb:
  
   So basically the creation of this store78.def.xml file 
 only occurs for
   TxXMLFileDescriptorsStore type stores as I don't see it 
 for a jdbc root
   store. But I do have two TxXMLFileDescriptorsStores 
 configured as well and I
   do see .XML files for those. Eg. 
 store2/metadata/files_2.def.xml and
   store3/metadata/files_secondCollection.def.xml. So a 
 parameter to the
   TxXMLFileDescriptorsStore telling it where to put this 
 description file
   would be sensible.
   
   Warwick
   
   

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



RE: JSP Webdav Client

2004-10-12 Thread Darren Hartford
I believe that is what the 'Projector' proposal project is about.  It is in CVS and 
supporting taglibs and more. I personally haven't used it yet, but might be a good 
place to start!
-D

-Original Message- 
From: J H [mailto:[EMAIL PROTECTED] 
Sent: Mon 10/11/2004 6:32 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: JSP Webdav Client



Hi All!  As always I appreciate any insight...  I'm looking at coding a JSP
webdav client, has anyone had any exprience using JSP for the webdav
protocols?  Are there any open source products or commercial products which
I could obtain?

Thanks,
Jeff

_
Get ready for school! Find articles, homework help and more in the Back to
School Guide! http://special.msn.com/network/04backtoschool.armx


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





RE: read-only support (CD/DVD)

2004-10-12 Thread Darren Hartford
Obviously, +1 here ;-)
 
Looking over the other tags, using a parameter subtag would work as well and be more 
consistent.

-Original Message- 
From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] 
Sent: Mon 10/11/2004 3:32 PM 
To: Slide Users Mailing List 
Cc: 
Subject: Re: read-only support (CD/DVD)



 p.s. I recommend adding in another attribute to the scope tag to configure 
where it should store that file, but that is only if scope is the only file 
created/changed in a read-only store during integration.

Sounds like a good solution to your problem. Should be doable with
reasonable effort as well.

Comments?

Oliver


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





RE: read-only support (CD/DVD)

2004-10-12 Thread Darren Hartford
Maybe I'm thinking too simply, still new to Slide.  As I look at it, you configure a 
store first.  The store may not yet exist, or it may already exist, you simply 
configure in domain.xml to let it know the configuration, location, and other 
parameters about the store (irregardless if it is TxFile/TxXML/DB-oriented/XMLDB/etc.).

Once you have a configured store, you need to add scope to that store.  This seems 
to be a seperate configuration that could/should be seperated out, but currently it is 
100% dependent on the configuration of the store as this is where you save the 
configuration defined in scope.  My recommendation is to allow scope to be 
independent of the store implementation/configuration.

Another way to look at it is similar to the J2EE/JNDI approach - the store is 
configured, has parameters, and may be anything you setup.  Then, you create a 
reference (similar to a JNDI reference) called the STORENAME.  The STORENAME itself 
has no meaning other than to point to the configuration and parameters underneath it.  
scope uses this STORENAME reference for configuration of a different 'container', 
the actual URI mappings.  Then, a step further, any scope parameters and 
configurations are referenced by the SCOPEURI (the 'match' attribute) for the 
data/objectnode section (or 'container').

sillypicture:
|store|--storename--|scope|--scopeuri--|data/objectnode|

But, the present problem is that the scope is not independent of the store, per the 
issue with read-only configured stores. Basically, looking for an independent 
mechanism to configure scope *without* depending on the store configuration (but, 
of course, still allow it as the default option for backward compatibility).

Hope this thought process makes sense, I may be completely wrong though!
-D

 Maybe I got it all wrong (again), but this is how I 
 understood it: roots 
 of a store that is mapped with the scope element get a write request 
 upon initialization which failed for Darren as his store is 
 read-only. 
 Now, there might be a flag telling Slide not to write to it. I was 
 thinking of a read-only flag for a full scope.
 
 Oliver
 
 -
 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: read-only support (CD/DVD)

2004-10-12 Thread Darren Hartford
This is the big question.  I don't think it is.

If in domain.xml, if you have a /slide/namespace/definition/store/nodestore configured 
as:
===
nodestore classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
   parameter name=rootpathstore/metadata/parameter
   parameter name=workpathwork/metadata/parameter
   parameter name=defer-savingtrue/parameter
   parameter name=timeout120/parameter
/nodestore
===
My understanding is that /slide/namespace/definition/scope will save it's values under 
the nodestore configuration of the referenced store. If you have a store 
configured for nodestore=TxXMLFileDescriptorsStore, I don't think you can have the 
/definition/scope values stored in a database, or vice-versa.

scope uses the referenced store's nodestore configuration for saving it's values. 
scope does not have its own 'scopestore' to configure. 

As an example, security has its own SecurityStore that can be configured independently 
of store's nodestore configuration. Adding scope to the SecurityStore or creating 
a new 'ScopeStore' (or ConfigStore) could be one workaround. Since the scope's have 
to be unique, having a central store for all scope information for each namespace 
makes sense, regardless of the number of store's.


 -Original Message-
 From: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 12, 2004 4:18 PM
 To: Slide Users Mailing List
 Subject: Re: read-only support (CD/DVD)
 
 
 OK, I am confused. I thouht scope *is* independent of the store 
 definition, isn't it? Could you explain for me?
 
 Oliver
 
 Darren Hartford schrieb:
 

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



RE: read-only support (CD/DVD)

2004-10-12 Thread Darren Hartford
Oh, sorry, went to far ahead ;-).  Sorry for the long explanations, but I don't want 
to miss anything that might be relevant or trigger a memory.

Domain.XML

Store configured as:
==
store name=tx2
  parameter name=tlock-timeout120/parameter
  nodestore classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
 parameter name=rootpathe:/store/metadata/parameter
 parameter name=workpathworktx2/metadata/parameter
 parameter name=defer-savingtrue/parameter
 parameter name=timeout120/parameter
  /nodestore
..
==

With scope configured as:
=
scope match=/store78 store=tx2/
=

Will cause a file called 'store78.def.xml' to be created in the [EMAIL 
PROTECTED]/nodestore/[EMAIL PROTECTED] value of e:/store/metadata. I can not change 
where 'store78.def.xml' is created without changing where all of the WebDAV file 
metadata is saved.


'store78.def.xml' file looks like this:

?xml version=1.0 encoding=UTF-8?
data
  objectnode classname=org.apache.slide.structure.SubjectNode uri=/store78
children /
parents
  parent name=store78 uuri=/ /
/parents
links /
  /objectnode
  permissions
permission subjectUri=unauthenticated actionUri=all inheritable=true 
negative=false /
  /permissions
  locks /
  revisionsHistory initialRevision=1.0 useVersioning=false
branches
  branch name=main lastestRevision=1.0 /
/branches
revisions
  branch start=1.0 /
/revisions
  /revisionsHistory
  descriptor
revisions branchName=main number=1.0
  labels /
  properties
property name=modificationdate namespace=DAV: 
value=2004-10-11T17:47:57Z type= protected=true
  permissions /
/property
property name=resourcetype namespace=DAV: value=lt;collection/gt; 
type= protected=true
  permissions /
/property
property name=source namespace=DAV: value= type= protected=true
  permissions /
/property
property name=displayname namespace=DAV: value=store78 type= 
protected=false
  permissions /
/property
property name=getlastmodified namespace=DAV: value=Mon, 11 Oct 2004 
17:47:57 GMT type= protected=true
  permissions /
/property
property name=creationdate namespace=DAV: value=2004-10-11T17:47:57Z 
type= protected=true
  permissions /
/property
property name=getcontentlength namespace=DAV: value=0 type= 
protected=true
  permissions /
/property
property name=modificationuser namespace=DAV: value=unauthenticated 
type= protected=true
  permissions /
/property
  /properties
/revisions
  /descriptor
/data
==


For someone that uses a store/nodestore = database, where does this data get saved?

-D


 -Original Message-
 From: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 12, 2004 4:46 PM
 To: Slide Users Mailing List
 Subject: Re: read-only support (CD/DVD)
 
 
 Could you define what the values of a scope are? This is what 
 I do not 
 understand...
 
 Oliver
 
 Darren Hartford schrieb:
  This is the big question.  I don't think it is.
  
  If in domain.xml, if you have a 
 /slide/namespace/definition/store/nodestore configured as:
  ===
  nodestore 
 classname=org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
 parameter name=rootpathstore/metadata/parameter
 parameter name=workpathwork/metadata/parameter
 parameter name=defer-savingtrue/parameter
 parameter name=timeout120/parameter
  /nodestore
  ===
  My understanding is that /slide/namespace/definition/scope 
 will save it's values under the nodestore configuration of 
 the referenced store. If you have a store configured for 
 nodestore=TxXMLFileDescriptorsStore, I don't think you can 
 have the /definition/scope values stored in a database, or vice-versa.
  
  scope uses the referenced store's nodestore 
 configuration for saving it's values. scope does not have 
 its own 'scopestore' to configure. 
  
  As an example, security has its own SecurityStore that can 
 be configured independently of store's nodestore 
 configuration. Adding scope to the SecurityStore or 
 creating a new 'ScopeStore' (or ConfigStore) could be one 
 workaround. Since the scope's have to be unique, having a 
 central store for all scope information for each namespace 
 makes sense, regardless of the number of store's.
  
  
  
 -Original Message-
 From: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 12, 2004 4:18 PM
 To: Slide Users Mailing List
 Subject: Re: read-only support (CD/DVD)
 
 
 OK, I am confused. I thouht scope *is* independent of the store 
 definition, isn't it? Could you explain for me?
 
 Oliver
 
 Darren Hartford schrieb:
 
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED

configuring multiple namespace/stores - howto?

2004-10-06 Thread Darren Hartford
Hey all,
I've started playing with the domain.xml and the WEB-INF/web.xml files in trying to 
configure for multiple stores (multiple namespaces?) on a single Slide server. Looking 
out there if anyone has successfully setup Slide for multiple stores and/or multiple 
namespaces on a single Slide server.  I've tried some of the following changes, but no 
real success. Hopefully someone can share their experience!

For configuring on the domain.xml side, it looks like one can either specify another 
namespace, or introduce another store within the same namespace.
default domain.xml

slide
namespace name=slide
definition
store name=tx



For the web-side and actually exposing the store, should one setup another servlet, 
add another 'namespace' init-param, or not supported yet?
default web.xml
==
servlet
servlet-namewebdav/servlet-name
display-nameSlide DAV Server/display-name
servlet-classorg.apache.slide.webdav.WebdavServlet/servlet-class
init-param
param-namedomain/param-name
param-value/Domain.xml/param-value
description
Path to the domain configuration file, relative to the path of the
web application.
The default is '/Domain.xml'.
/description
/init-param
init-param
param-namenamespace/param-name
param-valueslide/param-value
description
Name of the Slide namespace that should be accessed by this servlet.
If this parameter is provided, make sure the corresponding namespace
is defined in the domain configuration file. Otherwise, the default
namespace will be used, if one exists.
/description
/init-param



TIA,
-D

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



RE: configuring multiple namespace/stores - howto?

2004-10-06 Thread Darren Hartford
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]



RE: Automated testsuite runs?

2004-10-06 Thread Darren Hartford
For this solution, maybe instead of setting up hardware specific to this project 
(which would be the ideal solution without a doubt!), for now would it be possible to 
create the testsuite and allow an option to automatically export the results to the 
Slide project itself. The safest, quickest, and most convenient would be the testsuite 
creating a single zip/tar.gz file containing all hardware/version/results/config 
changes/debug code.  Take advantage of the Slide users hardware ;-)

-D


 -Original Message-
 From: Warwick Burrows [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 06, 2004 10:45 AM
 To: 'Slide Users Mailing List'
 Subject: RE: Automated testsuite runs?
 
 
 
 I wish. At this stage I don't have anything to spare. The 
 company hasn't
 even taken the slide-based app I'm developing seriously as yet :-)
 
 But you know it wouldn't have to be an incredibly resource 
 intensive test.
 Just enough threads to find some race conditions and or lock 
 exposures. This
 can be as few as 10 threads to find the more obvious ones. 
 And really it
 would be more of a regression test to make sure that any new 
 code submitted
 doesn't introduce glaring problems.
 
 Warwick
 
 
  -Original Message-
  From: James Mason [mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, October 05, 2004 9:00 PM
  To: Slide Users Mailing List
  Subject: Re: Automated testsuite runs?
  
  
  That can be really hardware intensive, though. Especially if you're 
  talking about putting the clients and server on the same 
 hardware. I 
  think it's a really good idea and could help improve Slide, 
  but finding 
  resources for it could be difficult. Someone would need to 
 volunteer 
  some hardware, I think. You have anything extra lying around ;).
  
  -James
  
  Warwick Burrows wrote:
   Had you guys considered running the automated testsuite in both a 
   functional and a high load configuration? The high load 
  config could 
   catch threading problems and other issues the server may 
 meet under 
   load? This would simply mean running the testsuite with a 
  large number 
   of threads and iterations configured.
   
   Warwick
   
   
   
   
  -Original Message-
  From: James Mason [mailto:[EMAIL PROTECTED]
  Sent: Sunday, October 03, 2004 10:39 PM
  To: Slide Users Mailing List
  Subject: Re: Automated testsuite runs?
  
  
  I've noticed that Maven generates reports for Unit Tests. 
 This would
  seem to indicate that *someone* is doing automated testing. 
  infrastructure@ would probably be a good place to ask. I can 
  poke around 
  there if you like. I've had set up nightly builds on my 
  todo list for 
  awhile, and since Stefan volunteered to do all the work I 
  can try to 
  find him a server ;).
  
  Let me know if I should ask around.
  
  -James
  
  Oliver Zeigermann wrote:
  
  Folks!
  
  Most people - including myself, I guess Stefan is the only 
  lightful 
  exception - do not let the testsuite run with changes that
  
  appear to be
  
  minor. However, even small changes can break quite a lot
  
  and it would be
  
  helpful if we could find the newly introduced bugs as quick as
  possible... So maybe we could find a way to run automated 
  
  tests every
  
  night? We would for sure need a server that checks out new
  
  stuff, builds
  
  it, installs it and finally let's the testsuite run. 
 This would of
  course require some scripting. Aren't there solutions that 
  
  manage the
  
  whole procedure? How were they called?
  
  What do you people think? Anyone having access to a 
  suitable server?
  
  Oliver
  
  
  
  
  -
  
  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]
 
 

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



RE: configuring multiple namespace/stores - howto?

2004-10-06 Thread Darren Hartford
Success! thanks Warwick!
-D

 -Original Message-
 From: Warwick Burrows [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 06, 2004 3:23 PM
 To: 'Slide Users Mailing List'
 Subject: RE: configuring multiple namespace/stores - howto?
 
 
 
 Well it was supposed to be attached :-) I guess we can't send 
 attachments to
 this list?
 
 Warwick
 

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



RE: sample perf info

2004-10-05 Thread Darren Hartford
Hi Guido,
Actually, you are partly correct in that when using the XMLFileDescriptors instead of 
a DB, the behavior seems to be that Slide tries to put the properties in memory and 
then does the searching (per peaking the memory up much more with increased number of 
records).

But yes, no index equals exponentially increasing search times for file-system 
searching :-)
-D

 Sorry, got that wrong :-)
 
 Of course the missing index has nothing to do with the 
 OutOfMemoryError 
 but with your long running query below.
 
 Guido
 
 

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



RE: Searching in Slide

2004-10-05 Thread Darren Hartford
Ah, thanks James!!

 -Original Message-
 From: James Mason [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 05, 2004 12:35 AM
 To: Slide Users Mailing List
 Subject: Re: Searching in Slide
 
 
 Darren,
 I just added this to the Wiki: 
 http://wiki.apache.org/jakarta-slide/DASLSearch
 
 -James
 

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



Re: Setting properties in a non-DAV namespace

2004-10-04 Thread Darren Hartford
Hey all,
Using the 2.1M1 client code, and I can not add properties outside of the 'DAV:' 
namespace. 

Has this been corrected somewhere?

wdr = WebdavResource object

this works ok:
boolean davprop = wdr.proppatchMethod(/slide/files/test.jpg,new PropertyName(DAV:, 
mykey),myvalue,true);

this does not work:
boolean customprop = wdr.proppatchMethod(/slide/files/test.jpg,new 
PropertyName(CUSTOM:, mykey2),myvalue2,true);

thanky!
-D

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



sample perf info

2004-10-04 Thread Darren Hartford
Hey all,
Just sharing some information from testing on a p4 2.8ghz/512ram/win2000/java1.4.2_04 
test box with all files locally on the harddrive.

Using the 2.1M1 binary file defaults for TxFileStore and TxXMLFileDescriptors and 
using Slide's WebDAV client API/libs to connect to localhost Slide server:

*injecting 1,000 2kb files average 1/2 second per file (default DAV properties only, 
no new props). 

*Doing an exact search (SearchMethod) for a specific file (by 'displayname' field) 
when there was only 1,000 records took on average 3 seconds.

*injecting 10,000 2kb files average 1/2 second per file (default DAV properties only, 
no new props). Stopped at 7,581 files with 'out-of-memory' errors.

*Doing an exact search (SearchMethod) for a specific file (by 'displayname' field) 
when there was 7,581 records took 104 seconds the first time (and peaked the memory up 
around 120MB - changed the min/max memory previously to 128/512 after injection was 
failing), consecutive searches took 37-38 seconds per search.

*Trying to enable the default Lucene indexer via domain.xml broke the server startup 
(I'll be playing with that later).

This is definately not an indication on how Slide will run in production, but gives a 
base from which to measure how configuration changes can improve performance (and get 
an idea of what newbies like me should expect without making any changes).

-D


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



  1   2   >