client.getState().setAuthenticationPreemptive(false); System.out.println(client.getState().isAuthenticationPreemptive());
...and got back "true", which confuses me completely. Does this not work the way I think it does? I'd really like to ditch the wasted Basic: attempts.
--Matthew Beermann
----- Original Message ----- From: "Oleg Kalnichevski" <[EMAIL PROTECTED]>
To: "Jakarta Commons Users List" <[EMAIL PROTECTED]>
Sent: Friday, August 13, 2004 5:11 PM
Subject: Re: [HttpClient] Problems with PUT and NTLM
Matthew,
I missed the fact that the server reported a 500 error, which actually indicates an internal server error rather than an authentication error. Still, the 'expect-continue' handshake may be worth a try
If Slide exposes the underlying HTTP PUT method you can activate the 'expect-continue' handshake by calling
httpput.setUseExpectHeader(true);
For details see
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/ExpectContinueMethod.html#setUseExpectHeader(boolean)
You may also consider testing that HTTP PUT method using just plain HttpClient with the wirelog turned on in order to get more details on what is going on under the hood
http://jakarta.apache.org/commons/httpclient/logging.html
Hope this helps
Oleg
On Fri, 2004-08-13 at 23:45, Matthew Beermann wrote:I'm trying to do a PUT with NTLM turned on, and it fails on a 500 error from the server, which in turn causes the console to report a "Unbuffered entity enclosing request can not be repeated" error. Other commands though, like PROPFIND and MKCOL, go through the authentication steps and work perfectly. I've attached a log showing the client/server conversation.
OlegK suggested that I should activate the expect-continue handshake on the HttpClient, which might fix my problems, but I'm afraid I cannot figure out for the life of me how to do so. I should mention that I'm working with HttpClient through Slide, and as such, I'm not interfacing with HttpClient directly. (Which is to say, the Slide library is creating PutMethod instances, not me.)
--Matthew Beermann
______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
2004/08/16 14:56:57:988 CDT [DEBUG] HttpClient - -Java version: 1.4.2_05 2004/08/16 14:56:58:006 CDT [DEBUG] HttpClient - -Java vendor: Sun Microsystems Inc. 2004/08/16 14:56:58:006 CDT [DEBUG] HttpClient - -Java class path: C:\eclipse\workspace\ContentSync;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\jakarta-slide-webdavlib-2.1b1.jar;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\commons-httpclient.jar;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\commons-logging.jar;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\jdom-20040226-.jar 2004/08/16 14:56:58:006 CDT [DEBUG] HttpClient - -Operating system name: Windows XP 2004/08/16 14:56:58:035 CDT [DEBUG] HttpClient - -Operating system architecture: x86 2004/08/16 14:56:58:035 CDT [DEBUG] HttpClient - -Operating system version: 5.1 2004/08/16 14:56:58:872 CDT [DEBUG] HttpClient - -SUN 1.42: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores) 2004/08/16 14:56:58:882 CDT [DEBUG] HttpClient - -SunJSSE 1.42: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 2004/08/16 14:56:58:882 CDT [DEBUG] HttpClient - -SunRsaSign 1.42: SUN's provider for RSA signatures 2004/08/16 14:56:58:882 CDT [DEBUG] HttpClient - -SunJCE 1.42: SunJCE Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1) 2004/08/16 14:56:58:882 CDT [DEBUG] HttpClient - -SunJGSS 1.0: Sun (Kerberos v5) 2004/08/16 14:56:59:776 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2004/08/16 14:56:59:776 CDT [DEBUG] HttpMethodBase - -Preemptively sending default basic credentials 2004/08/16 14:56:59:889 CDT [DEBUG] HttpMethodBase - -Default basic credentials applied 2004/08/16 14:56:59:898 CDT [DEBUG] HttpMethodBase - -Execute loop try 1 2004/08/16 14:56:59:908 CDT [DEBUG] wire - ->> "PROPFIND / HTTP/1.1[\r][\n]" 2004/08/16 14:56:59:917 CDT [DEBUG] HttpMethodBase - -Adding Host request header 2004/08/16 14:57:00:040 CDT [DEBUG] wire - ->> "Authorization: Basic TWF0dCBCZWVybWFubjptYXR0[\r][\n]" 2004/08/16 14:57:00:049 CDT [DEBUG] wire - ->> "Content-Type: text/xml; charset=utf-8[\r][\n]" 2004/08/16 14:57:00:049 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:57:00:049 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:57:00:058 CDT [DEBUG] wire - ->> "Content-Length: 207[\r][\n]" 2004/08/16 14:57:00:068 CDT [DEBUG] wire - ->> "Depth: 0[\r][\n]" 2004/08/16 14:57:00:115 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:57:00:153 CDT [DEBUG] wire - -<< "HTTP/1.1 401 Access Denied[\r][\n]" 2004/08/16 14:57:00:171 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:57:00:171 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:56:47 GMT[\r][\n]" 2004/08/16 14:57:00:171 CDT [DEBUG] wire - -<< "WWW-Authenticate: Negotiate[\r][\n]" 2004/08/16 14:57:00:171 CDT [DEBUG] wire - -<< "WWW-Authenticate: NTLM[\r][\n]" 2004/08/16 14:57:00:171 CDT [DEBUG] wire - -<< "Connection: close[\r][\n]" 2004/08/16 14:57:00:171 CDT [DEBUG] wire - -<< "Content-Length: 4431[\r][\n]" 2004/08/16 14:57:00:228 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" 2004/08/16 14:57:00:237 CDT [DEBUG] HttpMethodBase - -Should close connection in response to Connection: close
2004/08/16 14:57:00:237 CDT [DEBUG] HttpMethodBase - -Authorization required 2004/08/16 14:57:00:284 CDT [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at XXX 2004/08/16 14:57:00:360 CDT [DEBUG] HttpMethodBase - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. 2004/08/16 14:57:00:360 CDT [DEBUG] HttpMethodBase - -Execute loop try 2 2004/08/16 14:57:00:360 CDT [DEBUG] HttpMethodBase - -Opening the connection. 2004/08/16 14:57:00:369 CDT [DEBUG] wire - ->> "PROPFIND / HTTP/1.1[\r][\n]" 2004/08/16 14:57:00:379 CDT [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added 2004/08/16 14:57:00:379 CDT [DEBUG] wire - ->> "Content-Type: text/xml; charset=utf-8[\r][\n]" 2004/08/16 14:57:00:379 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:57:00:379 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:57:00:379 CDT [DEBUG] wire - ->> "Content-Length: 207[\r][\n]" 2004/08/16 14:57:00:379 CDT [DEBUG] wire - ->> "Authorization: NTLM TlRMTVNTUAABAAAABlIAAAgACAAtAAAADQANACAAAABNQVRUIEJFRVJNQU5ORVhDSEFOR0U=[\r][\n]" 2004/08/16 14:57:00:388 CDT [DEBUG] wire - ->> "Depth: 0[\r][\n]" 2004/08/16 14:57:00:388 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:57:00:426 CDT [DEBUG] wire - -<< "HTTP/1.1 401 Access Denied[\r][\n]" 2004/08/16 14:57:00:435 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:57:00:435 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:56:48 GMT[\r][\n]" 2004/08/16 14:57:00:435 CDT [DEBUG] wire - -<< "WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADgAAAAGAoECtA/bUPRJYZ0AAAAAAAAAAKIAogBAAAAABQCTCAAAAA9FWENIQU5HRQIAEABFAFgAQwBIAEEATgBHAEUAAQAQAE4AQQBOAE8AUwBSAFYAMQAEAC4AZQB4AGMAaABhAG4AZwBlAC4AbgBhAG4AbwBuAGEAdABpAG8AbgAuAG4AZQB0AAMAQABuAGEAbgBvAHMAcgB2ADEALgBlAHgAYwBoAGEAbgBnAGUALgBuAGEAbgBvAG4AYQB0AGkAbwBuAC4AbgBlAHQAAAAAAA==[\r][\n]" 2004/08/16 14:57:00:444 CDT [DEBUG] wire - -<< "Content-Length: 4033[\r][\n]" 2004/08/16 14:57:00:444 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" 2004/08/16 14:57:00:444 CDT [DEBUG] HttpMethodBase - -Resorting to protocol version default close connection policy 2004/08/16 14:57:00:444 CDT [DEBUG] HttpMethodBase - -Should NOT close connection, using HTTP/1.1. 2004/08/16 14:57:00:444 CDT [DEBUG] HttpMethodBase - -Authorization required 2004/08/16 14:57:00:444 CDT [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at XXX 2004/08/16 14:57:02:628 CDT [DEBUG] HttpMethodBase - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. 2004/08/16 14:57:02:628 CDT [DEBUG] HttpMethodBase - -Execute loop try 3 2004/08/16 14:57:02:628 CDT [DEBUG] wire - ->> "PROPFIND / HTTP/1.1[\r][\n]" 2004/08/16 14:57:02:638 CDT [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added 2004/08/16 14:57:02:638 CDT [DEBUG] wire - ->> "Content-Type: text/xml; charset=utf-8[\r][\n]" 2004/08/16 14:57:02:638 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:57:02:647 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:57:02:656 CDT [DEBUG] wire - ->> "Content-Length: 207[\r][\n]" 2004/08/16 14:57:02:666 CDT [DEBUG] wire - ->> "Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGIAAAAAAAAAegAAAAgACABAAAAADQANAEgAAAANAA0AVQAAAAAAAAB6AAAABlIAAEVYQ0hBTkdFTUFUVCBCRUVSTUFOTk1BVFQgQkVFUk1BTk6OWopaaQeZwU9al1BYKBOUrE/lZvGIMbs=[\r][\n]" 2004/08/16 14:57:02:675 CDT [DEBUG] wire - ->> "Depth: 0[\r][\n]" 2004/08/16 14:57:02:675 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:57:02:713 CDT [DEBUG] wire - -<< "HTTP/1.1 207 Multi-Status[\r][\n]" 2004/08/16 14:57:02:722 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:57:02:722 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:56:50 GMT[\r][\n]" 2004/08/16 14:57:02:722 CDT [DEBUG] wire - -<< "X-Powered-By: ASP.NET[\r][\n]" 2004/08/16 14:57:02:722 CDT [DEBUG] wire - -<< "Content-Type: text/xml[\r][\n]" 2004/08/16 14:57:02:722 CDT [DEBUG] wire - -<< "Transfer-Encoding: chunked[\r][\n]" 2004/08/16 14:57:02:722 CDT [DEBUG] HttpConnection - -HttpConnection.getSoTimeout() 2004/08/16 14:57:02:864 CDT [DEBUG] HttpConnection - -Input data available 2004/08/16 14:57:03:024 CDT [DEBUG] HttpMethodBase - -Resorting to protocol version default close connection policy 2004/08/16 14:57:03:033 CDT [DEBUG] HttpMethodBase - -Should NOT close connection, using HTTP/1.1. 2004/08/16 14:57:08:295 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2004/08/16 14:57:08:304 CDT [DEBUG] HttpMethodBase - -Preemptively sending default basic credentials 2004/08/16 14:57:08:304 CDT [DEBUG] HttpMethodBase - -Default basic credentials applied 2004/08/16 14:57:08:304 CDT [DEBUG] HttpMethodBase - -Execute loop try 1 2004/08/16 14:57:08:304 CDT [DEBUG] wire - ->> "PUT /java.policy.applet HTTP/1.1[\r][\n]" 2004/08/16 14:57:08:314 CDT [DEBUG] HttpMethodBase - -Adding Host request header 2004/08/16 14:57:08:323 CDT [DEBUG] wire - ->> "Authorization: Basic TWF0dCBCZWVybWFubjptYXR0[\r][\n]" 2004/08/16 14:57:08:361 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:57:08:361 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:57:08:370 CDT [DEBUG] wire - ->> "Content-Length: 141[\r][\n]" 2004/08/16 14:57:08:370 CDT [DEBUG] wire - ->> "Expect: 100-continue[\r][\n]" 2004/08/16 14:57:08:380 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:57:08:380 CDT [DEBUG] HttpConnection - -HttpConnection.getSoTimeout() 2004/08/16 14:57:08:380 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(3000) 2004/08/16 14:57:11:213 CDT [INFO] HttpMethodBase - -100 (continue) read timeout. Resume sending the request 2004/08/16 14:57:11:213 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2004/08/16 14:57:11:213 CDT [DEBUG] EntityEnclosingMethod - -Using buffered request body 2004/08/16 14:57:11:222 CDT [DEBUG] EntityEnclosingMethod - -Request body sent 2004/08/16 14:57:11:251 CDT [DEBUG] wire - -<< "HTTP/1.1 401 Access Denied[\r][\n]" 2004/08/16 14:57:11:269 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:57:11:307 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:56:59 GMT[\r][\n]" 2004/08/16 14:57:11:307 CDT [DEBUG] wire - -<< "WWW-Authenticate: Negotiate[\r][\n]" 2004/08/16 14:57:11:316 CDT [DEBUG] wire - -<< "WWW-Authenticate: NTLM[\r][\n]" 2004/08/16 14:57:11:316 CDT [DEBUG] wire - -<< "Connection: close[\r][\n]" 2004/08/16 14:57:11:326 CDT [DEBUG] wire - -<< "Content-Length: 4431[\r][\n]" 2004/08/16 14:57:11:326 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" 2004/08/16 14:57:11:684 CDT [DEBUG] HttpMethodBase - -Authorization required 2004/08/16 14:57:11:684 CDT [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at XXX 2004/08/16 14:57:11:693 CDT [DEBUG] HttpMethodBase - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. 2004/08/16 14:57:11:702 CDT [DEBUG] HttpMethodBase - -Should close connection in response to Connection: close
2004/08/16 14:57:11:702 CDT [DEBUG] HttpMethodBase - -Execute loop try 2 2004/08/16 14:57:11:712 CDT [DEBUG] HttpMethodBase - -Opening the connection. 2004/08/16 14:57:11:721 CDT [DEBUG] wire - ->> "PUT /java.policy.applet HTTP/1.1[\r][\n]" 2004/08/16 14:57:11:778 CDT [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added 2004/08/16 14:57:11:778 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:57:11:815 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:57:11:834 CDT [DEBUG] wire - ->> "Content-Length: 141[\r][\n]" 2004/08/16 14:57:11:844 CDT [DEBUG] wire - ->> "Authorization: NTLM TlRMTVNTUAABAAAABlIAAAgACAAtAAAADQANACAAAABNQVRUIEJFRVJNQU5ORVhDSEFOR0U=[\r][\n]" 2004/08/16 14:57:11:919 CDT [DEBUG] wire - ->> "Expect: 100-continue[\r][\n]" 2004/08/16 14:57:11:928 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:57:11:928 CDT [DEBUG] HttpConnection - -HttpConnection.getSoTimeout() 2004/08/16 14:57:11:947 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(3000) 2004/08/16 14:57:14:771 CDT [INFO] HttpMethodBase - -100 (continue) read timeout. Resume sending the request 2004/08/16 14:57:14:780 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2004/08/16 14:57:14:790 CDT [DEBUG] EntityEnclosingMethod - -Using buffered request body 2004/08/16 14:57:14:799 CDT [DEBUG] EntityEnclosingMethod - -Request body sent 2004/08/16 14:57:15:684 CDT [DEBUG] wire - -<< "HTTP/1.1 401 Access Denied[\r][\n]" 2004/08/16 14:57:15:722 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:57:15:722 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:57:04 GMT[\r][\n]" 2004/08/16 14:57:15:731 CDT [DEBUG] wire - -<< "WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADgAAAAGAoECfWbz6+LSXewAAAAAAAAAAKIAogBAAAAABQCTCAAAAA9FWENIQU5HRQIAEABFAFgAQwBIAEEATgBHAEUAAQAQAE4AQQBOAE8AUwBSAFYAMQAEAC4AZQB4AGMAaABhAG4AZwBlAC4AbgBhAG4AbwBuAGEAdABpAG8AbgAuAG4AZQB0AAMAQABuAGEAbgBvAHMAcgB2ADEALgBlAHgAYwBoAGEAbgBnAGUALgBuAGEAbgBvAG4AYQB0AGkAbwBuAC4AbgBlAHQAAAAAAA==[\r][\n]" 2004/08/16 14:57:15:731 CDT [DEBUG] wire - -<< "Content-Length: 4033[\r][\n]" 2004/08/16 14:57:15:741 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" 2004/08/16 14:57:15:741 CDT [DEBUG] HttpMethodBase - -Authorization required 2004/08/16 14:57:15:750 CDT [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at XXX 2004/08/16 14:57:15:901 CDT [DEBUG] HttpMethodBase - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. 2004/08/16 14:57:15:910 CDT [DEBUG] HttpMethodBase - -Resorting to protocol version default close connection policy 2004/08/16 14:57:15:910 CDT [DEBUG] HttpMethodBase - -Should NOT close connection, using HTTP/1.1. 2004/08/16 14:57:15:919 CDT [DEBUG] HttpMethodBase - -Execute loop try 3 2004/08/16 14:57:15:919 CDT [DEBUG] wire - ->> "PUT /java.policy.applet HTTP/1.1[\r][\n]" 2004/08/16 14:57:15:929 CDT [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added 2004/08/16 14:57:15:938 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:57:15:938 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:57:15:948 CDT [DEBUG] wire - ->> "Content-Length: 141[\r][\n]" 2004/08/16 14:57:15:957 CDT [DEBUG] wire - ->> "Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGIAAAAAAAAAegAAAAgACABAAAAADQANAEgAAAANAA0AVQAAAAAAAAB6AAAABlIAAEVYQ0hBTkdFTUFUVCBCRUVSTUFOTk1BVFQgQkVFUk1BTk4ymQUVosPjN+Qth8NBIayk71pSqtJ194Q=[\r][\n]" 2004/08/16 14:57:15:966 CDT [DEBUG] wire - ->> "Expect: 100-continue[\r][\n]" 2004/08/16 14:57:15:976 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:57:15:976 CDT [DEBUG] HttpConnection - -HttpConnection.getSoTimeout() 2004/08/16 14:57:15:985 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(3000) 2004/08/16 14:57:15:985 CDT [DEBUG] wire - -<< "HTTP/1.1 100 Continue[\r][\n]" 2004/08/16 14:57:16:042 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:57:16:051 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:57:04 GMT[\r][\n]" 2004/08/16 14:57:16:051 CDT [DEBUG] wire - -<< "X-Powered-By: ASP.NET[\r][\n]" 2004/08/16 14:57:16:061 CDT [DEBUG] HttpMethodBase - -OK to continue received 2004/08/16 14:57:16:061 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2004/08/16 14:57:16:070 CDT [DEBUG] EntityEnclosingMethod - -Using buffered request body 2004/08/16 14:57:16:070 CDT [DEBUG] EntityEnclosingMethod - -Request body sent 2004/08/16 14:57:16:145 CDT [DEBUG] wire - -<< "HTTP/1.1 200 OK[\r][\n]" 2004/08/16 14:57:16:155 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:57:16:155 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:57:04 GMT[\r][\n]" 2004/08/16 14:57:16:164 CDT [DEBUG] wire - -<< "X-Powered-By: ASP.NET[\r][\n]" 2004/08/16 14:57:16:164 CDT [DEBUG] wire - -<< "Content-Length: 0[\r][\n]" 2004/08/16 14:57:16:164 CDT [DEBUG] wire - -<< "Allow: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, COPY, MOVE, PROPFIND, PROPPATCH, SEARCH, LOCK, UNLOCK[\r][\n]"
2004/08/16 14:29:49:572 CDT [DEBUG] HttpClient - -Java version: 1.4.2_05 2004/08/16 14:29:49:582 CDT [DEBUG] HttpClient - -Java vendor: Sun Microsystems Inc. 2004/08/16 14:29:49:582 CDT [DEBUG] HttpClient - -Java class path: C:\eclipse\workspace\ContentSync;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\jakarta-slide-webdavlib-2.1b1.jar;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\commons-httpclient.jar;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\commons-logging.jar;C:\jakarta-slide-webdavclient-bin-2.1b1\lib\jdom-20040226-.jar 2004/08/16 14:29:49:592 CDT [DEBUG] HttpClient - -Operating system name: Windows XP 2004/08/16 14:29:49:592 CDT [DEBUG] HttpClient - -Operating system architecture: x86 2004/08/16 14:29:49:602 CDT [DEBUG] HttpClient - -Operating system version: 5.1 2004/08/16 14:29:50:264 CDT [DEBUG] HttpClient - -SUN 1.42: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores) 2004/08/16 14:29:50:264 CDT [DEBUG] HttpClient - -SunJSSE 1.42: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 2004/08/16 14:29:50:325 CDT [DEBUG] HttpClient - -SunRsaSign 1.42: SUN's provider for RSA signatures 2004/08/16 14:29:50:325 CDT [DEBUG] HttpClient - -SunJCE 1.42: SunJCE Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1) 2004/08/16 14:29:50:335 CDT [DEBUG] HttpClient - -SunJGSS 1.0: Sun (Kerberos v5) 2004/08/16 14:29:51:098 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2004/08/16 14:29:51:098 CDT [DEBUG] HttpMethodBase - -Preemptively sending default basic credentials 2004/08/16 14:29:51:238 CDT [DEBUG] HttpMethodBase - -Default basic credentials applied 2004/08/16 14:29:51:238 CDT [DEBUG] HttpMethodBase - -Execute loop try 1 2004/08/16 14:29:51:258 CDT [DEBUG] wire - ->> "PROPFIND / HTTP/1.1[\r][\n]" 2004/08/16 14:29:51:319 CDT [DEBUG] HttpMethodBase - -Adding Host request header 2004/08/16 14:29:51:469 CDT [DEBUG] wire - ->> "Authorization: Basic TWF0dCBCZWVybWFubjptYXR0[\r][\n]" 2004/08/16 14:29:51:479 CDT [DEBUG] wire - ->> "Content-Type: text/xml; charset=utf-8[\r][\n]" 2004/08/16 14:29:51:479 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:29:51:479 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:29:51:489 CDT [DEBUG] wire - ->> "Content-Length: 207[\r][\n]" 2004/08/16 14:29:51:489 CDT [DEBUG] wire - ->> "Depth: 0[\r][\n]" 2004/08/16 14:29:51:499 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:29:51:620 CDT [DEBUG] wire - -<< "HTTP/1.1 401 Access Denied[\r][\n]" 2004/08/16 14:29:51:700 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:29:51:700 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:29:37 GMT[\r][\n]" 2004/08/16 14:29:51:720 CDT [DEBUG] wire - -<< "WWW-Authenticate: Negotiate[\r][\n]" 2004/08/16 14:29:51:730 CDT [DEBUG] wire - -<< "WWW-Authenticate: NTLM[\r][\n]" 2004/08/16 14:29:51:740 CDT [DEBUG] wire - -<< "Connection: close[\r][\n]" 2004/08/16 14:29:51:740 CDT [DEBUG] wire - -<< "Content-Length: 4431[\r][\n]" 2004/08/16 14:29:51:750 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" 2004/08/16 14:29:52:082 CDT [DEBUG] HttpMethodBase - -Should close connection in response to Connection: close
2004/08/16 14:29:52:142 CDT [DEBUG] HttpMethodBase - -Authorization required 2004/08/16 14:29:52:212 CDT [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at XXX 2004/08/16 14:29:52:443 CDT [DEBUG] HttpMethodBase - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. 2004/08/16 14:29:52:453 CDT [DEBUG] HttpMethodBase - -Execute loop try 2 2004/08/16 14:29:52:463 CDT [DEBUG] HttpMethodBase - -Opening the connection. 2004/08/16 14:29:55:716 CDT [DEBUG] wire - ->> "PROPFIND / HTTP/1.1[\r][\n]" 2004/08/16 14:29:55:726 CDT [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added 2004/08/16 14:29:55:756 CDT [DEBUG] wire - ->> "Content-Type: text/xml; charset=utf-8[\r][\n]" 2004/08/16 14:29:55:756 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:29:55:766 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:29:55:766 CDT [DEBUG] wire - ->> "Content-Length: 207[\r][\n]" 2004/08/16 14:29:55:766 CDT [DEBUG] wire - ->> "Authorization: NTLM TlRMTVNTUAABAAAABlIAAAgACAAtAAAADQANACAAAABNQVRUIEJFRVJNQU5ORVhDSEFOR0U=[\r][\n]" 2004/08/16 14:29:55:766 CDT [DEBUG] wire - ->> "Depth: 0[\r][\n]" 2004/08/16 14:29:55:776 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:29:55:806 CDT [DEBUG] wire - -<< "HTTP/1.1 401 Access Denied[\r][\n]" 2004/08/16 14:29:55:816 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:29:55:826 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:29:41 GMT[\r][\n]" 2004/08/16 14:29:55:826 CDT [DEBUG] wire - -<< "WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADgAAAAGAoECTCzj8iYOQmkAAAAAAAAAAKIAogBAAAAABQCTCAAAAA9FWENIQU5HRQIAEABFAFgAQwBIAEEATgBHAEUAAQAQAE4AQQBOAE8AUwBSAFYAMQAEAC4AZQB4AGMAaABhAG4AZwBlAC4AbgBhAG4AbwBuAGEAdABpAG8AbgAuAG4AZQB0AAMAQABuAGEAbgBvAHMAcgB2ADEALgBlAHgAYwBoAGEAbgBnAGUALgBuAGEAbgBvAG4AYQB0AGkAbwBuAC4AbgBlAHQAAAAAAA==[\r][\n]" 2004/08/16 14:29:55:826 CDT [DEBUG] wire - -<< "Content-Length: 4033[\r][\n]" 2004/08/16 14:29:55:826 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" 2004/08/16 14:29:55:896 CDT [DEBUG] HttpMethodBase - -Resorting to protocol version default close connection policy 2004/08/16 14:29:55:896 CDT [DEBUG] HttpMethodBase - -Should NOT close connection, using HTTP/1.1. 2004/08/16 14:29:55:896 CDT [DEBUG] HttpMethodBase - -Authorization required 2004/08/16 14:29:55:896 CDT [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at XXX 2004/08/16 14:29:58:085 CDT [DEBUG] HttpMethodBase - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. 2004/08/16 14:29:58:085 CDT [DEBUG] HttpMethodBase - -Execute loop try 3 2004/08/16 14:29:58:095 CDT [DEBUG] wire - ->> "PROPFIND / HTTP/1.1[\r][\n]" 2004/08/16 14:29:58:095 CDT [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added 2004/08/16 14:29:58:105 CDT [DEBUG] wire - ->> "Content-Type: text/xml; charset=utf-8[\r][\n]" 2004/08/16 14:29:58:105 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:29:58:115 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:29:58:115 CDT [DEBUG] wire - ->> "Content-Length: 207[\r][\n]" 2004/08/16 14:29:58:125 CDT [DEBUG] wire - ->> "Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGIAAAAAAAAAegAAAAgACABAAAAADQANAEgAAAANAA0AVQAAAAAAAAB6AAAABlIAAEVYQ0hBTkdFTUFUVCBCRUVSTUFOTk1BVFQgQkVFUk1BTk5T+MMPhy1xBb5qWG8ZtQuDLSd0FaILoEE=[\r][\n]" 2004/08/16 14:29:58:135 CDT [DEBUG] wire - ->> "Depth: 0[\r][\n]" 2004/08/16 14:29:58:135 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:29:58:155 CDT [DEBUG] wire - -<< "HTTP/1.1 207 Multi-Status[\r][\n]" 2004/08/16 14:29:58:165 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:29:58:165 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:29:44 GMT[\r][\n]" 2004/08/16 14:29:58:165 CDT [DEBUG] wire - -<< "X-Powered-By: ASP.NET[\r][\n]" 2004/08/16 14:29:58:165 CDT [DEBUG] wire - -<< "Content-Type: text/xml[\r][\n]" 2004/08/16 14:29:58:165 CDT [DEBUG] wire - -<< "Transfer-Encoding: chunked[\r][\n]" 2004/08/16 14:29:58:165 CDT [DEBUG] HttpConnection - -HttpConnection.getSoTimeout() 2004/08/16 14:29:58:346 CDT [DEBUG] HttpConnection - -Input data available 2004/08/16 14:29:58:467 CDT [DEBUG] HttpMethodBase - -Resorting to protocol version default close connection policy 2004/08/16 14:29:58:467 CDT [DEBUG] HttpMethodBase - -Should NOT close connection, using HTTP/1.1. 2004/08/16 14:30:05:906 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2004/08/16 14:30:05:906 CDT [DEBUG] HttpMethodBase - -Preemptively sending default basic credentials 2004/08/16 14:30:05:916 CDT [DEBUG] HttpMethodBase - -Default basic credentials applied 2004/08/16 14:30:05:916 CDT [DEBUG] HttpMethodBase - -Execute loop try 1 2004/08/16 14:30:05:956 CDT [DEBUG] wire - ->> "PUT /java.policy.applet HTTP/1.1[\r][\n]" 2004/08/16 14:30:05:956 CDT [DEBUG] HttpMethodBase - -Adding Host request header 2004/08/16 14:30:05:966 CDT [DEBUG] wire - ->> "Content-Type: application/octet-stream[\r][\n]" 2004/08/16 14:30:05:966 CDT [DEBUG] wire - ->> "Authorization: Basic TWF0dCBCZWVybWFubjptYXR0[\r][\n]" 2004/08/16 14:30:05:966 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:30:05:976 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:30:05:986 CDT [DEBUG] wire - ->> "Content-Length: 141[\r][\n]" 2004/08/16 14:30:05:996 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:30:05:996 CDT [DEBUG] EntityEnclosingMethod - -Using unbuffered request body 2004/08/16 14:30:06:006 CDT [DEBUG] EntityEnclosingMethod - -Request body sent 2004/08/16 14:30:06:066 CDT [DEBUG] wire - -<< "HTTP/1.1 401 Access Denied[\r][\n]" 2004/08/16 14:30:06:086 CDT [DEBUG] wire - -<< "Server: Microsoft-IIS/5.0[\r][\n]" 2004/08/16 14:30:06:086 CDT [DEBUG] wire - -<< "Date: Mon, 16 Aug 2004 19:29:52 GMT[\r][\n]" 2004/08/16 14:30:06:097 CDT [DEBUG] wire - -<< "WWW-Authenticate: Negotiate[\r][\n]" 2004/08/16 14:30:06:097 CDT [DEBUG] wire - -<< "WWW-Authenticate: NTLM[\r][\n]" 2004/08/16 14:30:06:097 CDT [DEBUG] wire - -<< "Connection: close[\r][\n]" 2004/08/16 14:30:06:107 CDT [DEBUG] wire - -<< "Content-Length: 4431[\r][\n]" 2004/08/16 14:30:06:107 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]" 2004/08/16 14:30:06:117 CDT [DEBUG] HttpMethodBase - -Authorization required 2004/08/16 14:30:06:117 CDT [DEBUG] HttpAuthenticator - -Authenticating with the default authentication realm at XXX 2004/08/16 14:30:06:127 CDT [DEBUG] HttpMethodBase - -HttpMethodBase.execute(): Server demanded authentication credentials, will try again. 2004/08/16 14:30:06:137 CDT [DEBUG] HttpMethodBase - -Should close connection in response to Connection: close
2004/08/16 14:30:06:137 CDT [DEBUG] HttpMethodBase - -Execute loop try 2 2004/08/16 14:30:06:137 CDT [DEBUG] HttpMethodBase - -Opening the connection. 2004/08/16 14:30:06:157 CDT [DEBUG] wire - ->> "PUT /java.policy.applet HTTP/1.1[\r][\n]" 2004/08/16 14:30:06:237 CDT [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added 2004/08/16 14:30:06:237 CDT [DEBUG] wire - ->> "Content-Type: application/octet-stream[\r][\n]" 2004/08/16 14:30:06:247 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final[\r][\n]" 2004/08/16 14:30:06:247 CDT [DEBUG] wire - ->> "Host: XXX[\r][\n]" 2004/08/16 14:30:06:257 CDT [DEBUG] wire - ->> "Content-Length: 141[\r][\n]" 2004/08/16 14:30:06:267 CDT [DEBUG] wire - ->> "Authorization: NTLM TlRMTVNTUAABAAAABlIAAAgACAAtAAAADQANACAAAABNQVRUIEJFRVJNQU5ORVhDSEFOR0U=[\r][\n]" 2004/08/16 14:30:06:277 CDT [DEBUG] wire - ->> "[\r][\n]" 2004/08/16 14:30:06:277 CDT [DEBUG] EntityEnclosingMethod - -Using unbuffered request body
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
