RE: Newbie: Is 1.0.16 the right current released version?

2003-11-06 Thread Stuart MacPherson
1.0.16 is the current release version. Versions in CVS are far more advanced, although sadly there is no impetus to bring this together as a release at the moment. -Original Message- From: De [mailto:[EMAIL PROTECTED] Sent: 06 November 2003 22:38 To: Slide Users Mailing List Subject:

RE: slide contentstore

2003-10-08 Thread stuart macpherson
In Domain.xml you can configure contentstore inside the definition for the store type. Look for the contentstore tag, and within that there should be several parameter tags. One should have name=resetBeforeStarting which you need to set false. Also, it is clear that you are using

RE: F1 ! F1 !! F1 !!!

2003-09-30 Thread stuart macpherson
Move the slide jars from %CATALINA_HOME/webapps/slide/WEB-INF/lib/ to %CATALINA_HOME/common/lib/ HTH -Original Message- From: Sushant Bhagat [mailto:[EMAIL PROTECTED] Sent: 30 September 2003 13:35 To: [EMAIL PROTECTED] Subject: F1 ! F1 !! F1 !!! hi, i am trying to install Slide on

RE: Question about slide and mysql

2003-09-29 Thread stuart macpherson
Actually, that's precisely how I have my stores setup, and also this is how the official (NOT the unofficial) docs tell you to do it. I have encountered no problems so far... I don't understand why you have use the tag KEY... What is the concept of KEY if not to be used as some kind of unique

RE: How do I start slide?

2003-09-29 Thread stuart macpherson
I take it you have the source distribution? Did it build ok? Errors please, otherwise we can't help you. Stu -Original Message- From: Gankhuyag Dovdon [mailto:[EMAIL PROTECTED] Sent: 29 September 2003 07:03 To: [EMAIL PROTECTED] Subject: How do I start slide? Dear Sir, We have

RE: Versions with example client

2003-09-28 Thread stuart macpherson
The binaries of the previous versions should be stored in revisioncontent table of ur DB. Btw, there is a specific MySQLDescriptorsStore, which handles mySQL transactions better than JDBCDecriptorsStore (I am told). Stu -Original Message- From: Michael Oliver [mailto:[EMAIL

RE: Question about slide and mysql

2003-09-26 Thread stuart macpherson
BLOB fields can be used as PKs. What transactional problems are you having exactly? I am using mySQL MyISAM tables with Slide 1.0.16 and Tomcat 4.1.27 with no problems (at least, none related to the ones you are talking about). Also, are you schooled on DB concepts? PKs can only ever be unique;

slide-admin user creation bug

2003-09-20 Thread stuart macpherson
I wonder if I have discovered a bug in Slide-admin. I have posted this problem in slide-user before, and received no reply. Tomcat server.xml is configured to use JDBCRealm, and I can add users directly to the database using SQL. However, the Slide-admin webapp refuses to add users to the

RE: Question on persistence of nodes and revisions

2003-09-10 Thread stuart macpherson
Post your domain.xml file. -Original Message- From: Aruna Goli [mailto:[EMAIL PROTECTED] Sent: 10 September 2003 00:37 To: [EMAIL PROTECTED] Subject: Question on persistence of nodes and revisions Hello I am using the jdbcDescriptorStore for nodeStore and XAFileContentStore for

Slide-Admin webapp doesn't add user to SlideRealm DB tables

2003-09-09 Thread stuart macpherson
I am having a problem with Slide-Admin. I am using SlideRealm based authentication and MySQLDescriptorsStore, and as such I have 'user', 'roles' and 'user_role' tables I my DB. Obviously, Slide uses rows entered into these tables to allow logon to Slide and Slide-Admin. Adding users manually

RE: Descriptor store

2003-09-09 Thread stuart macpherson
Create a content helper (see the standard WebdavServlet) and then use its retrieve method to get descriptor for the resource. HTH stu -Original Message- From: Alexey Styrov [mailto:[EMAIL PROTECTED] Sent: 09 September 2003 15:39 To: 'Slide Users Mailing List' Subject: Descriptor store

Re: RE: Search facility - document iterator

2003-09-04 Thread stuart macpherson
- document iterator Hi, I'd suggest to use DASL. There is a generic implementation within the slide kernel. Regards, Martin -Original Message- From: stuart macpherson [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 4. September 2003 00:24 To: [EMAIL PROTECTED] Subject: Search facility

Re: Were you able to resolve this error? [no object found at/actions]

2003-09-04 Thread stuart macpherson
Here is the SQL patch I have created to fix the problem 'no object found at /actions', amongst other problems giving faulty schema setupfor JDBCDescriptorsStore and MySQLDescriptorsStore. The script syntax is for mySQL, and will require tinkering for other RDBMS. HTH Stu

RE: RE: Search facility - document iterator

2003-09-04 Thread stuart macpherson
To: 'Slide Users Mailing List' Subject: RE: RE: Search facility - document iterator Hi, strength of DASL is search on properties. You will need slide 2 to use DASL. Regards, Martin -Original Message- From: stuart macpherson [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 4. September 2003 15:41

RE: Search facility - document iterator

2003-09-04 Thread stuart macpherson
Ahh great, I see the possibility now. I know 'deep' PROPFINDs (even ones requested with a Vector or props) return Enumeration objects... but do these contain the doc URI? In the early stages I patch the URI in as a document property, as its not always readily retrievable (at least not in a

RE: Search facility - document iterator

2003-09-04 Thread stuart macpherson
I have tried request.getHeader(Referer) but it just returns null... -Original Message- From: stuart macpherson [mailto:[EMAIL PROTECTED] Sent: 04 September 2003 20:18 To: 'Slide Users Mailing List' Subject: RE: Search facility - document iterator Ahh great, I see the possibility now

RE: Search facility - document iterator

2003-09-04 Thread stuart macpherson
web.xml on the max allowable depth. Default is 3. Many thanks to all who helped out. Stu -Original Message- From: stuart macpherson [mailto:[EMAIL PROTECTED] Sent: 04 September 2003 21:01 To: 'Slide Users Mailing List' Subject: RE: Search facility - document iterator I have tried

Search facility - document iterator

2003-09-03 Thread stuart macpherson
I am implementing a search facility for my doc store, and I would like to know what are people's thoughts on the best way to iterate through the store (doing PROPFINDs on each doc as it goes). Obviously you can check if each resource is a collection, and tif so, then enumerate its children (as

Search facility - document iterator

2003-09-03 Thread stuart macpherson
I am implementing a search facility for my doc store, and I would like to know what are people's thoughts on the best way to iterate through the store (doing PROPFINDs on each doc as it goes). Obviously you can check if each resource is a collection, and tif so, then enumerate its children (as

RE: When is the next production release of Slide?

2003-08-30 Thread Stuart MacPherson
and publish the resluting docs..!!!) Now I expect that I have said nothing new to anyone...so there must be a good reason for the lack of docs and status what might those reasons be? What can be done? -D -Original Message- From: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent

Implementing a search facility

2003-08-29 Thread Stuart MacPherson
I have successfully extended SimpleWebdavServlet, and now it handles the GET requests as well as the standard WevdavServlet. I want to implement a search system (that searches document properties) and then spits out a listing in a similar way to GET requests on single collections... except

RE: Implementing a search facility

2003-08-29 Thread Stuart MacPherson
Umm... here's the Servlet this time ;oS -Original Message- From: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent: 29 August 2003 00:46 To: 'Slide Users Mailing List' Subject: Implementing a search facility I have successfully extended SimpleWebdavServlet, and now it handles the GET

RE: Slide tutorial, samples

2003-08-29 Thread Stuart MacPherson
Sorry, there is nothing. Seems bizarre I know... There must be open source initiatives based on Slide, but I know of none. There are some examples in the source distribution of Slide. It's not impossible to get up and running, so give it a go. There are numerous FAQs on how to get it set up,

RE: Implementing a search facility

2003-08-29 Thread Stuart MacPherson
MacPherson wrote: Umm... here's the Servlet this time ;oS -Original Message- From: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent: 29 August 2003 00:46 To: 'Slide Users Mailing List' Subject: Implementing a search facility I have successfully extended SimpleWebdavServlet, and now

RE: using images in slide JSPs

2003-08-29 Thread Stuart MacPherson
, people use apache to serve images anyway, so if you setup your dev env to do The Right Thing (TM) you should be ok. HTH, James -Original Message- From: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 5:39 AM To: 'Slide Users Mailing List' Subject: using

RE: When is the next production release of Slide?

2003-08-29 Thread Stuart MacPherson
Slide 2 is available from CVS. It is NOT a production release tho... but I am told it is actually better than the production release 1.0.16. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 August 2003 17:11 To: Slide Users Mailing List Subject: When is the

RE: custom ContentInterceptor and postRetrieveContent()

2003-08-28 Thread Stuart MacPherson
2003 09:00 To: Slide Users Mailing List Subject: Re: custom ContentInterceptor and postRetrieveContent() Stuart MacPherson wrote: I have written a custom ContentInterceptor, and as per the instructions I am able to differentiate between the retrieval of content and the retrieval of a descriptor

FW: [OT] but IMPORTANT

2003-08-28 Thread Stuart MacPherson
-Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 13:01 To: Struts Users Mailing List; Tomcat Users List Subject: [OT] but IMPORTANT If you haven't checked http://jakarta.apache.org/ today, do so and read the welcome page. Sounds dire, but in these

RE: AAAAARGH!!! Slide is driving me nuts!!!

2003-08-28 Thread Stuart MacPherson
It's ok. I have sorted it. panic over! It was the Default-Servlet in web.xml . I had set it to false by accident **blush** -Original Message- From: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent: 28 August 2002 20:54 To: 'Slide Users Mailing List' Subject: ARGH

AAAAARGH!!! Slide is driving me nuts!!!

2003-08-28 Thread Stuart MacPherson
I tried to extend WebdavServlet to create my own, and I couldn't get it to work. I have reinstated the original WebdavServlet and now it doesn't work either!! I don't see how this can be. Here is what is happening. I log in to slide, and I am faced with the directory listing for '/' which

RE: [OT] but IMPORTANT

2003-08-28 Thread Stuart MacPherson
Forbid independent development of innovative software-based solutions... So you might only be able to code for someone else?! That does not sound good... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 13:01 To: Struts Users Mailing List; Tomcat

RE: Problem with revisions not being written to the database (content store works correctly though)

2003-08-27 Thread Stuart MacPherson
You have commented out MemoryDescriptorsStore above that? -Original Message- From: Aruna Goli [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 00:42 To: 'Slide Users Mailing List' Subject: Problem with revisions not being written to the database (content store works correctly though)

custom ContentInterceptor and postRetrieveContent()

2003-08-27 Thread Stuart MacPherson
I have written a custom ContentInterceptor, and as per the instructions I am able to differentiate between the retrieval of content and the retrieval of a descriptor when postRetrieveContent() is called (i.e. in the passed parameters, if revisionDescriptors is null, it's a content retrieval, and

RE: Newbie Questions on WebDav Slide.

2003-08-26 Thread Stuart MacPherson
Hi It is possible to do all of the things you want to do with Slide. Firstly, I would read the webDAV specifications at www.webdav.org . There is no documentation on Slide to speak of. There are javadoc pages for each class but these helpfully contain no narrative to describe the contents, and

Re: PROPFIND returns 404...

2003-08-23 Thread Stuart MacPherson
] Sent: 23 August 2003 05:00 To: Stuart MacPherson Subject: RE: PROPFIND returns 404 when using MySQL LONGBLOB for content Stuart, I don't know the answer to your problem, but if you have an ide that will let you step through the code, I'd find a nice spot and setup a breakpoint to trace from. I had

RE: PROPFIND returns 404...

2003-08-23 Thread Stuart MacPherson
-Original Message- From: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent: 23 August 2003 17:34 To: 'Slide Users Mailing List' Subject: Re: PROPFIND returns 404... I have sussed the problem of PROPFIND not working after trying to mod the revisioncontent table content column to LONGBLOB (so that max

PROPFIND returns 404 when using MySQL LONGBLOB for content

2003-08-22 Thread Stuart MacPherson
The only way I can get MySQLContentStore working with files larger than 65k is to set 'revisioncontent' table column 'content' type to LONGBLOB (the default is BLOB). Now I can put and retrieve big files BUT I can't do PROPFIND on anything other than the standard DAV properties; it throws a 404

Big File Upload = MySQLContentStore and PacketTooBigException

2003-08-21 Thread Stuart MacPherson
Hi I managed to sort out the problems I was having with Slide inappropriately creating a collection instead of a file. it seems it does this when there is a problem with the file handling process, and it doesn't get the full file.. Anyway. I am getting another mysterious error when I try

RE: Big File Upload = MySQLContentStore and PacketTooBigException - SOLVED

2003-08-21 Thread Stuart MacPherson
Hi Ingo I just discovered the same solution (in a sun forum), and I amended the max_allowed_packet entry in the my.ini file. It worked fine for me, and has solved my problem, but what I might add is that it only works if you set the max size to WAY above the expected maximum FILE (yes, the whole

MySQLContentStore AGAIN - max BLOB size only 64kb!!!

2003-08-21 Thread Stuart MacPherson
Hi I am having yet MORE problems with MySQLContentStore. as mySQL BLOBs are only max 65k. I know you can attempt LONGBLOB content type for the content column in revisioncontent table, BUT as a previous poster mentioned, you get 404 errors when you try and do PROPFIND. SO - does anyone

Uploaded file shows wrongly as a collection?!

2003-08-19 Thread Stuart MacPherson
I have a Servlet that accepts a file upload via POST, and then parses it using Commons FileUpload (along with some form fields to proppatch), and writes the resultant file to Slide.  Trouble is that for a test plain text file, the Directory Listing shows a collection instead of a text file after

broken file upload... or buffer full?

2003-08-18 Thread Stuart MacPherson
Hi I have built a system that is supposed to take a file upload from a JSP using Apache Commons FileUpload API, and write it to slide using a Servlet once it reaches the servers memory. I managed to get this working once! Now, it seems to not want to, and I have tried to regress the

RE: broken file upload... or buffer full?

2003-08-18 Thread Stuart MacPherson
Well at least now I have a persistent store. but it seems to be creating this text file as a child collection from /files. So now I have a folder who's URI is /files/errmsg.txt/ All very strange! Any ideas? stu -Original Message- From: Stuart MacPherson [mailto:[EMAIL

RE: JDBCDescriptorsStore setup

2003-08-15 Thread Stuart MacPherson
Sandia National Labs 925-294-2678 [EMAIL PROTECTED] Stuart MacPherson wrote: Here is the lowdown on my DB schema contents - I presume there is more wrong with it that I know about - please advise! It looks

'Links' table in JDBCDescriptorsStore

2003-08-15 Thread Stuart MacPherson
Does anyone know what is supposed to be in the 'links' table when using JDBCDescriptorsStore? Mine is empty, and Slide refuses to start until it can find a URI that is linked to the URI '/actions'! I know this is a crosspost, but I am getting no feedback in the other thread. sorry :-S

RE: File Upload Servlet weirdness

2003-08-14 Thread Stuart MacPherson
: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent: 08 August 2003 19:22 To: 'Slide Users Mailing List' Subject: File Upload Servlet weirdness Hi all. I have created a file upload JSP, which uses a HttpServlet to handle the POST of the multipart/form data. and this HttpServlet in turn uses

RE: JDBCDescriptorsStore setup

2003-08-14 Thread Stuart MacPherson
Revisioncontent - empty Revisions - empty Workingrevision - empty Thanks again in advance stu -Original Message- From: Stuart MacPherson [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 15:44 To: 'Slide Users Mailing List' Subject: JDBCDescriptorsStore setup Hi everybody I am having bother

weird error on file PUT

2003-08-14 Thread Stuart MacPherson
Hi I have written a Servlet that handles file uploads to Slide using Apache Commons FileUpload, but when it tries to create the new WebdavResource, and PUT it, I get the following error and when I look a the store, it seems to have created a folder called errmsg.txt/ instead of a text

RE: JDBCDescriptorsStore setup

2003-08-14 Thread Stuart MacPherson
start ups. Your 500 errors are coming from the missing action nodes, though, methinks. Dave Leahy Sandia National Labs 925-294-2678 [EMAIL PROTECTED] Stuart MacPherson wrote

RE: weird error on file PUT

2003-08-14 Thread Stuart MacPherson
, it sounds like a memory store, not the filesystem store. Michael Oliver CTO/Matrix Intermedia 7391 S. Bullrider Ave. Tucson, AZ 85747 Office (520)574-1150 Cell (518)378-6154 Stuart MacPherson said: I spotted that, and I tried to change the directory that 'contentstore' resides in, but it seems

JDBCDescriptorsStore setup

2003-08-14 Thread Stuart MacPherson
it working. Maybe you will need a up to date copy of JDOM, just try. Of course I can not guaranty for anything. If this does not work, don't blame me ;) Oliver Stuart MacPherson wrote: Hi Oliver Do you think it would be possible to pull XMLDescriptorsStore.java out of the CVS, compile

RE: weird error on file PUT

2003-08-14 Thread Stuart MacPherson
Hi Oliver Do you think it would be possible to pull XMLDescriptorsStore.java out of the CVS, compile it, and then slot the class into the slide-stores.jar file? I suppose that would just be a case of playing it by ear ;o) I am really wary about trying to compile the whole thing from source...

RE: weird error on file PUT

2003-08-14 Thread Stuart MacPherson
)378-6154 Stuart MacPherson said: I spotted that, and I tried to change the directory that 'contentstore' resides in, but it seems to make no difference. I also set the store parameter 'resetBeforeStarting' to 'false', and even though this looks like the problem root, it made

user administration using Slide-Admin and JDBCRealm

2003-08-14 Thread Stuart MacPherson
Hi I can't seem to get user admin working from the Slide-Admin webapp, whilst using JDBCRealm with mySQL. I can add users, and assign roles to them by going into the database and manipulating it directly. but clearly I would like to do this via Slide-Admin. and every time I try it

File Upload Servlet weirdness

2003-08-08 Thread Stuart MacPherson
Hi all. I have created a file upload JSP, which uses a HttpServlet to handle the POST of the multipart/form data. and this HttpServlet in turn uses Apache Commons FileUpload 1.0 API to get rid of the rubbish and headers. BUT all I get is a blank page when the Servlet is invoked, or triggered

RE: Creating groups with JDBC

2003-08-07 Thread Stuart MacPherson
Hi Mikko Sorry I don't have a solution for you... I have been trying to do similar things... Are you now able to create users in JDBCRealm using the Slide-Admin web-app? At the moment I can only create a user if I actually go into the database and insert data into 'user' and 'user-roles'

RE: jdbc data store

2003-08-04 Thread Stuart MacPherson
) at org.apache.catalina.startup.Catalina.start(Catalina.java:449) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) ... 5 more any hints? :-) thx, joe Stuart MacPherson wrote: Check it... http://www.mail

RE: jdbc data store

2003-08-03 Thread Stuart MacPherson
Check it... http://www.mail-archive.com/[EMAIL PROTECTED]/msg04112.html stu -Original Message- From: joe [mailto:[EMAIL PROTECTED] Sent: 03 August 2003 10:59 To: [EMAIL PROTECTED] Subject: jdbc data store hi! i've successfully installed the SlideRealm (thanx to martin!) and now i

RE: Official (unofficial?!) mySQL config SQL script MISTAKE!

2003-08-01 Thread Stuart MacPherson
Indeed, I removed the shorter line also. Has anyone rooted this to any problems, or is that the right thing to do? Regards -Original Message- From: Wendt, Alexander [mailto:[EMAIL PROTECTED] Sent: 01 August 2003 08:11 To: 'Slide Users Mailing List' Subject: RE: Official (unofficial?!)

RE: XP Webfolders Weirdness

2003-07-31 Thread Stuart MacPherson
Thought u needed utf-16 for full Chinese character listing? -Original Message- From: xiaohu [mailto:[EMAIL PROTECTED] Sent: 31 July 2003 08:30 To: Slide Users Mailing List Subject: RE: XP Webfolders Weirdness Yeah I agree, UTF-8 is the only way to go. If everybody was smart and used

Official (unofficial?!) mySQL config SQL script MISTAKE!

2003-07-31 Thread Stuart MacPherson
Look at this SQL script I got from the unofficial FAQ site for configuring a mySQL store. see anything wrong?! It's trying to create the tablename 'permissions' twice. I assume that one is meant to be 'permission' (singular!) but. which one? Many thanks stu create database slide;

RE: HOWTO: Tomcat 4.1.24 and Slide 1.0.16 GET IT WORKING!!

2003-07-29 Thread Stuart MacPherson
phone: (734) 615-6270 University of Michigan Medical Schoolfax: (734) 936-3258 On Tue, 29 Jul 2003, Stuart MacPherson wrote: Slight mods to my list... I have rescinded on point 8... slide.properties is the way to go I feel.. 1) Standard install Tomcat 4.1.24

HOWTO: Tomcat 4.1.24 and Slide 1.0.16 GET IT WORKING!!

2003-07-28 Thread Stuart MacPherson
Slight mods to my list... I have rescinded on point 8... slide.properties is the way to go I feel.. 1) Standard install Tomcat 4.1.24 (latest of the 4's; I have tried it with v5.0.5 and the way I know doesn't work, I presume there have been some critical modifications) 2) Copy

I sorted it myself - thanks a bunch!

2003-07-27 Thread Stuart MacPherson
Well after getting zero feedback I managed to sort my own problem out. sarcasm thanks /sarcasm You guys might think it was simple but with the extreme lack of documentation for slide beginners I have been toiling over this for nearly 2 weeks on and off. I will reiterate it here for the sake of

problem in Tomcat with Slide

2003-07-23 Thread Stuart MacPherson
Hi I am running tomcat 4.1.24 and Slide 1.0.16 on WinXP... I have configured a JDBCStore in mySQL and I am also using the JDBCRealm for authentication as SlideRealm would not accept logins even though tomcat-users.xml and Domain.xml BOTH had the correct user listing… When I try to authenticate

errors errors errors!!

2003-07-22 Thread Stuart MacPherson
Hi I am running tomcat 4.1.24 and Slide 1.0.16 on WinXP and I am struggling to put it mildly… I have configured a JDBCStore in mySQL and I am unsure as to whether it is working properly, or indeed how to find out if it isn’t… I am also using the JDBCRealm for authentication as I could not for the