I used Ethereal to capture the client/server conversation; is that what you were getting at? I've attached the logs to this message. With the disclaimer that I'm way out of my depth on this, a few observations:
1) I'm not sure why the HTTP/1.1 100 Continue is unexpected, but that message is coming from HttpClient in any event. I see a bit of discussion of this issue over at the Commons mailing list; there might be some options that Slide could set to quiet it. 2) Now that I've captured the connection, I can see that the IIS server logs lie: it's not really a 403 Forbidden, but a 403.9 Too Many Users. IIS /does/ have a maximum number of connected users, but I'm not sure off the top of my head what that might be. In any event, I'm doing my uploading sequentially, not simultaneously, so there should never be more than one user connected at a time, AFAIK. Is Slide failing to release its connections when it finishes? This same log is also when the SocketException throws; maybe HttpClient doesn't understand or expect Connection: close? --Matthew Beermann ----- Original Message ----- From: "James Mason" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 27, 2004 1:24 PM Subject: Re: Problems using Slide to upload files > Can you setup a logging proxy (like Apache Axis's tcpmon) and post a > trace of the http stream? > > It looks like IIS is using chunking and the client is handling that > properly. > > -James > > >>> [EMAIL PROTECTED] 7/27/2004 11:09:17 AM >>> > I'm using version 2.0 of Slide. The client, that is, not the server. > This > problem only occurs against an IIS WebDAV server; everything works > fine > against an Apache-based server. Alas, I don't really have any say in > what > the server will be running. > > --Matthew Beermann > > ----- Original Message ----- > From: "Oliver Zeigermann" <[EMAIL PROTECTED]> > To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > Sent: Monday, July 26, 2004 3:42 PM > Subject: Re: Problems using Slide to upload files > > > > Which Slide version are you using? > > > > Oliver > > > > Matthew Beermann wrote: > > > > > I recently discovered and began using Slide in a Java application > that > needs > > > to (among other things) mirror a directory tree to a WebDAV > server. > > > Everything works great, for a while. Then, it starts spewing a few > dozen > > > warnings to the console: > > > > > > Jul 26, 2004 3:26:33 PM > org.apache.commons.httpclient.HttpMethodBase > > > readResponse > > > > > > INFO: Discarding unexpected response: HTTP/1.1 100 Continue > > > > > > Jul 26, 2004 3:26:33 PM > org.apache.commons.httpclient.HttpMethodBase > > > readResponse > > > > > > INFO: Discarding unexpected response: HTTP/1.1 100 Continue > > > > > > Jul 26, 2004 3:26:33 PM > org.apache.commons.httpclient.HttpMethodBase > > > readResponse > > > > > > INFO: Discarding unexpected response: HTTP/1.1 100 Continue > > > > > > > > > Eventually, the connection shuts down: > > > > > > Jul 26, 2004 3:26:33 PM > org.apache.commons.httpclient.HttpMethodBase > > > processRequest > > > > > > INFO: Recoverable exception caught when processing request > > > > > > Jul 26, 2004 3:26:33 PM > org.apache.commons.httpclient.HttpMethodBase > > > processRequest > > > > > > WARNING: Recoverable exception caught but > MethodRetryHandler.retryMethod() > > > returned false, rethrowing exception > > > > > > org.apache.commons.httpclient.HttpRecoverableException: > > > java.net.SocketException: Software caused connection abort: recv > failed > > > > > > > > > Glancing over at my (IIS5) server logs, I see that the server, > after > lots of > > > successful PUTs, suddenly decides to start sending 403 Forbidden > instead: > > > > > > 20:26:32 127.0.0.1 PUT > > > /WebDAVTest/content/nanovault/nanofiles/moviesContent/comedy.html > 201 > > > 20:26:32 127.0.0.1 PUT > > > /WebDAVTest/content/nanovault/nanofiles/moviesContent/drama.html > 201 > > > 20:26:32 127.0.0.1 PUT > > > > /WebDAVTest/content/nanovault/nanofiles/moviesContent/frameAction.html > 201 > > > 20:26:32 127.0.0.1 PUT > > > > /WebDAVTest/content/nanovault/nanofiles/moviesContent/frameAnimated.html > 403 > > > > > > Does anyone have any clue what's going on here? This is all the > latest > > > version of Slide and Java, of course. I've been banging my head on > it > for > > > several days with no success, and I can't find any discussion of > such > issues > > > in the FAQs or list archives... > > > > > > --Matthew Beermann > > > > > > > > > > --------------------------------------------------------------------- > > > 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] > >
PUT /WebDAVTest/content/nanovault/nanofiles/moviesContent/action.html HTTP/1.1 Content-Type: application/octet-stream User-Agent: Jakarta Commons-HttpClient/2.0rc3 Host: 10.0.1.42 Content-Length: 117773 HTTP/1.1 100 Continue Server: Microsoft-IIS/5.1 Date: Tue, 27 Jul 2004 21:08:47 GMT <contents of file snipped here> HTTP/1.1 201 Created Server: Microsoft-IIS/5.1 Date: Tue, 27 Jul 2004 21:08:47 GMT Location: http://10.0.1.42/WebDAVTest/content/nanovault/nanofiles/moviesContent/action.html Content-Length: 0 Allow: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, COPY, MOVE, PROPFIND, PROPPATCH, SEARCH, LOCK, UNLOCK
PUT /WebDAVTest/content/nanovault/nanofiles/moviesContent/images/posters/MID1006_poster.jpg HTTP/1.1 Content-Type: application/octet-stream User-Agent: Jakarta Commons-HttpClient/2.0rc3 Host: 10.0.1.42 Content-Length: 43751 HTTP/1.1 403 Access Forbidden Server: Microsoft-IIS/5.1 Date: Tue, 27 Jul 2004 21:09:06 GMT Connection: close Content-Length: 4056 Content-Type: text/html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html dir=ltr> <head> <style> a:link {font:8pt/11pt verdana; color:FF0000} a:visited {font:8pt/11pt verdana; color:#4e4e4e} </style> <META NAME="ROBOTS" CONTENT="NOINDEX"> <title>The page cannot be displayed</title> <META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252"> </head> <script> function Homepage(){ <!-- // in real bits, urls get returned to our script like this: // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm //For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm" DocURL=document.URL; //this is where the http or https will be, as found by searching for :// but skipping the res:// protocolIndex=DocURL.indexOf("://",4); //this finds the ending slash for the domain ser ver serverIndex=DocURL.indexOf("/",protocolIndex + 3); //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex); BeginURL=DocURL.indexOf("#",1) + 1; urlresult=DocURL.substring(BeginURL,serverIndex); //for display, we need to skip after http://, and go to the next slash displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex); InsertElementAnchor(urlresult, displayresult); } function HtmlEncode(text) { return text.replace(/&/g, '&').replace(/'/g, '"').replace(/</g, '<').replace(/>/g, '>'); } function TagAttrib(name, value) { return ' '+name+'="'+HtmlEncode(value)+'"'; } function PrintTag(tagName, needCloseTag, attrib, inner){ document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) ); if (needCloseTag) document.write( '</' + tagName +'>' ); } function URI(href) { IEVer = window.navigator.appVersion; IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 ); return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ? encodeURI(href) : escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';'); } function InsertElementAnchor(href, text) { PrintTag('A', true, TagAttrib('HREF', URI(href)), text); } //--> </script> <body bgcolor="FFFFFF"> <table width="410" cellpadding="3" cellspacing="5"> <tr> <td align="left" valign="middle" width="360"> <h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->The page cannot be displayed</h1> </td> </tr> <tr> <td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt verdana">There are too many people accessing the Web site at this time.</font>< /td> </tr> <tr> <td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt verdana"> <hr color="#C0C0C0" noshade> <p>Please try the following:</p> <ul> <li>Click the <a href="javascript:location.reload()"> Refresh</a> button, or try again later.<br> </li> <li>Open the <script> <!-- if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2"))) { Homepage(); } //--> </script> home page, and then look for links to the information you want.</li> </ul> <h2 style="font:8pt/11pt verdana; color:000000">HTTP 403.9 - Access Forbidden: Too many users are connected<br> Internet Information Services</h2> <hr color="#C0C0C0" noshade> <p>Technical Information (for support personnel)</p> <ul> <p> <li>Background:<br> This error can occur if the Web server is busy and cannot process your request due to heavy traffic.</p> <p> <li>More information:<br> <a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID=403.9&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3=" target="_blank">Microsoft Support</a> </li></p> </ul> </font></td> </tr> </table> </body> </html>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]