Re: Put problem with Slide 2.0
You are right! There actually are performance problems with versioning of large numbers of files. There has been a workaround by Martin Holz that takes care of it. I do not know if it is around in the lists or somewhere else. Martin, would you consider sending it to the list again? Maybe we should add it as an option to Slide as we originally discussed? Oliver Shuji Aono wrote: Hi, I have a problem in put. I'm running version 2.0 of slide server and client library. A database uses Postgres. auto-version-control is Ture. 1. I do PUT of a new file. 2. I update a file of 1. 3. I do PUT with the file which I updated of 2. These 1000 times of processing repeats themselves Then it takes it more than one minute though a response returns. It is not born practical use. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: administration web-frontend for slide?
Hi James (and all the others) I installed cocoon, but could not find any kind of configuration frontend. It has millions of examples, but still everything looks like being configured serverside with xml files. For a university project I'd need some easy webfrontend for configuring users and rights for webdav folders and files. I can not imagine, that nothing like that is already implemented. A simple servlet implementing the basic client functionality of the slide-api would do. Can someone help? Grüße, Frank James Mason wrote: Frank, Cocoon does have a Slide admin interface. Cocoon 2.1 has Slide 2 bundled in by default. For users/roles the interface works quite well, but I've found it a bit lacking for dealing with files/folders. -James - 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: How do I get checkout to create copy in workspace?
Where did you read about a Target-Selector? Usually you create a version controlled resource in a workspace by using a VERSION-CONTROL request. If you use WebdavResource you can call the method versionControlMethod(String path, String target), where path is the new resource to be created and target the path to an existing version from which you want to fork. Ingo More research tells me that I need to add a Target-Selector: url of workspace field to the request header. Does slide support this feature? How do I include an arbitrary header using the client API? Any help is appreciated... - Original Message - From: kranga [EMAIL PROTECTED] To: Slide Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 21, 2004 3:17 PM Subject: How do I get checkout to create copy in workspace? I've created a workspace for my user but am unable to figure out what command causes a checkout to be placed in the workspace? Also, is there a way to copy latest copies of all files in the collection to be copied to the workspace, but not overwrite user modifications for checked-out files? Thanks K - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot browse WebDAV in Windows XP
I had this XP log on issue, whereby xp insisted on appending a hostname to the login. It only happens on certain xp clients. In my case I was running slide on port 80 (for firewall reasons), so entering the url in the add network places wizard would be something like : http://x.x.x.x/slide/files This resulted in the issues as described. However when i appended the port number i.e. http://x.x.x.x:80/slide/files the issue stopped. That is XPO stopped appending a host and logged in perfectly. I'll add a cautionary note however, XP on some versions has an issue with slide running on port 80, it suffers from the infinite directory problem, where by the directory listing contains itself!!! Try explaining that one to your users. (This issues is know and can be seen under http://greenbytes.de/tech/webdav/webfolder-client-list.html as file-mismatch) You have been warned!! PS The solution is not to use port 80 which is a royal pain and defats the object in many cases!! PPS I am not actually running the app server on port 80 (root access!!), its being masqueraded via port 80 through the firewall Al On Mon, 21 Jun 2004 07:53:31 -0700 (PDT), Bernard Sirius [EMAIL PROTECTED] wrote: Er, that doesn't work either on my machine. BUT, I have a workaround now... with a price tag: south river technologies' WebDrive. Runs like the wind ! I'll stick with this for the moment, as it's more important for me right now to understand what Slide can actually bring me... --- Andrey Shulinsky [EMAIL PROTECTED] wrote: Hi there! I had the similar problem and solved it by turning off the authentication for the OPTIONS method in Slide's deployment descriptor: security-constraint web-resource-collection web-resource-nameDAV 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 /web-resource-collection auth-constraint role-nameroot/role-name role-nameuser/role-name /auth-constraint /security-constraint XP WebFolders client issues the OPTIONS request first, it fails because you've not been authenticated yet but for some reason I don't know the client doesn't ask for your credentials. Either Slide doesn't return the 401 response or WebFolders don't expect it... or... or something else happens. I haven't looked into the problem thoroughly. I wonder if there are better solutions then the one I'm suggesting... Yours sincerely, Andrey. -Original Message- From: Slide Users Mailing List [mailto:[EMAIL PROTECTED] Sent: Sunday, June 20, 2004 7:23 PM To: [EMAIL PROTECTED] Subject: Cannot browse WebDAV in Windows XP Importance: Low Hi, I'm trying to browse my fresh slide installation with xp. It all works perfectly with my regular browser, but I cannot add a new Network Place... The password is never recognized. I have done everything like is said in the documentation (auth-constraint stuff) and tested several things, but the password simply isn't recognized. In fact, xp doesn't allow me to enter root as username, and systematically prepends localhost/ to it. Any idea ? Bernard __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail - 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] __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
Re: How do I enable DEBUG logging?
James Mason [EMAIL PROTECTED] writes: I'm using the 2.0/Tomcat 5 bundle. I've set org.apache.slide.debug to true in slide.properties, but that doesn't seem to have had any effect. Putting a log4j.properties file in the root of the classpath with the appropriate settings doesn't have any effect. So I'm at a loss :). Can someone explain where Slide's logging system gets its properties from and how I can modify them? You should also set the logger-level in Domain.xml to 7. Regards Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I get checkout to create copy in workspace?
Look at http://www.webdav.org/deltav/scenarios/scenarios-00-1.htm#_Toc475158795 section 3.2 - Original Message - From: Ingo Brunberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 4:19 AM Subject: Re: How do I get checkout to create copy in workspace? Where did you read about a Target-Selector? Usually you create a version controlled resource in a workspace by using a VERSION-CONTROL request. If you use WebdavResource you can call the method versionControlMethod(String path, String target), where path is the new resource to be created and target the path to an existing version from which you want to fork. Ingo More research tells me that I need to add a Target-Selector: url of workspace field to the request header. Does slide support this feature? How do I include an arbitrary header using the client API? Any help is appreciated... - Original Message - From: kranga [EMAIL PROTECTED] To: Slide Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 21, 2004 3:17 PM Subject: How do I get checkout to create copy in workspace? I've created a workspace for my user but am unable to figure out what command causes a checkout to be placed in the workspace? Also, is there a way to copy latest copies of all files in the collection to be copied to the workspace, but not overwrite user modifications for checked-out files? Thanks K - 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]
Property Namespaces question
Hi, Can someone do me the favour of answering this question. Why when I connect to a IIS WebDAV server when i call property.getName() on a property it is prefixed by 'a:' and for Slide it is prefixed by 'D:' when I explicitly enter my namespace when creating the property. Is there a standard in the protocol for this or is this vendor independant, and why does it not prefix with the namespace I entered. Cheers Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Authentication
Hello, I'm installing a bundle version 2.1M1 of slide server with a standard configuration (with active authentication). I'm using windows XP and when I connect a webdav client (standard webdavclient, DAVExplorer, .) to the slide server, I never enter in a authentication step. Can someone help me ? Thanks. __ Julien MONTOYA * 06.62.79.22.83 ENSEEIHT - Toulouse FRANCE __
Re: How do I enable DEBUG logging?
I use the following way: - in your domain.xml add the following to the root element named slide slide logger=log4j.Log4jLogger logger-level=6 (I think logger.level may any up to 7) - put a log4j.properties file to your slides WEB-INF/classes path and config what do you want to log Hope this helps, Stefan James Mason wrote: I'm using the 2.0/Tomcat 5 bundle. I've set org.apache.slide.debug to true in slide.properties, but that doesn't seem to have had any effect. Putting a log4j.properties file in the root of the classpath with the appropriate settings doesn't have any effect. So I'm at a loss :). Can someone explain where Slide's logging system gets its properties from and how I can modify them? Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ++ || | Stefan Lützkendorf| || | Institut für Terminologie und | | angewandte Wissensforschung (itaw) GmbH | || | Sitz: Georgenstr. 35 | |10117 Berlin| | Tel.: ++49 (030) 30 86 20 84 | | Fax : ++49 (030) 30 86 20 87 | || ++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSR 147 and JSR 170 ETA
Is there a link to a discussion of when Slide will support JSR 147 and JSR 170? Thanks. Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Authentication: fail to change password
Hi, I'm using Slide 2.0 rc1 in a Tomcat 5.0.19 server. Slide uses the SlideRealm for authentication. I am able to connect the server under the default identities (root, john, john2, guest) with the default (null) password. Then I connect as root with DAVExplorer (0.90). I am able to change the 'password' property, everything works fine. Except that the property doesn't seem to change: as I try to log in after that, the correct password is still the default null password. Actually, and after thorough testing, it appears that property changes are only reflected on the authentication after a server restart. Question is : how can I reliably change the password property so that it reflects on the authentication mechanism without having to restart the server ? Thanks and regards J.B - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: administration web-frontend for slide?
Frank, In Cocoon 2.1.5 the Slide block is at /cocoon/samples/blocks/slide/ I believe. You should be able to follow that link path, at least (click on samples, then blocks, then slide). If you log in as root/root you can create collections, add users, modify properties and permissions, etc. In order to upload files with this interface you'll need to enable uploads for the Cocoon servlet (I think in WEB-INF/web.xml). It may just be my setup but I think the permission management piece in Cocoon 2.1.5 had some bugs. If you notice that too try downgrading to 2.1.4. Also, Slide 2.1 is supposed to have a new admin webapp. I don't know anything about it, but maybe someone else can give you more info and an expected release date. -James [EMAIL PROTECTED] 6/22/2004 1:54:57 AM Hi James (and all the others) I installed cocoon, but could not find any kind of configuration frontend. It has millions of examples, but still everything looks like being configured serverside with xml files. For a university project I'd need some easy webfrontend for configuring users and rights for webdav folders and files. I can not imagine, that nothing like that is already implemented. A simple servlet implementing the basic client functionality of the slide-api would do. Can someone help? Grüße, Frank James Mason wrote: Frank, Cocoon does have a Slide admin interface. Cocoon 2.1 has Slide 2 bundled in by default. For users/roles the interface works quite well, but I've found it a bit lacking for dealing with files/folders. -James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSR 147 and JSR 170 ETA
hi richard there's an implementation of jsr 170 in the cvs (jakarta-slide/proposals/jcrri). it implements v. 0.13 of the spec (i.e. the public review version). the implementation represents work-in-progress and i am constantly working on it, implementing missing features, fixing bugs etc. consider it an alpha version ;) for a demo of the ri check out: http://jsr170tools.day.com/ cheers stefan -Original Message- From: Richard Emberson [mailto:[EMAIL PROTECTED] Sent: Dienstag, 22. Juni 2004 17:48 To: Slide Users Mailing List Subject: JSR 147 and JSR 170 ETA Is there a link to a discussion of when Slide will support JSR 147 and JSR 170? Thanks. Richard - 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: How do I enable DEBUG logging?
Stefan, That worked great. Thanks. -James [EMAIL PROTECTED] 6/22/2004 1:21:06 AM I use the following way: - in your domain.xml add the following to the root element named slide slide logger=log4j.Log4jLogger logger-level=6 (I think logger.level may any up to 7) - put a log4j.properties file to your slides WEB-INF/classes path and config what do you want to log Hope this helps, Stefan James Mason wrote: I'm using the 2.0/Tomcat 5 bundle. I've set org.apache.slide.debug to true in slide.properties, but that doesn't seem to have had any effect. Putting a log4j.properties file in the root of the classpath with the appropriate settings doesn't have any effect. So I'm at a loss :). Can someone explain where Slide's logging system gets its properties from and how I can modify them? Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ++ | | | Stefan Lützkendorf | | | | Institut für Terminologie und | | angewandte Wissensforschung (itaw) GmbH | | | | Sitz: Georgenstr. 35 | | 10117 Berlin | | Tel.: ++49 (030) 30 86 20 84 | | Fax : ++49 (030) 30 86 20 87 | | | ++ - 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: Authentication: fail to change password
Hi, In my previous message, I had been trying to perform manually what is used in the Slide-Tomcat bundle. Looks like I forgot something. Now I use the bundle. Property changes work. But as it comes to a freshly created user, nothing works. I create a collection, put a 'password' property with the 'http://jakarta.apache/org/slide/' namespace. And when I try to log in with the user, I receive a 403 error. So: What is *the* way to add a new user in Slide in order to be able for her to log in ? At least in the case of the tomcat bundle... It looks like it might be useful to write an FAQ on the subject since many people seem to have the same problem :) Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: FAQ Entry for adding a user ???
Paul, I tried sending this to you directly, but I keep getting mail undeliverable errors. Hopefully you get this at some point. Send an email to Oliver at [EMAIL PROTECTED] with your document attached. It looks really good. Thanks for putting this together. A lot of people have been asking this question lately, so it will be nice to have something to point them to. I don't know if my email reader just messed up or what, but from step 2 on down all of the screen shots look like they're the same image. From the text you wrote I don't think that's what you had in mind :). Just something to check. -James Paul Hussein [EMAIL PROTECTED] 6/22/2004 7:36:02 AM Sorry to send to you but slide list rejected my post as too big. How can I get this on the slide website. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Authentication: fail to change password
You need to add the user to a role as well. You do this by setting the DAV:group-member-set property on the role you want to user to have to a value that contains the user's uri. Please note, you can append to this property, you must overwrite it. Therefor you need to include all of the users that currently have this role as well as the new user. Send a proppatch to the role (/roles/user, for instance) with a value of: ![CDATA[D:href xmlns:D='DAV:'/users/john/D:hrefD:href xmlns:D='DAV:'/users/john2/D:hrefD:href xmlns:D='DAV:'/users/root/D:hrefD:href xmlns:D='DAV:'/users/the-new-username/D:href]] There's a document in the works that runs through all of the steps to do this. Check the Slide site in a few days. -James [EMAIL PROTECTED] 6/22/2004 10:42:42 AM Hi, In my previous message, I had been trying to perform manually what is used in the Slide-Tomcat bundle. Looks like I forgot something. Now I use the bundle. Property changes work. But as it comes to a freshly created user, nothing works. I create a collection, put a 'password' property with the 'http://jakarta.apache/org/slide/' namespace. And when I try to log in with the user, I receive a 403 error. So: What is *the* way to add a new user in Slide in order to be able for her to log in ? At least in the case of the tomcat bundle... It looks like it might be useful to write an FAQ on the subject since many people seem to have the same problem :) Regards - 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]
Example Java Servlets for accessing data in Slide?
I am very new to Slide. Are there any example Java Servlets for extracting and inserting data into slide? I would like to extract an html file located in the following directory: http://localhost:8080/slide/files/BradSimonin The file is Brad.html Thank you in advance, --Brad Simonin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
getting 401 error code
I downloaded the webdav java client, and I'm trying to use it embedded in a webapp to an existing webdav (not sure exactly what brand). The problem I'm having is that when I try to create a WebdavResource ala: WebdavResource res = new WebdavResource(https://drs.domain.net/webdav/,blahblah) I'm getting a 401 error code. If I load this url into a browser, I get the webdav fine. What am I missing? -- Michael Stover [EMAIL PROTECTED] Apache Software Foundation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: getting 401 error code
401 means unauthorized. You need to pass a valid username/passworld pair. Either use WebdavResource.setUserInfo() or pass them as part of the url: http://user:[EMAIL PROTECTED]:port/path/to/file/ -James [EMAIL PROTECTED] 6/22/2004 1:00:50 PM I downloaded the webdav java client, and I'm trying to use it embedded in a webapp to an existing webdav (not sure exactly what brand). The problem I'm having is that when I try to create a WebdavResource ala: WebdavResource res = new WebdavResource(https://drs.domain.net/webdav/,blahblah) I'm getting a 401 error code. If I load this url into a browser, I get the webdav fine. What am I missing? -- Michael Stover [EMAIL PROTECTED] Apache Software Foundation - 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: getting 401 error code
Sweet! That did it. I had thought I was covered with the HTTPClient Credentials object, but I guess that only applies to the proxy server... Thank you! -Mike On Tue, 2004-06-22 at 16:13, James Mason wrote: 401 means unauthorized. You need to pass a valid username/passworld pair. Either use WebdavResource.setUserInfo() or pass them as part of the url: http://user:[EMAIL PROTECTED]:port/path/to/file/ -James [EMAIL PROTECTED] 6/22/2004 1:00:50 PM I downloaded the webdav java client, and I'm trying to use it embedded in a webapp to an existing webdav (not sure exactly what brand). The problem I'm having is that when I try to create a WebdavResource ala: WebdavResource res = new WebdavResource(https://drs.domain.net/webdav/,blahblah) I'm getting a 401 error code. If I load this url into a browser, I get the webdav fine. What am I missing? -- Michael Stover [EMAIL PROTECTED] Apache Software Foundation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Which Slide jar files do I need to have in my classpath?
I am looking at developing Servlets/Portlets using Slide. Does anyone know which Slide jar files do I need to have in my classpath? Thank you in advance, --Brad Simonin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Which Slide jar files do I need to have in my classpath?
Brad, You'll need to be a bit more specific. If your servlet/portlet is going to run on the same server as Slide (integrated with the server, so to speak), then you'll need the jar files from the lib directory in the jakarta-slide-server-bin-2.0 download. If your servlet/portlet is going to be a client that accesses a remote Slide server, you'll need jar files from the lib directory of the jakarta-slide-webdavclient-bin-2.0 download, minus the command-line jar. You can adjust the version numbers as necessary, but every release has two downloads that come preconfigured with a Tomcat server, and one download that comes without. If you're just wanting the jar files then get the download that comes without Tomcat. -James [EMAIL PROTECTED] 6/22/2004 3:22:05 PM I am looking at developing Servlets/Portlets using Slide. Does anyone know which Slide jar files do I need to have in my classpath? Thank you in advance, --Brad Simonin - 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]