Okay, I see in another thread that the too-many-connections issue appears to have been resolved; now, is there anything you guys can do to quiet the Continue warnings? It makes it hard to see real problems in the log...
--Matthew Beermann ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 28, 2004 3:17 PM Subject: Re: Problems using Slide to upload files > >Is Slide failing to release its connections when it > > finishes? > > This sounds like the same problem I have been seeing (see recent posting). > The slide client opens a new connection for every operation and then > leaves them all open on the client side, so they stay in CLOSE_WAIT. One > workaround I have found is to add the port to the server, like so: > new WebdavResource("server:80"); > > I don't think this solves the problem completely, but it makes keep-alive > work, and less connections get opened. See my other post for more details. > > Neil > > > > 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] > >> > >> > > --------------------------------------------------------------------- > > 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]