Sorry in advance for the huge post: Below I have included the
httpclient.wire traces (not all 362 files)  and then the the actual
request / response from tcpmon.

Httpclient.wire trace:

***Here is the first couple responses***
20 Jan 2004 11:30:15 [main] DEBUG
org.apache.commons.httpclient.HttpConnection  - enter
HttpConnection.isResponseAvailable(int)
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "2"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "0"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "0"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "0"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "[\r]" 20 Jan
2004 11:30:15 [main] DEBUG httpclient.wire  - << "[\n]" 20 Jan 2004
11:30:15 [main] DEBUG httpclient.wire  - << "<?xml version="1.0"
encoding="utf-8" ?>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG
httpclient.wire  - << "<D:multistatus xmlns:D="DAV:">[\n]" 20 Jan 2004
11:30:15 [main] DEBUG httpclient.wire  - << "<D:response>[\n]" 20 Jan
2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:href>http://sharemation.com/jamestest/test1/testzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz104.txt</D:h
ref>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz104.txt]]></D:displayname>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontentlength><![CDATA[15]]></D:getcontentlength>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontenttype><![CDATA[text/plain]]></D:getcontenttype>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:resourcetype></D:resourcetype>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getlastmodified><![CDATA[Tue, 20 Jan 2004 12:56:27
GMT]]></D:getlastmodified>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG
httpclient.wire  - << "<D:lockdiscovery></D:lockdiscovery>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:status>HTTP/1.1 200 OK</D:status>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"</D:response>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  -
<< "<D:response>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire
- <<
"<D:href>http://sharemation.com/jamestest/test1/testzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz105.txt</D:h
ref>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz105.txt]]></D:displayname>[\n
]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontentlength><![CDATA[15]]></D:getcontentlength>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontenttype><![CDATA[text/plain]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"]></D:getcontenttype>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG
httpclient.wire  - << "<D:resourcetype></D:resourcetype>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getlastmodified><![CDATA[Tue, 20 Jan 2004 12:56:28
GMT]]></D:getlastmodified>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG
httpclient.wire  - << "<D:lockdiscovery></D:lockdiscovery>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:status>HTTP/1.1 200 OK</D:status>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"</D:response>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  -
<< "<D:response>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire
- <<
"<D:href>http://sharemation.com/jamestest/test1/testzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz106.txt</D:h
ref>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz106.txt]]></D:displayname>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontentlength><![CDATA[15]]></D:getcontentlength>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontenttype><![CDATA[text/plain]]></D:getcontenttype>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:resourcetype></D:resourcetype>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getlastmodified><![CDATA[Tue, 20 Jan 2004 12:56:29
GMT]]></D:getlastmodified>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG
httpclient.wire  - << "<D:lockdiscovery></D:lockdiscovery>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:status>HTTP/1.1 200 OK</D:status>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"</D:response>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  -
<< "<D:response>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire
- << "<D:href>http://sharemation.com/jamestest/test1/testzzz";
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzz14.txt</D:href>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz14.txt]]></D:displayname>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontentlength><![CDATA[15]]></D:getcontentlength>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getcontenttype><![CDATA[text/plain]]></D:getcontenttype>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:resourcetype></D:resourcetype>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"<D:getlastmodified><![CDATA[Tue, 20 Jan 2004 12:57:23
GMT]]></D:getlastmodified>[\n]" 20 Jan 2004 11:30:15 [main] DEBUG
httpclient.wire  - << "<D:lockdiscovery></D:lockdiscovery>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:prop>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
<D:status>HTTP/1.1 200 OK</D:status>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - << "
</D:propstat>[\n]"
20 Jan 2004 11:30:15 [main] DEBUG httpclient.wire  - <<
"</D:response>[\n]"

***Here is the last response***
<D:response>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - <<
"<D:href>http://sharemation.com/jamestest/test1/testzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz13.txt</D:hr
ef>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - << "
<D:propstat>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - << "
<D:prop>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - <<
"<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz13.txt]]></D:displa"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - << "yname>[\n]" 20
Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - <<
"<D:getcontentlength><![CDATA[15]]></D:getcontentlength>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - <<
"<D:getcontenttype><![CDATA[text/plain]]></D:getcontenttype>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - <<
"<D:resourcetype></D:resourcetype>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - <<
"<D:getlastmodified><![CDATA[Tue, 20 Jan 2004 12:57:12
GMT]]></D:getlastmodified>[\n]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "<D:lockdiscovery></D:lockdiscovery>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - << "      </D:p"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - << "[\r]" 20 Jan
2004 11:35:10 [main] DEBUG httpclient.wire  - << "[\n]" 20 Jan 2004
11:35:10 [main] DEBUG httpclient.wire  - << "6" 20 Jan 2004 11:35:10
[main] DEBUG httpclient.wire  - << "3" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\r]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\n]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "rop>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - << "
<D:status>HTTP/1.1 200 OK</D:status>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - << "
</D:propstat>[\n]"
20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  - <<
"</D:response>[\n]" 20 Jan 2004 11:35:10 [main] DEBUG httpclient.wire  -
<< "</D:multistatus>[\n]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\r]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\n]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "0" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\r]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\n]" 20 Jan 2004 11:35:10 [main] DEBUG
org.apache.commons.httpclient.HttpParser  - enter
HeaderParser.parseHeaders(HttpConnection, HeaderGroup) 20 Jan 2004
11:35:10 [main] DEBUG org.apache.commons.httpclient.HttpParser  - enter
HttpParser.readLine() 20 Jan 2004 11:35:10 [main] DEBUG
org.apache.commons.httpclient.HttpParser  - enter
HttpParser.readRawLine() 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\r]" 20 Jan 2004 11:35:10 [main] DEBUG
httpclient.wire  - << "[\n]" 20 Jan 2004 11:35:10 [main] DEBUG
org.apache.commons.httpclient.HttpMethodBase  - Resorting to protocol
version default close connection policy 20 Jan 2004 11:35:10 [main]
DEBUG org.apache.commons.httpclient.HttpMethodBase  - Should NOT close
connection, using HTTP/1.1. 20 Jan 2004 11:35:10 [main] DEBUG
org.apache.commons.httpclient.HttpConnection  - enter
HttpConnection.releaseConnection()
20 Jan 2004 11:35:10 [main] ERROR ClientTest  -
org.apache.commons.httpclient.HttpException




Here is the raw XML that I captured with tcpmon:


==============
Listen Port: 8888
Target Host: sharemation.com
Target Port: 80
==== Request ====
PROPFIND /jamestest/test1 HTTP/1.1
Authorization: Basic amFtZXN0ZXN0OmphbWVzMTIz
Content-Type: text/xml; charset=utf-8
User-Agent: Jakarta Commons-HttpClient/2.0rc2
Host: sharemation.com
Content-Length: 207
Depth: 1

<?xml version="1.0" encoding="utf-8" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:displayname/><D:getcontentlength/><D:getconten
ttype/><D:resourcetype/><D:getlastmodified/><D:lockdiscovery/></D:prop><
/D:propfind>==== Response ==== HTTP/1.1 200 OK
Set-Cookie: [EMAIL PROTECTED]; Expires=Fri,
23-Mar-2007 02:22:00 GMT; Path=/
Date: Tue, 20 Jan 2004 16:35:20 GMT
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Server: Apache-Coyote/1.1

2000
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>http://sharemation.com/jamestest/test1/testzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz104.txt</D:hr
ef>
     <D:propstat>
        <D:prop>
<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz104.txt]]></D:displayname>
<D:getcontentlength><![CDATA[15]]></D:getcontentlength>
<D:getcontenttype><![CDATA[text/plain]]></D:getcontenttype>
<D:resourcetype></D:resourcetype> <D:getlastmodified><![CDATA[Tue, 20
Jan 2004 12:56:27 GMT]]></D:getlastmodified>
<D:lockdiscovery></D:lockdiscovery>
      </D:prop>
       <D:status>HTTP/1.1 200 OK</D:status>
     </D:propstat>
</D:response>
<D:response>
<D:href>http://sharemation.com/jamestest/test1/testzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz105.txt</D:hr
ef>
     <D:propstat>
        <D:prop>
<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz105.txt]]></D:displayname>
<D:getcontentlength><![CDATA[15]]></D:getcontentlength>
<D:getcontenttype><![CDATA[text/plain]]></D:getcontenttype>
<D:resourcetype></D:resourcetype> <D:getlastmodified><![CDATA[Tue, 20
Jan 2004 12:56:28 GMT]]></D:getlastmodified>
<D:lockdiscovery></D:lockdiscovery>
      </D:prop>
       <D:status>HTTP/1.1 200 OK</D:status>
     </D:propstat>
</D:response>

*** I chopped out the middle responses ***

<D:response>
<D:href>http://sharemation.com/jamestest/test1/testzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz13.txt</D:hre
f>
     <D:propstat>
        <D:prop>
<D:displayname><![CDATA[testzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz13.txt]]></D:displayname>
<D:getcontentlength><![CDATA[15]]></D:getcontentlength>
<D:getcontenttype><![CDATA[text/plain]]></D:getcontenttype>
<D:resourcetype></D:resourcetype> <D:getlastmodified><![CDATA[Tue, 20
Jan 2004 12:57:12 GMT]]></D:getlastmodified>
<D:lockdiscovery></D:lockdiscovery>
      </D:p
63
rop>
       <D:status>HTTP/1.1 200 OK</D:status>
     </D:propstat>
</D:response>
</D:multistatus>

0


==============





Regards,
 
James
 


-----Original Message-----
From: Ingo Brunberg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 20, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem with Slide Client API


OK, then it seems that Xythos is sending you a 200 status code. I wonder
if it is allowed to do so. A look at the trace would be interesting
after all. Maybe you could post it here (perhaps not all the 360
response elements)?!

Ingo

> Ingo,
> 
> I am using the code from CVS as of yesterday morning.
> 
> Here is the stack trace:
> 
> org.apache.commons.httpclient.HttpException
>       at 
> org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.jav
> a:
> 3170)
>       at
> org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.jav
> a:
> 3132)
>       at
>
org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:88
> 1)
>       at
>
org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.j
> ava:826)
>       at
>
org.apache.webdav.lib.WebdavResource.listBasic(WebdavResource.java:1979)
>       at ClientTest.<init>(ClientTest.java:41)
>       at ClientTest.main(ClientTest.java:58)
> 
> 
> I am using Xythos as my WEBDAV server and can send folder contents and
> test client code to reproduce the error against sharemation.com if 
> that would be helpful.
> 
> Thanks for the help.
> 
> Regards,
> =20
> James
> 
> -----Original Message-----
> From: Ingo Brunberg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 20, 2004 5:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with Slide Client API
> 
> 
> Hi James,
> 
> I ran exactly the test you describe, but I was getting no exception.
> 
> Are you using the latest CVS code or some older version? The wire logs
> won't propably help much, but do you have a stack trace?
> 
> Regards,
> Ingo
> 
> > I am getting an HttpException (reason code 200) from
> > WebdavResource.listBasic() when I have some combination of large=20
> > number of files and long file names. I have not been able to nail 
> > it=20 down exactly  what causes this exception, but I can reproduce 
> > it=20 easily my populating a folder with 360+ text files with names 
> > that are
> 
> > 80+ characters in length. I can forward logs to anyone who is=20
> > interested, I have the httpclient.wire traces.
> >=20
> > I ran the Apache Axis tcpmon proxy just to make sure that the
> >webdav=20  server was getting the correct request and replying with a

> >good=20  response and it appears to be ok.=3D20 =20
> > Has anyone else experienced this problem?
> >=20
> > Regards,
> >=20
> > 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]
> 


---------------------------------------------------------------------
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]

Reply via email to