Re: Locking problem in Slide 2.1 M1

2004-07-14 Thread Oliver Zeigermann
Ah, I see. The lock owner thing changed from 2.0 beta to 2.0 final. So it would be no good to stick with 2.0 because of that. Andrey Shulinsky wrote: From which code base are you migrating? 1.0.x? 2.0 Beta. We've experienced 3 issues so far - the one you've just helped me with +

Re: Locking problem in Slide 2.1 M1

2004-07-14 Thread Oliver Zeigermann
Andrey Shulinsky wrote: Just checked that this was the same in the final 2.0 release. This is the way it should be: 2.1 should be as compatible as possible to 2.0, but we can not take care of backward compatibility to 1.0.x - sorry for that... Fair enough, that's why we chose Slide 2.0 Beta

RE: UNLOCK request causing Read-Only Word

2004-07-14 Thread Arnis Ziedins
One possible reason may be the IE caching and the shortcuts in Recent documents. Try do add extension to your id, you can remove it later in your code, something like http://host/slide/12345.doc. Adding no-cache header to the response may help. By the way,

Re: webdav in Jsp??

2004-07-14 Thread Slide Tao
hi, thx for your reply fisrt. the architecture you said is what I want, but I wonder how to do that. for example, I want to use the getMethod from WebdavResource class to download file in slide. but if I write the getMethod in jsp page, actually ,the jsp page runs in jsp container(server

MS Web Folders as client on Win2k

2004-07-14 Thread Demosthenous, Pan
Hi, Is there a known issue with using a Web Folder (IE6-File-Open-Open as Web Folder) to access Slide on Windows 2000 sp4? Ive just downloaded the binary release 'jakarta-slide-2.1M1-tomcat-5.0.19'. On trying to open the Web Folder I get the following error: Internet Explorer could not open

Re: Problem with slash in usernames in an NT Domain

2004-07-14 Thread Jacob Lund
Hi Andy! Thy to add following parameter to the file and descriptors store in the domain.xml (I assume by your mail that you are using the TxFile store): parameter name=url-encode-pathtrue/parameter That should solve the problem with backslash in windows file system. This will also solve some

JCA WebDAV Connector finally working

2004-07-14 Thread Oliver Zeigermann
Folks! I finally made it to get the WebDAV JCA connector and the example running. I have to admit that the code is of pretty poor quality, but I had only little time and wanted to finish this before feature freeze for 2.1. I am sincerely sorry for this and I will take care of it ASAP. Anyway,

RE: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Ritu Kedia
Or else you could set *auto-create-users* to true under Configuration Node in Domain.xml. The user authenticated by your JDBCRealm will be auto-created in Slide if it does not already exist. -Original Message- From: Jacob Lund [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 6:09

RE: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Fallin, Jonathan A.
Just add auto-create-userstrue/auto-create-users inside the configuration tag in Domain.xml -Original Message- From: Claudio Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 9:56 AM To: Slide Users Mailing List Subject: Re: Using a JDBCRealm for authentication on

Re: webdav in Jsp??

2004-07-14 Thread James Mason
The basic concept here is that your .jsp application translates plain HTTP requests into WebDAV requests to Slide. When the web browser requests a file you execute a getMethod() on a WebdavResource to fetch the file from Slide, then you stream the resulting file to the web browser in the response.

RE: UNLOCK request causing Read-Only Word

2004-07-14 Thread Fallin, Jonathan A.
Arnis, Thanks for your response. Adding the extension like http://host/slide/12345.doc worked and causes Word to open the files Read/Write. Seems strange since the HTTP response includes the application/msword MIME type. That is, after all, how IE knows to open the document in Word in the

RE: Locking problem in Slide 2.1 M1

2004-07-14 Thread Andrey Shulinsky
-Original Message- From: Slide Users Mailing List [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:27 AM To: [EMAIL PROTECTED] Subject: Re: Locking problem in Slide 2.1 M1 Importance: Low Andrey Shulinsky wrote: Just checked that this was the same in the final 2.0

Re: webdav in Jsp??

2004-07-14 Thread
thanks, your description is very clear. actually, the WebDAV do work in server side, it pass the inputstream to or get outputstream from web browser. the download and upload process between client and server is handled by http request/response, right? From: James Mason [EMAIL PROTECTED]

Re: webdav in Jsp??

2004-07-14 Thread James Mason
That sounds about right. [EMAIL PROTECTED] 7/14/2004 8:59:42 AM thanks, your description is very clear. actually, the WebDAV do work in server side, it pass the inputstream to or get outputstream from web browser. the download and upload process between client and server is handled by http

Re: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Claudio Carvalho
I did that, but I think it doesn't work... do you know how I check if it works? Thanks. - Original Message - From: Fallin, Jonathan A. [EMAIL PROTECTED] To: 'Slide Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:47 AM Subject: RE: Using a JDBCRealm for

getting the authentication out of a javax.servlet.http.HttpServletRequest?

2004-07-14 Thread schmaus
Hi there, I have a api question, that I could not find out after 2 hours of javadoc reading. Maybe someone knows it and can help. I write a servlet, that exposes a webdav repository vie http. Therefore I'm using the slide Client-Api. I want to construct a org.apache.webdav.lib.WebdavResource

Re: MS Web Folders as client on Win2k

2004-07-14 Thread Oliver Zeigermann
Could you put something like this to the FAQ, please? Or to the Wiki? Thanks a lot! Oliver James Mason wrote: Yes. Check out http://greenbytes.de/tech/webdav/webfolder-client-list.html#version-8.103.5219.0. The actual problem is the redirect-on-propfind error, and it only seems to effect Win2k SP4

Re: how to use response to send outputstream back to client

2004-07-14 Thread James Mason
Use WebdavResource.getMethodData() to get an InputStream for the file. Use response.getOutputStream() to get an OutputStream to which you can write the InputStream. Be sure to set appropriate headers on the response to indicate file type/length/etc. -James [EMAIL PROTECTED] 7/14/2004 9:50:13 AM

Re: Locking problem in Slide 2.1 M1

2004-07-14 Thread Oliver Zeigermann
Andrey Shulinsky wrote: -Original Message- From: Slide Users Mailing List [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:27 AM To: [EMAIL PROTECTED] Subject: Re: Locking problem in Slide 2.1 M1 Importance: Low Andrey Shulinsky wrote: Just checked that this was the same in

Re: MS Web Folders as client on Win2k

2004-07-14 Thread James Mason
Well, I already put a page on there for WebFolderIssues that links to that site. If you want I can enumerate some specific problems. This is the only one I know of that actually breaks anything (the rest are annoyances) so it might be worth mentioning specifically. -James [EMAIL PROTECTED]

Re: plx help for oracle sotre!!

2004-07-14 Thread Davide Savazzi
On Tuesday 13 July 2004 11:04, wrote: org.apache.slide.store.impl.rdbms.JDBCStore - EMERGENCY - Could not create connection. Reason: org.apache.commons.dbcp.SQLNestedException: Connect failed, cause: Could not create a validated object It seems a dbcp / connection problem... Can you post

newbie help

2004-07-14 Thread Jimmy Yu
I am new to slide WebDAV project, would like to do some research into these subjects for my work. However I have a problem finding the correct download for org.apache.util jar file(s)? The download binary page have a lot of available files listed, but I can't seem to find one that says util.

Re: newbie help

2004-07-14 Thread Jimmy Yu
I have found it, please disregard my request for now... possibly more questions later. 8-)) From: Jimmy Yu [EMAIL PROTECTED] Date: 2004/07/14 Wed AM 10:40:42 PDT To: [EMAIL PROTECTED] Subject: newbie help I am new to slide WebDAV project, would like to do some research into these

RE: Date Format in Slide 2.0

2004-07-14 Thread Andrey Shulinsky
Hi, Claudio! Does anybody know how can I change the date format of Last Modified in Slide 2.0? You could use the public java.util.Date getLastModifiedAsDate() method of the NodeRevisionDescriptor class. It returns Date which you could format any way you like. Or do you want to

Re: Date Format in Slide 2.0

2004-07-14 Thread Claudio Carvalho
Hi Andrey, Thank you very much, but I think I wasn't very specific in my email, but what I need is: Change the format the date is displayed, as you can see in the picture below. Thanks

Re: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Claudio Carvalho
Hi, I couldn't get the auto-create-users working properly, and I just noticed that when I'm not logged I'm able to see the contents of http://localhost:808/slide/files..., but if I'm logged I have this error HTTP Status 403 - Forbidden: Access denied /files/produtos/jcompany/javadoc/index.html

Re: how to use response to send outputstream back to client

2004-07-14 Thread Haipeng Du
But there is no write method in outputstream that could write a inputstream. could I just use method write(byte [] ) in outputstream? thanks a lot.. haipeng From: James Mason [EMAIL PROTECTED] Reply-To: Slide Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: how to use

please: getting the authentication out of a javax.servlet.http.HttpServletRequest?

2004-07-14 Thread schmaus
Hi, nobody who can help me, how to get the authentification out of a servlet request? I want to give it to the constructor of a WebDavResource. See the afternoon mail for details. Thanks, Frank - To unsubscribe, e-mail: [EMAIL

Re: getting the authentication out of a javax.servlet.http.HttpServletRequest?

2004-07-14 Thread Davide Savazzi
On Wednesday 14 July 2004 18:27, [EMAIL PROTECTED] wrote: I want to have the servlet using some http authentication. But how can I forward this to the org.apache.commons.httpclient.HttpURL That I need to construct the WebdavResource? There is a method getRemoteUser() in