Re: Adding a non-inheritable permission to a folder using webdav clie nt lib not working

2004-10-26 Thread Ingo Brunberg
You can't set a permission that is inherited. Inherited means the ACE is really inherited (believe me) from a parent resource. In fact you should filter the ACEs with the inherited flag set before calling the aclMethod(). Luckily the client library does this for you. Ingo Hi, I have

Re: auto-versioning diff between JDBC and File store

2004-10-19 Thread Ingo Brunberg
Every PROPPATCH creates a new version provided that the auto-version parameter is set to checkout-checkin. Make sure you have both parameters, auto-version and auto-version-control, set to the same value when comparing stores. If you don't want a PROPPATCH to create a new version you have to

Re: Need help: Facing Connection reset: Read timed out: problem when invoking any method on WebdavResource after PUT

2004-10-14 Thread Ingo Brunberg
The first thing that comes to my mind is that Weblogic might not be able to handle the chunked transfer encoding correctly that is used when your upload source is a stream. It looks like it cannot detect the end of the request body. I would rather expect this to be a Weblogic problem than a bug

Re: Need help: Facing Connection reset: Read timed out: problem w hen invoking any method on WebdavResource after PUT

2004-10-14 Thread Ingo Brunberg
client (which now is null). 4. Is there any other better fix for this issue? Fix Weblogic or don't use chunked encoding. Regards, Ingo Thanks again, Ritu -Original Message- From: Ingo Brunberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 8:16 PM To: [EMAIL

Re: class for BpropFindMethod

2004-10-01 Thread Ingo Brunberg
I could not have said this better myself. Ingo BPropfind allows you to arbitrarily specify resources that you want to do a propfind on. If all your resources are within a folder, then you can always vary the depth value to get all the information (and perhaps more). Microsoft is as usual

Re: Move method changes displayname property?

2004-09-28 Thread Ingo Brunberg
Ok, it was all just a misunderstanding :-) There is an option in the Domain.xml update-displayname that is a config option for the MacroUpdater listener. The value is set to true by default so that for many operations (move included) the displayname is automatically updated to the filename.

Re: WebdavResource deleteMethod for non-empty Collections

2004-09-20 Thread Ingo Brunberg
, Simone Gianni Ingo Brunberg wrote: This is the same problem as with a PROPPATCH with multiple properties. The methods in WebdavResource simplify things too much in returning only a boolean value for these methods that can be partially successful. Returning false would not be the right thing

Re: WebDAV client: chown - changing owner of folders

2004-09-17 Thread Ingo Brunberg
I think what you intend to do is to change the DAV:owner property. That doesn't require more than a PROPPATCH request. But note that on some servers this property might be protected so that you cannot change it via WebDAV. Regards, Ingo Hi, I wonder if someone asked already for this (i

Re: WebdavResource deleteMethod for non-empty Collections

2004-09-17 Thread Ingo Brunberg
This is the same problem as with a PROPPATCH with multiple properties. The methods in WebdavResource simplify things too much in returning only a boolean value for these methods that can be partially successful. Returning false would not be the right thing either. If you have a good idea how to

Re: Version of commons-httpclient.jar

2004-09-16 Thread Ingo Brunberg
the client uses too. -Original Message- From: Ingo Brunberg [mailto:[EMAIL PROTECTED] Sent: Friday, July 30, 2004 9:44 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: httpclient code It's more recent than the 2.0 release, since there were some important bugfixes

Re: plx help a common question:get and recover history file

2004-09-16 Thread Ingo Brunberg
Have you already tried the UPDATE method? That makes your version-controlled resource represent a specific version from its version history. Ingo hi,friends, this is a common question(I think). I use web Client API to retrieve the versions of a given file. But after that, I want to

Re: Defect submissions to CVS?

2004-09-10 Thread Ingo Brunberg
Hi Warwick, I'm still aware of your submisions, but I had no time to work on them yet. Please be a little patient. Ingo P.S The most urgent problem is the comparison between esacped and unescaped paths in the UNLOCK method. You see, I' aware of that also. Hi, I was wondering if anyone has

Re: URLGetMethod.executeMethod is hanging under multi threaded en vironment

2004-09-09 Thread Ingo Brunberg
So under what circumstances would we see a problem if we don't use the MultiThreadedHttpConnectionManager in the WebDAV client? Anytime we try to use a multithreaded client configuration?? Warwick -Original Message- From: Ingo Brunberg [mailto:[EMAIL PROTECTED] Sent

Re: searchmethod, responsestate 422

2004-09-09 Thread Ingo Brunberg
Try with searchrequest instead of searchRequest and basicsearch instead of basicSearch. Ingo hi sliders i'm trying to do a search in slide with the dasl-search, but recieving state 422 all the time... the request-xml (built with jdom): d:searchRequest xmlns:d=DAV: d:basicSearch

Re: searchmethod, responsestate 422

2004-09-09 Thread Ingo Brunberg
And your scope is missing a depth. Try with searchrequest instead of searchRequest and basicsearch instead of basicSearch. Ingo hi sliders i'm trying to do a search in slide with the dasl-search, but recieving state 422 all the time... the request-xml (built with jdom):

Re: Error in command line client lib?

2004-09-08 Thread Ingo Brunberg
Yes, the problem is the httpclient library that does not allow '@' signs in usernames. I have already submitted a patch to the Httpclient developers. Ingo My username is an email address and this fails with an invalid port number error when I attempt to authenticate and connect to the slide

Re: URLGetMethod.executeMethod is hanging under multi threaded en vironment

2004-09-08 Thread Ingo Brunberg
) { manager = new MultiThreadedHttpConnectionManager(); manager.setMaxTotalConnections(30); manager.setMaxConnectionsPerHost(10); } client = new HttpClient(manager); --- Ingo Brunberg [EMAIL PROTECTED] wrote: This is how I am getting the Client Instance

Re: httpexception when creating instance of webdavresource

2004-09-07 Thread Ingo Brunberg
? stefan Ingo Brunberg wrote: here's the stacktrace of the exception, how can i make a session-trace? tcpmon (part of Axis), ethereal, qdpf, ... The stacktrace does not help much indeed. Ingo stefan 46 [main] INFO ch.previon.deponejo.slide.WebDavClient

Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-06 Thread Ingo Brunberg
First, this is not quite the right list for asking this question. It would have better been asked on the commons-httpclient-dev list. But anyway, your code snippet does not show how you create the HttpClient instance that you use. Be aware that by default you get one that uses the so called

Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-06 Thread Ingo Brunberg
to surround the following two lines of your code given below with a synchronized(client) {} block: int status = client.executeMethod(getMethod); byte attachmentBytes[] = getMethod.getResponseBody(); Regards, Ingo thanks for trying to helping me Sudhakar --- Ingo Brunberg

Re: httpexception when creating instance of webdavresource

2004-09-03 Thread Ingo Brunberg
Stacktrace, trace of the session? hi slide-users i've developed a java-class based on the slide-client-api that acts as a webdav-client on a slide-server. until now i had my java-class in eclipse and it connects on a slide-server in the network (other box). works fine. now i'm trying

Re: Creating shortcut/symbolic using LinkNode and WebDAV client support

2004-09-03 Thread Ingo Brunberg
If you want something that is portable and supported by the client you should use Bindings and not LinkNodes. You will however need at least the client library of Slide 2.1b1. Regarding other WebDAV clients I have not heard of any that support Binding. Ingo I am using LinkNode to create

Re: httpexception when creating instance of webdavresource

2004-09-03 Thread Ingo Brunberg
) at org.apache.webdav.lib.WebdavResource.init(WebdavResource.java:290) at ch.previon.deponejo.slide.WebDavClient.init(WebDavClient.java:63) at ch.previon.deponejo.test.SlideTest.main(SlideTest.java:44) Ingo Brunberg wrote: Stacktrace, trace of the session? hi slide-users i've developed a java-class

Re: CVS label for the Slide 2.1 beta?

2004-08-31 Thread Ingo Brunberg
if that's the case. Warwick -Original Message- From: Ingo Brunberg [mailto:[EMAIL PROTECTED] Sent: Monday, August 30, 2004 11:08 AM To: [EMAIL PROTECTED] Subject: Re: CVS label for the Slide 2.1 beta? Ok. The changes that I saw in the head were actually more widespread than

Re: reportMethod

2004-08-27 Thread Ingo Brunberg
Could somebody explain reportMethod for me? If I have file with uri http//localhost:8080/slide/files/test.txt, how could I get all information about this one, for example: version number, history. Take the time to read the Delta-V spec you can find at www.webdav.org and search the slide-user

Re: Slide fixes to be reviewed

2004-08-27 Thread Ingo Brunberg
I'm pretty sure there's no bug related to spaces in pathnames in WebdavResource. But the commmand line client and the LockMethod may well have problems. I will have a look at the patches as soon as Warwick submits them. Ingo Hi I was having trouble with pathnames and spaces too, i'm designing

Re: Simplest config

2004-08-25 Thread Ingo Brunberg
If you want something simpler I would suggest you first have a look at the WebDAV servlet included in Tomcat. It sounds like that perfectly fits your needs. Regards, Ingo I am new to slide and have been mostly figuring it out thru RTFM, FAQs, etc. I was wondering, however, if there was a

Re: question about WebdavResource.exists()

2004-08-24 Thread Ingo Brunberg
I would recommend not to use exists() at all. Whenever I want to check the existence of a resource I simply use the HEAD method. For the given example: if (webdavResource.headMethod(/rootpath/files/test.txt) { // test.txt exists } Regards, Ingo All, Does anyone know how to use exists()

Re: Slide Revision Management + Revision History

2004-08-24 Thread Ingo Brunberg
Yes, the client library fulfils all your versioning needs. Just note that you should not use the Label header mentioned here because it is deprecated. Most tasks can be handled by the REPORT method. To download a particular version, issue a GET request against that version. You might also want

Re: how to use Binding in slide

2004-08-20 Thread Ingo Brunberg
The answer is simple. Use the client part of Slide 2.1-beta1. It has full support for Bindings in WebdavResource. Ingo All, I have some quesion about binding in slide, and I will describe my use case firstly, then ask the quesions. The admin user grant read privilege to user1 on

Re: Odd behavior with getChildResources of a Collection on WebSph ere

2004-08-20 Thread Ingo Brunberg
is not recognized as the default servlet even though the url-pattern under servlet-mapping, in web.xml is /: url-pattern//url-pattern I had to set the default-servlet init parameter to false. Regards, Ritu -Original Message- From: Ingo Brunberg [mailto:[EMAIL PROTECTED] Sent

Re: When setting up the webdavResource, How do I set custom properties.

2004-08-19 Thread Ingo Brunberg
You can of course request those custom properties with WebdavResource. But I guess your problem is still not solved. If you have a look at the request you generated you will see that it is missing the request body. You got a URIException, right? So again, please check your username. Ingo

Re: PLEASE HELP WebdavResource init error, invalid port number

2004-08-16 Thread Ingo Brunberg
I strongly suspect that your URL is wrong or at least Httpclient doesn't like it. Personally I'm unsure if it is legal. User and password are embedded in a URL like this: http://user:[EMAIL PROTECTED]:8080/somepath With your username your URL looks like: http://[EMAIL PROTECTED]:[EMAIL

Re: Client NTLM Authentication

2004-08-12 Thread Ingo Brunberg
In WebdavResource there are constructors where you can supply your credentials, for example: public WebdavResource(String escapedHttpURL, Credentials credentials) And I have got at least one report that it works. Ingo I'm trying to figure out how to use NTLM authentication with the Slide =

Re: How to find out about roles (see 16.-19. July) still no solution

2004-08-12 Thread Ingo Brunberg
One thing that strikes me immediately when looking over your post is the argument to propfindMethod() DAV:group-member-set. Either omit the namespace or better use a PropertyName. Ingo Hi there, I still have the problem that I don't get the group-member-set property. Nothing helped so far,

Re: How to find out about roles (see 16.-19. July) still no solution

2004-08-12 Thread Ingo Brunberg
Ah, I see the problem is the bad documentation of the methods in WebdavResource. I meant you should create a 'new PropertyName(DAV:, group-member-set)', put that into a Vector propVec and then call propfindMethod(DepthSupport.DEPTH_0, propVec). This should yield something you can work with. If

Re: Slide issues and 2.1 release

2004-08-10 Thread Ingo Brunberg
1. Is 2.1 beta release on schedule (Aug 10?) Yes 2. Can we expect some performance gains in 2.1? I have do some work for the file store. With other stores performance should be pretty much the same as in 2.0, I guess. 3. Also from publishing point of view, is there any slide

Re: newbie: CheckOut property

2004-08-10 Thread Ingo Brunberg
Take the following code snippet as a starting point: Vector propVec = new Vector(2); propVec.addElement(checked-in); propVec.addElement(checked-out); try { Enumeration e = resource.propfindMethod(DepthSupport.DEPTH_0, propVec); if (e.hasMoreElements()) { Enumeration props =

Re: Slide Client opening too many connections

2004-07-30 Thread Ingo Brunberg
Your assumptions are correct. The exisiting close() method does almost do nothing. I had also thought about fixing it the way you propose and will do so now. The price to pay for closing connections is that a new connection has to be created when you execute the next method. I have always

Re: User credentials while enumerating resources

2004-07-30 Thread Ingo Brunberg
That was my silly fault, because I silently tried a senseless optimization. Will correct it in a minute... Ingo I am using the webdavclient code from CVS since the current release is not = working for me. Everything is going along fine, except when I want to enume= rate resources inside a

Re: Slide Client opening too many connections

2004-07-30 Thread Ingo Brunberg
(); } setStatusCode(statusCode); return (statusCode = 200 statusCode 300) ? true : false; } Will this work? Carlos Ingo Brunberg wrote: Your assumptions are correct. The exisiting close() method does almost do nothing. I had also thought about fixing it the way you

Re: Problem with setWebdavProperties method

2004-07-30 Thread Ingo Brunberg
The URI class from Httpclient is correct. Slide, which is still using a very old variant of Httpclient for the server part, incorrectly escapes those characters. One of the developers noted this inconsistency between client and server versions not long ago. I guess someone really has to bring the

Re: Broken code in HEAD

2004-07-30 Thread Ingo Brunberg
Ooops, I really should test the modifications I make. I will correct this ASAP. Ingo I am now not even able to do simple calls like isDirectory on WebdavFile.= The offending code is as follows: The setClient(URL) method of WebdavResource looks like this: protected synchronized void

Re: httpclient code

2004-07-30 Thread Ingo Brunberg
It's more recent than the 2.0 release, since there were some important bugfixes. For the exact date see the CVS log. Ingo What version of the commons-httpclient code is being used with Slide in HEA= D? I have downloaded the 2.0 version of httpclient but the source doesn't s= eem to line up

Re: Facing problem with version-controlling a resource created by Cop y method in BindingStore

2004-07-23 Thread Ingo Brunberg
This looks like Slide fails to compute the getcontentlength if a resource is PUT using Transfer-Encoding: chunked. In fact there are statements in PutMethod that look like this: revisionDescriptor.setContentLength(req.getContentLength()); This is not sufficient. When using chunked

Re: Facing problem with version-controlling a resource created by Cop y method in BindingStore

2004-07-23 Thread Ingo Brunberg
. The fix is basically computing the length of the data from the InputStream by using *available* method. Regards, Ritu -Original Message- From: Ingo Brunberg [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 6:14 PM To: [EMAIL PROTECTED] Subject: Re: Facing problem

Re: Facing problem with version-controlling a resource created by Cop y method in BindingStore

2004-07-23 Thread Ingo Brunberg
Forgot to say, if you need a workaround now, just read the content into a byte array and pass that to putMethod(). Regards, Ingo Ritu, this needs to be fixed on the server side. Also your fix won't work in general because the available() method is not reliable for computing the length.

Re: Problem with put method, logfile paste

2004-07-16 Thread Ingo Brunberg
Hello again, now I have some logfile entries for the two things. the 4th line is the commandline client trying to put a file, the last line is the webfolder puting a file. It does some HEAD before. Does someone know what this means? What command does it fit in the command line client? I

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

2004-07-15 Thread Ingo Brunberg
I guess you will find it in the Java Mail API. Regards, Ingo Hi Davide, thanks for the help. There aren't methods for these, you have to read the request headers. With Basic HTTP Authentication you have a header named Authorization that should contains something like this: BASIC

Re: getting authentication: base64

2004-07-15 Thread Ingo Brunberg
You can use org.apache.tomcat.util.buf.Base64 inside tomcat-util.jar. I also found sun.misc.BASE64Decoder while googeling, which was, to my surprise, in my classpath. But now I face a strange problem, that I don't know any answer to: After having constructed the HttpURL Object, I call it's

Re: getting authentication

2004-07-15 Thread Ingo Brunberg
How can you call canRead() or canWrite() as these methods do not exist? And how exactly are you creating the WebdavResource ? Indeed there seems to be a problem with HttpURL. Looks like the password you have not set before (which therefore is null) causes the Exception. So simply call

Re: JCA implementation

2004-07-06 Thread Ingo Brunberg
I am currently in the process of designing a JCA implementation for Slide to plug it into J2EE servers. This will work by using a client libarary to pass WebDAV requests over to Slide. Questions: - I need to implement something that comes close to a connection to Slide. How should it

Re: putting a file in repository for first time

2004-07-05 Thread Ingo Brunberg
Hi Ingo, I took a look at the link. My problem is I do not want to do put(url,file). I want to do put(url,data). Is it possible? Yes, where should be the difference? Or do I have to create an empty file first and then put content? Thanks, Rd. Ingo Brunberg [EMAIL PROTECTED] wrote

Re: putting a file in repository for first time

2004-07-02 Thread Ingo Brunberg
Have a look at this thread: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=1701920 Hi, I am using wevdavresource class. When I want to first create the file say t2.txt in slide, how do I do it? When I try to use a Webdavresource constructor with non existing file, it returns

Re: Slide WebDAV Client API - Redirection

2004-07-01 Thread Ingo Brunberg
If I remember correctly cross host redirects are not supported by the 2.0 version of Httpclient that Slide is still using. I believe support for that was added in the 3.0 version which is still in alpha stage. Ingo I'm trying to write a javamail driver for Hotmail which is basically a webDAV

Re: Slide WebDAV Client API - Redirection

2004-06-29 Thread Ingo Brunberg
Unfortunately, WebdavResource is not (yet) calling setFollowRedirects(). So (for now) you'd have to exceute the method manually. Ingo How do I relate this with the creation of the WebDAV resource?? Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Re: Getting resources for a user

2004-06-29 Thread Ingo Brunberg
You could use DASL (SearchMethod) to look for all resources for which the property DAV:owner has a specific value. Ingo Hi, I am using slide Webdav client api. Is there any way I can get all resources owned/created by a paricular end user? Thanks, Revati

Re: mkColMethod

2004-06-25 Thread Ingo Brunberg
If there is an IOException it is thrown. For other reasons you should simply check the status code returned by calling resource.getStatusCode(). Ingo Not trying to be a smart aleck, but how do you check the tomcat console with code? I see a number of APIs return boolean instead of possibly

Re: How do I get checkout to create copy in workspace?

2004-06-23 Thread Ingo Brunberg
I think that article is very outdated. 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

Re: Property Namespaces question

2004-06-23 Thread Ingo Brunberg
That's because it doesn't really matter which prefix you use. It's just XML. The important part is the namespace itself which is bound to the prefix by a xmlns declaration. Ingo Hi, Can someone do me the favour of answering this question. Why when I connect to a IIS WebDAV server when i

Re: How do I get checkout to create copy in workspace?

2004-06-23 Thread Ingo Brunberg
versioncontrol to get it to the /files collection? - 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

Re: How do I get checkout to create copy in workspace?

2004-06-22 Thread Ingo Brunberg
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

Re: How can I determine what version has a given label

2004-06-18 Thread Ingo Brunberg
. This has been reported recently. The problem is that 255 characters is a too strict limit. Use text instead of varchar as the type of the field. If I remember correctly the schema has already been corrected in CVS. -Karthik - Original Message - From: Ingo Brunberg [EMAIL

Re: How can I determine what version has a given label

2004-06-16 Thread Ingo Brunberg
kranga wrote: I've tried using propfind path label-name-set and this returns blank. The label property holds a set of labels as a revision can have multiple labels. How do I query the labels out? Someone please help! You need to do your propfind (for label-name-set) on the version paths.

Re: URL Parsing Problem

2004-06-11 Thread Ingo Brunberg
Are you talking about the encoding done in the client library? That is handled by the Httpclient libs. As Julian already mentioned the '#' in the URL usually serves as a fragment identifier. Hence I am not sure if the URL that Microsoft produces is really a valid one. At least it was not a lucky

Re: How to create nested properties

2004-06-07 Thread Ingo Brunberg
Properties are Strings. Just construct the complex type within your application. Ingo I want to add a new nested property for a new file created on WebDav, like the properties supportedlock or resourcetype on files or collections. The problem is that the method

Re: Report Method is not returning versions in order (bug?)

2004-06-01 Thread Ingo Brunberg
This has already been discussed a while ago. Basically the response URLs are stored in a Hashtable. And a Hashtable doesn't preserve or guarantee the insertion order. Btw., do we have a valid decision now to require Java 1.4? If so we could easily replace the Hashtable by a LinkedHashMap. Ingo

Re: Overwriting Version Content/Properties

2004-05-28 Thread Ingo Brunberg
No, you cannot even alter the properties of an existing version with a PROPPATCH. Compare Delta-V to other version control systems: In CVS you normally cannot modify an existing version, too. If you don't want to have a particular version created just don't check it in. Remember you can change

Re: Adding Labels to Resource Versions

2004-05-26 Thread Ingo Brunberg
You can add labels to and get a specific version. But you first have to find out (via REPORT) where that version is located, because you need to act directly on that version (yes, that's how WebDAV works). And labels are supported by the server side of Slide. Ingo Need help with adding labels

Re: Adding Labels to Resource Versions

2004-05-26 Thread Ingo Brunberg
A CHECKIN does exactly what you cited: It effectively creates a new version as a copy (content and properties) of the version controlled resource. To create a new version with different content than the currently checked-in version controlled resource you first have to check-out the VCR, than

Re: JFileChooser for WebDAV

2004-05-26 Thread Ingo Brunberg
Yes, I think there would be a great amount of interest and I would like to see it integrated in Slide's client library. As I have explained many times, we once had two such approaches in Slide, one that was never finished and one that was IMHO too complex and never working quite right. Now, I am

Re: Big file download problem.

2004-05-14 Thread Ingo Brunberg
for you email. do you mean I can use the setRequestHeader as setRequestProperty in java.net.HttpURLConnection? Could you give me an example for how to use the method? thanks a lot. From: Ingo Brunberg [EMAIL PROTECTED] Reply-To: Slide Users Mailing List [EMAIL PROTECTED] To: [EMAIL

Re: Big file download problem.

2004-05-13 Thread Ingo Brunberg
Of course you can do this. Just set an appropriate request header on the GetMethod - setRequestHeader(...) Ingo hi, it is a common idea, if a file is very big, we may hope the flie in slide can be downloaded off and on. As I know, the WebDAV is an extension of HTTP. The

Re: strange behaviour when overwriting resource with PUT command

2004-05-12 Thread Ingo Brunberg
To answer your first question: If you execute a PUT request, the 204 (No Content) is the right response to indicate success. The No Content refers to the response, not the request. I don't know for sure the answer to your second question, but I doubt that Slide ever generates a 304 response

Re: Slide Tomcat Sessions - Closing them

2004-05-11 Thread Ingo Brunberg
such as reportMethod() that take a HttpURL as a parameter. Cheers Luke. - On 10 May 2004, at 18:15, Ingo Brunberg wrote: This is indeed worth investigating. Calling getHttpURL() should really not create a new session. Maybe you can post a code snippet? Ingo After a bit

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread Ingo Brunberg
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. - Quoting Ingo Brunberg [EMAIL PROTECTED]: Do you actually have a problem with open sessions or is you interest rather

Re: Slide 2.0 - Webdav API Question / problem.

2004-05-10 Thread Ingo Brunberg
Hi, maybe I don't get your point. You state that - webdavResource.getChildResources().getResources() contains null elements - webdavResource.getChildResources().listResources() is correct. I would say that's not possible, because listResources() uses getResources() internally and it does not

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread Ingo Brunberg
Do you actually have a problem with open sessions or is you interest rather theoretical? As I explained some time ago, you should use WebdavResource in such a way that you call a WebdavResource constructor only once in your application. This way you have no more than one connection, so you should

Re: AW: adding properties to files

2004-04-30 Thread Ingo Brunberg
You get the 501 because you pass the complete URI instead of the path. Would be fine if it worked, but it's not really critical. So you may need: res.proppatchMethod(newRes.getPath() ,prop, val1, true); One general hint for using the client library: Don't create more than one WebdavResource via

Re: Problem use slide 2.0 beta connect to MS Exchange server through https

2004-04-07 Thread Ingo Brunberg
Ah, another example of a server that is returning the wrong status code. As you have noticed Catacomb returns a 200 in response to the REPORT request. This is wrong, as it really should return a 207. Because the library does a check for the right code you get no response elements. The library

Re: Problem use slide 2.0 beta connect to MS Exchange server through https

2004-04-07 Thread Ingo Brunberg
I did not receive the original e-mail, but anyway... Have you tried to recompile your code against 2.0b1? I guess you have not, else you would have noticed that the API has changed a bit. Ingo Hi, In 2003, we develop application use webdavlib in Slide 1.0.16 client to access Calendar of MS

Re: WebdavResource SearchMethod

2004-03-24 Thread Ingo Brunberg
The SearchMethod class should be fully functional. But the main problem is to create the body for the search request. There is no smart or automatic way of creating one. That's propably the reason why it's not integrated into WebdavResource yet, but that would be no problem. If you want to

Re: org.apache.webdav.lib.WebdavException

2004-03-01 Thread Ingo Brunberg
Are you using Slide 2.0beta1? My WebdavFile.java doesn't have 539 or even 658 lines. Ingo Another question, sorry it's my first time with dav and slide . how can i create a subdirectory : my code is : WebdavFile temp1 = new WebdavFile(new HttpURL(http://MyServer:80/Publish/titi;));

Re: directory includes blank caracter

2004-03-01 Thread Ingo Brunberg
Jean-Philippe Pattus wrote: Hello the list, my config is : - server side : an apache server plus a module for WEBDAV - client side : jakarta slide webdab client 2.0 beta1 my code is very simple : WebdavFile collectionDirectory = new WebdavFile(new

Re: org.apache.webdav.lib.WebdavException

2004-03-01 Thread Ingo Brunberg
This will not work, because the URL you try to access doesn't already exist. Either use a constructor where you can pass the action parameter 'NOACTION' or do this: HttpURL url = new HttpURL(http://MyServer:80/Publish;); WebdavResource temp1 = new WebdavResource(url);

Re: Slide and SSL

2004-02-26 Thread Ingo Brunberg
Hi, I apologize if this is a question answered somewhere already, although I have searched for such an answer in many places. I am new to Slide. I am trying to use WebDAV to connect over SSL. The WebDAVResource will not take an org.apache.commons.httpclient.HttpsURL as an argument, so

Re: Slide Dav session close in version 1.0.16

2004-02-03 Thread Ingo Brunberg
Slide 1.0.16 uses its own Httpclient version that later evolved into Commons Httclient, so the Javadoc you refer to doesn't apply to 1.0.16. Ingo Hi. Am I correct in thinking that version 1.0.16 uses the commons.HttpClient's endSession method which has no effect (as per Javadoc) and the

Re: Connecting to Slide using DAV Explorer

2004-01-30 Thread Ingo Brunberg
http://www.sharemation.com/your_user_name Also have you tried connecting to sharemation account through DAV Explorer? If yes, could you please give me the connection URL? Regards, Ritu - To unsubscribe, e-mail: [EMAIL

Re: Versioning Support in Slide

2004-01-30 Thread Ingo Brunberg
The Slide 2.0 Changelog says Preliminary support for Delta V in the client. What does this entail? More specifically is Put under version Control, Check Out, Check In of resources supported? Yes. Secondly, I have a generic WebDAV question regarding locking. From the Delta V specs it

Re: Open Document with system call

2004-01-29 Thread Ingo Brunberg
There is a relative simple solution. From within your client, just GET the PDF and save it to a temp file. Then launch Acrobat passing it the name of that temp file. Ingo Hello All! I'm having a rather difficult time trying to figure out how to open a PDF document (or any document for that

Re: Slide Client Admin

2004-01-26 Thread Ingo Brunberg
Naw Bentrad [EMAIL PROTECTED] writes: It works! But only with the Slide Server running on Tomcat 4.1. With Tomcat 5: ./run.sh http://localhost:8080/slide connect http://localhost:8080/slide Jan 23, 2004 11:32:45 AM org.apache.commons.httpclient.HttpMethodBase

Re: getDisplayName returns wrong value

2004-01-23 Thread Ingo Brunberg
Well, I can get the real displayname. Could you try again with the latest code? It's really easy to build. Just checkout jakarta-slide/webdavclient, cd to webdavclient and call ant. And how do you retrieve the resource exactly? Ingo The Webdav client code seems to be broken for

Re: Newbie Authentication Questions

2004-01-08 Thread Ingo Brunberg
In my understanding it should not matter if you use digest or basic authentication as these are handled transparently by httpclient. How about posting your code that uses httpclient directly? Ingo Hello all, I'm having a very difficult time understanding how to use authentication with the

Re: files/folders properties not being stored in file system

2003-12-19 Thread Ingo Brunberg
Just a note, you would get more support I you were using current CVS code / nightly builds, as 1.0.16 is very outdated although it's the last release. Regards, Ingo Hi, I am faced with the same problem.. -Original Message- From: Kotzian, Leszek [mailto:[EMAIL

Re: unable to view uploaaded files after restart

2003-12-17 Thread Ingo Brunberg
Hi Sliders, I have downloaded and successfully installed the Slide with tomcat on win 2K box. Firstly I have modified the parameter name=resetBeforeStartingfalse/parameter to false in Domain.xml for the files not to be deleted from the uploaded path. I assume

Re: Error: Check! No scheme: %9 on IPAQ Pocket PC

2003-12-16 Thread Ingo Brunberg
To eventually help you, I need more information. Which version of Slide are you using, how do you start the client exactly? Also a stack trace would be nice (really no chance to get one?). Ingo No response, I try again ... Thanks - Original Message - From: Dubois Olivier [EMAIL

Re: SlideApi: specify a major AutoVersion

2003-12-15 Thread Ingo Brunberg
I don't think this is possible. And it's not mentioned in the WebDAV specification. Compare this to the behavior of CVS: If you want to specify a particular version number for your program (which might be quite different from the CVS version number) you assign a tag. Similarly you could use the

Re: new namespace for Slide

2003-12-15 Thread Ingo Brunberg
Have a look at org.apache.webdav.lib.PropertyName and the various proppatchMethod()-methods in WebdavResource. Regards, Ingo Ok thanks, any hints on how to add new properties with the Client? Any other way? Ollie Richard Unger wrote: Hi! AFAIK, you are free to choose the

Re: Performance issue of web application using slide

2003-12-15 Thread Ingo Brunberg
Hi Priscilla, we are running Slide with an even larger user base without significant performance problems. But that might depend on the store implementation you are using. Concerning the memory problems you should make sure to give your Java VM enough memory with the -mx and propably the -ms

Re: client grant command syntax

2003-12-12 Thread Ingo Brunberg
Hi Ollie, we had discussed this before, hadn't we. See this thread: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=5123 There I explained that this reveals a bug in the server code. Unfortunately noone took up the patch that I have posted, so I will be going to commit it myself.

  1   2   >