Re: DASL questions

2005-03-16 Thread Luke Noel-Storr
Miguel Figueiredo wrote: Miguel> I believe you're using it correctly. Check the depth-limit parameter Miguel> in the WEB-INF\web.xml file of slide webapp: Miguel> " This init-parameter determines the depth limit for PROPFIND and Miguel> othermethods, to avoid performance hits on the server for

DASL questions

2005-03-16 Thread Luke Noel-Storr
Hi, Sorry if this has been asked an answered previously, only there no longer seems to be a search feature on the mail asrchive, and searching it with Google returned nothing helpful. Anyway, I have a couple of problems using DASL: Firstly setting the depth to infinity, seem to actually set it t

Re: max revision limit?

2005-02-11 Thread Luke Noel-Storr
ype in my MSSQL server to ntext (max size is around 1 GB) - myssql has an equivalent data type. /jacob - Original Message ----- From: "Luke Noel-Storr" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" Sent: Thursday, February 10, 2005 6:20 PM Subject: Re: max

Re: max revision limit?

2005-02-10 Thread Luke Noel-Storr
Hi, I was just wondering if you'd made any progress with this? I've come up against this problem again now we are using a database backed version of Slide again, and it would be great if a solution was in the pipeline. It's certainly a design flaw as it is, and I can no longer make the fields i

auto-create-users problem

2005-01-25 Thread Luke Noel-Storr
Hi, I am having trouble trying to use auto-create-users. It seems to work fine to start with, and everything works as expected with an auto added user, but then after re-starting Tomcat I get the following error: java.lang.NoSuchMethodException: slideroles.basic.UserRoleImpl.(java.lang.String,

Re: using CLOB for properties table's property_value column

2004-11-19 Thread Luke Noel-Storr
Roman Novak wrote: Hi Jun, - The db-schema scripts don't define an index on that column. - Possibly a change from varchar2(255) to varchar2(4000) will be sufficient for you I think the main problem with this field is with the version history, even with it set to varchar2(4000) I'd be worried a

Re: Error putting large files into Slide 2.1b2 - Oracle Store

2004-11-18 Thread Luke Noel-Storr
tched driver created by Davide and available on his site (for testing) at: http://www.corefandango.net/slide/ Nick -Original Message- From: Luke Noel-Storr [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 11:00 AM To: Slide Users Mailing List Subject: Re: Error putting large files

Re: Error putting large files into Slide 2.1b2 - Oracle Store

2004-11-18 Thread Luke Noel-Storr
help, I hardly have any hair left as it is!! Many Thanks, Luke. ----- Luke Noel-Storr wrote: Hi, I seem to have solved most of the problems I was having by downloading 2.1b2; however, I am now having trouble putting any but the smallest of files into slide, I have tried with compression

Error putting large files into Slide 2.1b2 - Oracle Store

2004-11-18 Thread Luke Noel-Storr
Hi, I seem to have solved most of the problems I was having by downloading 2.1b2; however, I am now having trouble putting any but the smallest of files into slide, I have tried with compression on and off and auto-versioning on and off (as these seem to be mentioned a few times in realation to

Re: Oracle store

2004-11-17 Thread Luke Noel-Storr
) Cheers Luke. - Luke Noel-Storr wrote: OK, I tried stating over, and that error seems to have gone now too. However, I now have the problem that whenever I try and store something, it seems to lose all the content of the file (I'm just drag-dropping it in with web-folders). I get the followi

Re: Oracle store

2004-11-17 Thread Luke Noel-Storr
ide.store.impl.rdbms.StandardRDBMSAdapter - INFO - /history/11.0 http8080-Processor24, 17-Nov-2004 14:02:37, luke, PUT, 204 "No Content", 531 ms, /files/workflow.xml http8080-Processor23, 17-Nov-2004 14:03:03, luke, GET, 304 "Not Modified", 0 ms, /files/workflow.xml Cheers Luke.

Re: Oracle store

2004-11-17 Thread Luke Noel-Storr
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688) at java.lang.Thread.run(Thread.java:534) Any suggestions?? Cheers Luke. - Luke Noel-Storr wrote: Hi, I'm trying to use the oracle store b

Oracle store

2004-11-17 Thread Luke Noel-Storr
Hi, I'm trying to use the oracle store but get the following error: Error instantiating Adapter 'org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter' I then get a load of exceptions later on, but suspect this may be the root of the problem. It seems to be connecting to the database OK though.

Re: Simple question on opening a file (via webdav) for editing

2004-09-24 Thread Luke Noel-Storr
If you're still trying to solve this problem, these posts of mine may help: http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=slide-user_jakarta_apache_org&restrict=&exclude=&words=word.application Cheers Luke. - Nick Longinow wrote: Hi, I am just getting started wit

Changing file name with a ContentInterceptor

2004-07-29 Thread Luke Noel-Storr
Hi, Is is possible to change the name of a file being placed into a slide repository by using a ContentInterceptor? (or any other method?). I actually only want to change the file extension. I have tried doing the following in the preStoreContent method: String uri = revisionDescriptors.ge

Re: is a "mixed" store (jdbc/filesystem) possible?

2004-07-12 Thread Luke Noel-Storr
df-file greetings stefan Luke Noel-Storr wrote: If I understand you correctly - then yes, as this is what I have set up. With my set-up all the content is stored in files, everything else is stored in a database. Here is the relev

Re: is a "mixed" store (jdbc/filesystem) possible?

2004-07-12 Thread Luke Noel-Storr
If I understand you correctly - then yes, as this is what I have set up. With my set-up all the content is stored in files, everything else is stored in a database. Here is the relevant part of my domain.xml: org.apache.slide.store.impl.rdbms.MySq

Re: Is there any way to open document in edit mode using IE

2004-06-07 Thread Luke Noel-Storr
The following JavaScript should do the trick: function OpenDoc(strLocation) { try { var objWord = new ActiveXObject("Word.Application"); objWord.Visible = true; } catch (e) { // unable to create an instance of Word alert("Unable to open Word - check your security settings"); } try { objWord.Docume

Re: webdav security

2004-05-30 Thread Luke Noel-Storr
Cheers Luke. - On 30 May 2004, at 01:11, Simone Gianni wrote: Luke Noel-Storr wrote: If you just open via a link then it doesn't open it in word as a document from webdav, it just opens it as it would any other word document linked to from a website (ie: it downloads a temp copy and t

Re: webdav security

2004-05-27 Thread Luke Noel-Storr
On 27 May 2004, at 19:06, Julian Reschke wrote: Luke Noel-Storr wrote: If you just open via a link then it doesn't open it in word as a document from webdav, it just opens it as it would any other word document linked to from a website (ie: it downloads a temp copy and then opens that read

Re: webdav security

2004-05-27 Thread Luke Noel-Storr
as a webdav document if required (this seems to be the only way). I can post some sample code if you like. Cheers Luke. - On 27 May 2004, at 10:45, Julian Reschke wrote: Luke Noel-Storr wrote: How are you opening the document? From a webpage link? From a Web folder? In Word via a URL? From

Re: webdav security

2004-05-27 Thread Luke Noel-Storr
How are you opening the document? From a webpage link? From a Web folder? In Word via a URL? Cheers Luke. - Julian Reschke wrote: Michael Oliver wrote: Word 2k or XP yes. Interesting -- I'm just debugging this very issue. In Office 2003, I /sometimes/ see OPTIONS requests being made by Office

Auto Create Users error.

2004-05-26 Thread Luke Noel-Storr
Hi, I'm using LDAP to authenticate users, and have enabled auto-add users in slide. It at first seems to work, however, after I restart Tomcat I get the following error when an auto-created user trys to access a file: org.apache.slide.common.ServiceAccessException: Service [EMAIL PROTECTED] ac

Re: Could not parse DAV:version-set:

2004-05-19 Thread Luke Noel-Storr
Carlos Villegas wrote: Some databases like PostgreSQL have a type TEXT with unlimited length. We only need to change the type in the schema, the DB adapter doesn't have to be changed. For databases that don't have a similar type, I guess a BLOB will be one way. MySQL also has a TEXT type (and L

Re: Could not parse DAV:version-set:

2004-05-18 Thread Luke Noel-Storr
alternative is to increase the field length, however that doesn't really solve the problem, it just means it'll take longer for it to occur. Any other solutions? Cheers Luke. - Luke Noel-Storr wrote: OK, I've done a bit more investigation, and by adding some logging to the Ve

Re: Could not parse DAV:version-set:

2004-05-18 Thread Luke Noel-Storr
1.4/h Anyone have any idea what may be causing this? Cheers Luke. - Luke Noel-Storr wrote: Hi, I'm running a slide server using a MySQL database but with a file store to store the actual content. I've discovered I have a problem with slide losing the version history after a certa

Could not parse DAV:version-set:

2004-05-18 Thread Luke Noel-Storr
Hi, I'm running a slide server using a MySQL database but with a file store to store the actual content. I've discovered I have a problem with slide losing the version history after a certain point. I've done a little investigating and it seems that the problem occurs after a file has gone thr

Re: How can I stop Office caching files?

2004-05-18 Thread Luke Noel-Storr
Julian Reschke wrote: You don't want it to be not cacheable. What you want are working "Etag" and "Last-Modified" headers. Maybe there's something wrong with those. Well, the "Last-Modified" header seem to be working (I have a JSP that displays details of the file and it is correctly displaying

File upload form

2004-05-18 Thread Luke Noel-Storr
I'd like to have a form that allows a user to upload a file into a slide repository. Is there a relatively straight forward way to do this (ie. can I just have a for send a put request directly to slide?), or would I need to write my own servlet to handle it? Cheers Luke. - ---

How can I stop Office caching files?

2004-05-18 Thread Luke Noel-Storr
Hi, There seems to be a problem with Office caching files from slide. If I edit a file on one computer it seems to open it as it was the last time it was saved on that same computer even if it has been edited on another computer in the meantime. So, if I edit a Word file on computer A, save it,

Re: Strange problem with files over 64K and Webfolders/Office

2004-05-12 Thread Luke Noel-Storr
east blame shifted to Microsoft). Cheers for the suggestions/help. Luke. - Hoi Chong wrote: Hi, Have you tried with DAVExplorer or WebDrive (www.webdrive.com)? It could be WebFolders & Office being buggy. Cheers. - Original Message - From: "Luke Noel-Storr" <[EMAIL P

Re: Strange problem with files over 64K and Webfolders/Office

2004-05-12 Thread Luke Noel-Storr
eers. - Original Message - From: "Luke Noel-Storr" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, May 12, 2004 5:22 PM Subject: Re: Strange problem with files over 64K and Webfolders/Office Sorry, if you had read

Re: Strange problem with files over 64K and Webfolders/Office

2004-05-12 Thread Luke Noel-Storr
t through web folders or Office (which I guess use the webdav get method). Thanks anyway. Cheers Luke. -- Jacob Lund wrote: Hi Luke! MySQL has as 64K limit in blob fields! Change the database scheme - replace blob with longblob! /jacob - Original Message - From: "Luke Noel

Strange problem with files over 64K and Webfolders/Office

2004-05-12 Thread Luke Noel-Storr
Hi, I have a slide repository set up in MySQL, but with the content stored in a file store (I set it up this way due to problems with large files and MySQL). There now seems to be a problem with files over 64K, when we access them via our client code - they work fine, when downloaded from a UR

Re: Slide Tomcat Sessions - Closing them

2004-05-11 Thread Luke Noel-Storr
OK, I'm sure I'm probably being stupid, but how do I put my username and password into the URL? I've tried sticking "?user=luke&password=password" (and variations of this) at the end of the URL, but that doesn't seem to work. Cheers Luke. - Luke Noel-S

Re: Slide Tomcat Sessions - Closing them

2004-05-11 Thread Luke Noel-Storr
I had just downloaded the source and discovered that it was this check that was causing the problem. Thank you for the solution to the problem, I will give it a go. At first glance though it would seem there are more security implications arround this solution - is this the case? Cheers Luke.

Re: Slide Tomcat Sessions - Closing them

2004-05-11 Thread Luke Noel-Storr
re I can see no way of doing what I want without constructing a new WebdavResource or a HttpURL. Cheers Luke. - Quoting luke noel-storr <[EMAIL PROTECTED]>: Hmm, either I misunderstood what you meant, or it doesn't quite fix things the way I expected. I now only construct

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread Luke Noel-Storr
ay of doing what I want without constructing a new WebdavResource or a HttpURL. Cheers Luke. - Quoting luke noel-storr <[EMAIL PROTECTED]>: Hmm, either I misunderstood what you meant, or it doesn't quite fix things the way I expected. I now only construct one webdav res

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread luke noel-storr
constructing a new WebdavResource or a HttpURL. Cheers Luke. - Quoting luke noel-storr <[EMAIL PROTECTED]>: > > Hmm, either I misunderstood what you meant, or it doesn't quite fix things > the > way I expected. > > I now only construct one webdav resource in my

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread luke noel-storr
eated. Any further suggestions? Cheers Luke. - Quoting luke noel-storr <[EMAIL PROTECTED]>: > Hi, > > I don't have a problem in terms of errors or crashes or anything; however, I > was > in fear of the rapidly increasing session count (into several thousands

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread luke noel-storr
Hi, I don't have a problem in terms of errors or crashes or anything; however, I was in fear of the rapidly increasing session count (into several thousands after just a few calls to a servlet I had). I shall now recode based on your advice though - thank you for your help. Cheers Luke. -

Slide Tomcat Sessions - Closing them

2004-05-10 Thread luke noel-storr
Hi, I posted a question a few days ago about Slide sessions within Tomcat not being closed, when using the client Java API. I didn't notice any replies so thought I'd post again under a different subject. Anyway, if anyone has experiences of trying to close sessions within Tomcat from within the

.close() - does it work?

2004-05-03 Thread luke noel-storr
Hi, I'm using the java client API and I've been keeping an eye on sessions in the Tomcat Manager utility and it seems that Slide sessions are not being closed. I thought the .close() method should close the connections - it doesn't seem to be though and the session count just keeps going up. I c

Re: Java Client - putMethod for a new file in a new directory

2004-04-28 Thread Luke Noel-Storr
ertTrue(res.getStatusMessage(),success);//write an empty file } finally{ res.deleteMethod(""); } long end = System.currentTimeMillis(); System.out.println("seconds running: "+ (end-begin)/1000); } luke noel-sto

Java Client - putMethod for a new file in a new directory

2004-04-27 Thread luke noel-storr
Hi, Using the slide Java client I'm trying to create a new file which I want to create in a directory that doesn't yet exist. I've tried several things, but can't get any to work. Say for example I want to create a new file at the URL: http://localhost:8080/slide/files/data/bob/newfile and the