DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35642>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35642 ------- Additional Comments From [EMAIL PROTECTED] 2005-07-08 15:30 ------- I have tried with your pathed jar (commons-httpclient-3.0-rc3-r1.jar) and here are the results with 3 timeout values (enabled full logging): ------------------------------- 2005/07/08 16:27:58:453 EEST [DEBUG] HttpClient - Java version: 1.5.0_04 2005/07/08 16:27:58:453 EEST [DEBUG] HttpClient - Java vendor: Sun Microsystems Inc. 2005/07/08 16:27:58:453 EEST [DEBUG] HttpClient - Java class path: classes;lib/commons-httpclient-3.0-rc3-r1.jar;lib/commons-logging.jar;lib/commons-codec-1.3.jar 2005/07/08 16:27:58:453 EEST [DEBUG] HttpClient - Operating system name: Windows XP 2005/07/08 16:27:58:453 EEST [DEBUG] HttpClient - Operating system architecture: x86 2005/07/08 16:27:58:453 EEST [DEBUG] HttpClient - Operating system version: 5.1 2005/07/08 16:27:58:593 EEST [DEBUG] HttpClient - SUN 1.5: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; P KIX CertPathBuilder; LDAP, Collection CertStores) 2005/07/08 16:27:58:593 EEST [DEBUG] HttpClient - SunRsaSign 1.5: Sun RSA signature provider 2005/07/08 16:27:58:593 EEST [DEBUG] HttpClient - SunJSSE 1.5: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 2005/07/08 16:27:58:593 EEST [DEBUG] HttpClient - SunJCE 1.5: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC) 2005/07/08 16:27:58:593 EEST [DEBUG] HttpClient - SunJGSS 1.0: Sun (Kerberos v5) 2005/07/08 16:27:58:593 EEST [DEBUG] HttpClient - SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSS API, CRAM-MD5) 2005/07/08 16:27:58:609 EEST [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.0-rc3 2005/07/08 16:27:58:625 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1 2005/07/08 16:27:58:625 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager 2005/07/08 16:27:58:625 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = rfc2109 2005/07/08 16:27:58:625 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII 2005/07/08 16:27:58:625 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1 2005/07/08 16:27:58:625 EEST [DEBUG] DefaultHttpParams - Set parameter http.method.retry-handler = [EMAIL PROTECTED] 2005/07/08 16:27:58:625 EEST [DEBUG] DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyy y HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm: ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 2005/07/08 16:27:58:640 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout = 1000 1 [Fri Jul 08 16:27:58 EEST 2005] - about to get something from http://192.168.201.14/ 2005/07/08 16:27:58:703 EEST [DEBUG] MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection: config = HostConfiguration[host=http://192.168.201.14], timeout = 0 2005/07/08 16:27:58:703 EEST [DEBUG] MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=http://192.168.201.14] 2005/07/08 16:27:58:718 EEST [DEBUG] HttpConnection - Open connection to 192.168.201.14:80 2005/07/08 16:28:04:250 EEST [DEBUG] HttpMethodDirector - Closing the connection. 2005/07/08 16:28:04:250 EEST [DEBUG] HttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted 2005/07/08 16:28:04:250 EEST [DEBUG] HttpConnection - Releasing connection back to connection manager. 2005/07/08 16:28:04:250 EEST [DEBUG] MultiThreadedHttpConnectionManager - Freeing connection, hostConfig=HostConfiguration[host=http://192.168.201.14] 2005/07/08 16:28:04:250 EEST [DEBUG] IdleConnectionHandler - Adding connection at: 1120829284250 2005/07/08 16:28:04:250 EEST [DEBUG] MultiThreadedHttpConnectionManager - Notifying no-one, there are no waiting threads 1 [Fri Jul 08 16:28:04 EEST 2005] - error: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 1000 ms 1 [Fri Jul 08 16:28:04 EEST 2005] - connection released ------------------------------- 2005/07/08 16:28:45:984 EEST [DEBUG] HttpClient - Java version: 1.5.0_04 2005/07/08 16:28:45:984 EEST [DEBUG] HttpClient - Java vendor: Sun Microsystems Inc. 2005/07/08 16:28:46:000 EEST [DEBUG] HttpClient - Java class path: classes;lib/commons-httpclient-3.0-rc3-r1.jar;lib/commons-logging.jar;lib/commons-codec-1.3.jar 2005/07/08 16:28:46:000 EEST [DEBUG] HttpClient - Operating system name: Windows XP 2005/07/08 16:28:46:000 EEST [DEBUG] HttpClient - Operating system architecture: x86 2005/07/08 16:28:46:000 EEST [DEBUG] HttpClient - Operating system version: 5.1 2005/07/08 16:28:46:140 EEST [DEBUG] HttpClient - SUN 1.5: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; P KIX CertPathBuilder; LDAP, Collection CertStores) 2005/07/08 16:28:46:140 EEST [DEBUG] HttpClient - SunRsaSign 1.5: Sun RSA signature provider 2005/07/08 16:28:46:140 EEST [DEBUG] HttpClient - SunJSSE 1.5: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 2005/07/08 16:28:46:140 EEST [DEBUG] HttpClient - SunJCE 1.5: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC) 2005/07/08 16:28:46:140 EEST [DEBUG] HttpClient - SunJGSS 1.0: Sun (Kerberos v5) 2005/07/08 16:28:46:140 EEST [DEBUG] HttpClient - SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSS API, CRAM-MD5) 2005/07/08 16:28:46:156 EEST [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.0-rc3 2005/07/08 16:28:46:171 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1 2005/07/08 16:28:46:171 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager 2005/07/08 16:28:46:171 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = rfc2109 2005/07/08 16:28:46:171 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII 2005/07/08 16:28:46:171 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1 2005/07/08 16:28:46:171 EEST [DEBUG] DefaultHttpParams - Set parameter http.method.retry-handler = [EMAIL PROTECTED] 2005/07/08 16:28:46:171 EEST [DEBUG] DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyy y HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm: ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 2005/07/08 16:28:46:187 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout = 3000 1 [Fri Jul 08 16:28:46 EEST 2005] - about to get something from http://192.168.201.14/ 2005/07/08 16:28:46:250 EEST [DEBUG] MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection: config = HostConfiguration[host=http://192.168.201.14], timeout = 0 2005/07/08 16:28:46:250 EEST [DEBUG] MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=http://192.168.201.14] 2005/07/08 16:28:46:265 EEST [DEBUG] HttpConnection - Open connection to 192.168.201.14:80 2005/07/08 16:28:53:781 EEST [DEBUG] HttpMethodDirector - Closing the connection. 2005/07/08 16:28:53:781 EEST [DEBUG] HttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted 2005/07/08 16:28:53:781 EEST [DEBUG] HttpConnection - Releasing connection back to connection manager. 2005/07/08 16:28:53:781 EEST [DEBUG] MultiThreadedHttpConnectionManager - Freeing connection, hostConfig=HostConfiguration[host=http://192.168.201.14] 2005/07/08 16:28:53:781 EEST [DEBUG] IdleConnectionHandler - Adding connection at: 1120829333781 2005/07/08 16:28:53:781 EEST [DEBUG] MultiThreadedHttpConnectionManager - Notifying no-one, there are no waiting threads 1 [Fri Jul 08 16:28:53 EEST 2005] - error: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 3000 ms 1 [Fri Jul 08 16:28:53 EEST 2005] - connection released ------------------------------- 2005/07/08 16:29:31:140 EEST [DEBUG] HttpClient - Java version: 1.5.0_04 2005/07/08 16:29:31:140 EEST [DEBUG] HttpClient - Java vendor: Sun Microsystems Inc. 2005/07/08 16:29:31:140 EEST [DEBUG] HttpClient - Java class path: classes;lib/commons-httpclient-3.0-rc3-r1.jar;lib/commons-logging.jar;lib/commons-codec-1.3.jar 2005/07/08 16:29:31:140 EEST [DEBUG] HttpClient - Operating system name: Windows XP 2005/07/08 16:29:31:140 EEST [DEBUG] HttpClient - Operating system architecture: x86 2005/07/08 16:29:31:140 EEST [DEBUG] HttpClient - Operating system version: 5.1 2005/07/08 16:29:31:281 EEST [DEBUG] HttpClient - SUN 1.5: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; P KIX CertPathBuilder; LDAP, Collection CertStores) 2005/07/08 16:29:31:281 EEST [DEBUG] HttpClient - SunRsaSign 1.5: Sun RSA signature provider 2005/07/08 16:29:31:281 EEST [DEBUG] HttpClient - SunJSSE 1.5: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 2005/07/08 16:29:31:281 EEST [DEBUG] HttpClient - SunJCE 1.5: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC) 2005/07/08 16:29:31:281 EEST [DEBUG] HttpClient - SunJGSS 1.0: Sun (Kerberos v5) 2005/07/08 16:29:31:281 EEST [DEBUG] HttpClient - SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSS API, CRAM-MD5) 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.0-rc3 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = rfc2109 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.method.retry-handler = [EMAIL PROTECTED] 2005/07/08 16:29:31:312 EEST [DEBUG] DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyy y HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm: ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 2005/07/08 16:29:31:328 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout = 5000 1 [Fri Jul 08 16:29:31 EEST 2005] - about to get something from http://192.168.201.14/ 2005/07/08 16:29:31:390 EEST [DEBUG] MultiThreadedHttpConnectionManager - HttpConnectionManager.getConnection: config = HostConfiguration[host=http://192.168.201.14], timeout = 0 2005/07/08 16:29:31:406 EEST [DEBUG] MultiThreadedHttpConnectionManager - Allocating new connection, hostConfig=HostConfiguration[host=http://192.168.201.14] 2005/07/08 16:29:31:406 EEST [DEBUG] HttpConnection - Open connection to 192.168.201.14:80 2005/07/08 16:29:40:937 EEST [DEBUG] HttpMethodDirector - Closing the connection. 2005/07/08 16:29:40:937 EEST [DEBUG] HttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted 2005/07/08 16:29:40:937 EEST [DEBUG] HttpConnection - Releasing connection back to connection manager. 2005/07/08 16:29:40:937 EEST [DEBUG] MultiThreadedHttpConnectionManager - Freeing connection, hostConfig=HostConfiguration[host=http://192.168.201.14] 2005/07/08 16:29:40:937 EEST [DEBUG] IdleConnectionHandler - Adding connection at: 1120829380937 2005/07/08 16:29:40:937 EEST [DEBUG] MultiThreadedHttpConnectionManager - Notifying no-one, there are no waiting threads 1 [Fri Jul 08 16:29:40 EEST 2005] - error: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms 1 [Fri Jul 08 16:29:40 EEST 2005] - connection released ------------------------------- So as you can see, an 1000 timeout fires after 6 seconds, an 3000 timeout fires after 7 seconds, a 5000 timeout fires after 9 seconds. Go figure !? Regards, Horia -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
