----- Original Message -----
From: "Pete Heist" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 7:58 AM
Subject: thread-safety issue with webdav client library (and tip on
connecting to Exchange 2K)


> Hello,
>
> I am using Slide's WebDAV library to connect to Microsoft Exchange Server
> 2000. First of all, as a side note for those trying it be sure to upgrade
to
> service pack 1 of Exchange so that valid XML is generated in response to a
> PROPFIND for all properties. Otherwise you won't be able to parse the XML
> response to this query.
>
> Nextly, there is an issue with thread-safety that appers to be in the
Slide
> WebDAV client library and is simple to reproduce. At the bottom of this
> email is source code written to Slide 1.0.11 that causes the error. It
> simply creates N number of threads to do a PROPFIND for all properties.
> (This exerciser really doesn't need to connect to Exchange 2K- any WebDAV
> server should be fine.) An example command line to run it with five
threads
> is as follows:
>
> java ExchangeWebdavTest http://server/exchange/Mailbox/Inbox 5
>
> Occasionally all five threads will succeed, but much of the time output
will
> be like:

Thanks for the report.

I look at your code, and it's fine, as you have one Webdav client associated
with each thread.

I think the problem is that the WebdavResource uses some static fields,
which need to be removed. Thanks for the code, that will help me fix the
issue.

There's something strange in your traces : the traces in the httpclient
refer to an older version. I must have made a packaging mistake ... (That
means I'll release a fixed 1.0.12 really soon)

Remy

Reply via email to