hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Schlabach <TSchlab...@gmx.net>
Subject RE: How to recover from a HttpRecoverableException?
Date Tue, 08 Apr 2003 11:03:05 GMT
Oleg,

>> or one of the recent nightly builds

Where can I find that? On
http://cvs.apache.org/builds/jakarta-commons/nightly/commons-httpclient/ the last one is dated
February 24th, 2003. There is a
link to http://gump.covalent.net/jars/latest/jakarta-commons/ but that
address does not answert at all?

Torsten

> Torsten, 
> 
> Please upgrade to the current CVS snapshot or one of the recent nightly 
> builds. 2.0Alpha3 simply does not work well with HTTP/1.0 proxies such 
> as Squid. (I assume you are using a proxy). If it does not resolve the 
> problem, please let me know. We'll have to dig a bit deeper 
> 
> Cheers
> 
> Oleg
> 
> 
> 
> -----Original Message-----
> From: Torsten Schlabach [mailto:TSchlabach@gmx.net]
> Sent: Tuesday, April 08, 2003 11:21
> To: commons-httpclient-dev@jakarta.apache.org
> Subject: How to recover from a HttpRecoverableException?
> 
> 
> Dear list,
> 
> there has been a discussion about some proxies that time-out a 
> connection
> and therefore cause a HttpRecoverableException on list recently (see
> http://archives.apache.org/eyebrowse/ReadMsg?listName=commons-httpclien
> t-dev@jakarta.apache.org&msgId=641205).
> 
> I don't quite get how I'd recover from such an Exception. Someone 
> suggested
> putting a retry loop in that would be something like:
> 
> >> The way to deal with this is to catch the HttpRecoverableException
> separate
> to the HttpException so something like:
> 
> for (int attempts = 0; attempts < 3; attempts++) {
> 	try {
> 		GetMethod get = new GetMethod(url);
> 		client.executeMethod(get);
> 	} catch (HttpRecoverableException e) {
> 		log.warn("Message", e);
> 		//reexecute the get method.
> 		continue;
> 	} catch (IOException e) {
> 		log.error("Message", e);
> 		break;  // or throw the exception if that fits the program design 
> better.
> 	}
> }
> <<
> 
> I don't quite get what difference it makes to just call the same piece 
> of
> code again ... And it actually does not work for me.
> 
> To be a bit more precised: I am using the Slide WebDAV client library 
> (which
> uses HttpClient). I have replaced the HttpClient it comes with with
> 2.0-alpha-3. What is causing me trouble is the 
> WebdavResource->putMethod. Looking at
> the wire trace I can see it send the HTTP PUT request and then gets the
> following exception trying to read an answer:
> 
> org.apache.commons.httpclient.HttpRecoverableException:
> java.net.SocketException: Connection shutdown: JVM_recv in socket input 
> stream read
> 
> Putting a look around that will result in three attempts to PUT and 
> three
> times getting the exception.
> 
> Any ideas?
> 
> Who don't we put that re-connect functionality into HttpClient (maybe 
> using
> a property to switch this on or off)?
> 
> Torsten
> 
> P.S.: The log in detail just in case I overlooked anything:
> 
> [error] jEdit I/O #4: 2003/04/08 10:53:57:554 CEST [TRACE] HttpState -
> -enter HttpState.getCredentials(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:554 CEST [TRACE] GetMethod -
> -enter GetMethod(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:554 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.setRequestBody(InputStream)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:554 CEST [TRACE] HttpClient -
> -enter HttpClient.executeMethod(HttpMethod)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:554 CEST [TRACE] HttpClient -
> -enter HttpClient.executeMethod(HostConfiguration,HttpMethod)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:554 CEST [DEBUG] 
> HttpConnection -
> -HttpConnection.setSoTimeout(0)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:554 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.open()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.execute(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState, Header, String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticateProxy(HttpMethod, HttpState)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState, Header, String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [DEBUG] HttpMethod -
> -Execute loop try 1
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.processRequest(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:564 CEST [TRACE] HttpMethod -
> -Attempt number 1 to write request
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.generateRequestLine(HttpConnection, String, 
> String, String,
> String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [DEBUG] wire - ->> 
> "PUT
> http://www.schlabach-backoffice.de:8080/webdav/howto-use-lobs.xml 
> HTTP/1.1
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:574 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.addRequestHeaders(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [DEBUG] HttpMethod -
> -Adding Host request header
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpState -
> -enter HttpState.getCookies()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] CookieSpec -
> -enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addAuthorizationRequestHeader(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addContentLengthRequestHeader(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.getRequestContentLength()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:584 CEST [TRACE]
> EntityEnclosingMethod - -enter EntityEnclosingMethod.bufferContent()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:594 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:594 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:594 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:594 CEST [DEBUG] wire - ->> 
> "If:
> (<opaquelocktoken:c5d8a3df643b5b7c5dbf5b9e3326ed40>) 
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:594 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:594 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:594 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [DEBUG] wire - ->>
> "User-Agent: Jakarta Commons-HttpClient/2.0alpha3
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [DEBUG] wire - ->> 
> "Host:
> www.schlabach-backoffice.de:8080
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [DEBUG] wire - ->>
> "Content-Length: 8805
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:605 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [DEBUG] wire - ->>
> "Expect: 100-continue
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.writeLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [DEBUG] wire - ->> 
> [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.writeRequestBody(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [DEBUG]
> EntityEnclosingMethod - -Expecting response
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.waitForResponse(int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.responseAvaliable()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:615 CEST [DEBUG] HttpMethod -
> -Response available
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.readResponse(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.readLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [TRACE] HttpParser -
> -enter HttpConnection.readLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [TRACE] HttpParser -
> -enter HttpConnection.readRawLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [WARN] HttpMethod -
> -Recoverable exception caught when reading response
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [DEBUG] HttpMethod -
> -Closing the connection.
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.close()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:625 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.closeSockedAndStreams()
> [debug] DavVFS: HttpRecoverableException:
> org.apache.commons.httpclient.HttpRecoverableException: 
> java.net.SocketException: Connection shutdown: JVM_recv
> in socket input stream read
> [error] jEdit I/O #4: 2003/04/08 10:53:57:635 CEST [TRACE] HttpState -
> -enter HttpState.getCredentials(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:635 CEST [TRACE] GetMethod -
> -enter GetMethod(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:635 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.setRequestBody(InputStream)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:635 CEST [TRACE] HttpClient -
> -enter HttpClient.executeMethod(HttpMethod)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:635 CEST [TRACE] HttpClient -
> -enter HttpClient.executeMethod(HostConfiguration,HttpMethod)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:635 CEST [DEBUG] 
> HttpConnection -
> -HttpConnection.setSoTimeout(0)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:635 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.open()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.execute(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState, Header, String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticateProxy(HttpMethod, HttpState)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState, Header, String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [DEBUG] HttpMethod -
> -Execute loop try 1
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.processRequest(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] HttpMethod -
> -Attempt number 1 to write request
> [error] jEdit I/O #4: 2003/04/08 10:53:57:645 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.generateRequestLine(HttpConnection, String, 
> String, String,
> String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [DEBUG] wire - ->> 
> "PUT
> http://www.schlabach-backoffice.de:8080/webdav/howto-use-lobs.xml 
> HTTP/1.1
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.addRequestHeaders(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:655 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [DEBUG] HttpMethod -
> -Adding Host request header
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] HttpState -
> -enter HttpState.getCookies()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] CookieSpec -
> -enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addAuthorizationRequestHeader(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addContentLengthRequestHeader(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.getRequestContentLength()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE]
> EntityEnclosingMethod - -enter EntityEnclosingMethod.bufferContent()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:665 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [DEBUG] wire - ->> 
> "If:
> (<opaquelocktoken:c5d8a3df643b5b7c5dbf5b9e3326ed40>) 
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [DEBUG] wire - ->>
> "User-Agent: Jakarta Commons-HttpClient/2.0alpha3
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:675 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [DEBUG] wire - ->> 
> "Host:
> www.schlabach-backoffice.de:8080
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [DEBUG] wire - ->>
> "Content-Length: 8805
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:685 CEST [DEBUG] wire - ->>
> "Expect: 100-continue
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:695 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.writeLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:695 CEST [DEBUG] wire - ->> 
> [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:695 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.writeRequestBody(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:695 CEST [DEBUG]
> EntityEnclosingMethod - -Expecting response
> [error] jEdit I/O #4: 2003/04/08 10:53:57:695 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.waitForResponse(int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.responseAvaliable()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [DEBUG] HttpMethod -
> -Response available
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.readResponse(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.readLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] HttpParser -
> -enter HttpConnection.readLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] HttpParser -
> -enter HttpConnection.readRawLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [WARN] HttpMethod -
> -Recoverable exception caught when reading response
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [DEBUG] HttpMethod -
> -Closing the connection.
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.close()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.closeSockedAndStreams()
> [debug] DavVFS: HttpRecoverableException:
> org.apache.commons.httpclient.HttpRecoverableException: 
> java.net.SocketException: Connection shutdown: JVM_recv
> in socket input stream read
> [error] jEdit I/O #4: 2003/04/08 10:53:57:705 CEST [TRACE] HttpState -
> -enter HttpState.getCredentials(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] GetMethod -
> -enter GetMethod(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.setRequestBody(InputStream)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] HttpClient -
> -enter HttpClient.executeMethod(HttpMethod)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] HttpClient -
> -enter HttpClient.executeMethod(HostConfiguration,HttpMethod)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [DEBUG] 
> HttpConnection -
> -HttpConnection.setSoTimeout(0)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.open()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.execute(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState, Header, String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:715 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticateProxy(HttpMethod, HttpState)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] Authenticator 
> -
> -enter Authenticator.authenticate(HttpMethod, HttpState, Header, String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [DEBUG] HttpMethod -
> -Execute loop try 1
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.processRequest(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] HttpMethod -
> -Attempt number 1 to write request
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.generateRequestLine(HttpConnection, String, 
> String, String,
> String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:725 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [DEBUG] wire - ->> 
> "PUT
> http://www.schlabach-backoffice.de:8080/webdav/howto-use-lobs.xml 
> HTTP/1.1
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.addRequestHeaders(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [DEBUG] HttpMethod -
> -Adding Host request header
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] HttpState -
> -enter HttpState.getCookies()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] CookieSpec -
> -enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:735 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addAuthorizationRequestHeader(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.addContentLengthRequestHeader(HttpState, 
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.getRequestContentLength()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [TRACE]
> EntityEnclosingMethod - -enter EntityEnclosingMethod.bufferContent()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:745 CEST [DEBUG] wire - ->> 
> "If:
> (<opaquelocktoken:c5d8a3df643b5b7c5dbf5b9e3326ed40>) 
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [DEBUG] wire - ->>
> "User-Agent: Jakarta Commons-HttpClient/2.0alpha3
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [DEBUG] wire - ->> 
> "Host:
> www.schlabach-backoffice.de:8080
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:755 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:765 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:765 CEST [DEBUG] wire - ->>
> "Content-Length: 8805
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:765 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.print(String)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:765 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[])
> [error] jEdit I/O #4: 2003/04/08 10:53:57:765 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.write(byte[], int, int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:765 CEST [DEBUG] wire - ->>
> "Expect: 100-continue
> [error] jEdit I/O #4: " [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:765 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.writeLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [DEBUG] wire - ->> 
> [\r\n]
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE]
> EntityEnclosingMethod - -enter 
> EntityEnclosingMethod.writeRequestBody(HttpState,
> HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [DEBUG]
> EntityEnclosingMethod - -Expecting response
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.waitForResponse(int)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.responseAvaliable()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [DEBUG] HttpMethod -
> -Response available
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.readResponse(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE] HttpMethod -
> -enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.readLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE] HttpParser -
> -enter HttpConnection.readLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [TRACE] HttpParser -
> -enter HttpConnection.readRawLine()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:775 CEST [WARN] HttpMethod -
> -Recoverable exception caught when reading response
> [error] jEdit I/O #4: 2003/04/08 10:53:57:785 CEST [DEBUG] HttpMethod -
> -Closing the connection.
> [error] jEdit I/O #4: 2003/04/08 10:53:57:785 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.close()
> [error] jEdit I/O #4: 2003/04/08 10:53:57:785 CEST [TRACE] 
> HttpConnection -
> -enter HttpConnection.closeSockedAndStreams()
> [debug] DavVFS: HttpRecoverableException:
> org.apache.commons.httpclient.HttpRecoverableException: 
> java.net.SocketException: Connection shutdown: JVM_recv
> in socket input stream read
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-httpclient-dev-help@jakarta.apache.org
> 


Mime
View raw message