As a side note, make sure you always release connection once you are done using HTTP methods. That may save you a lot of grief if ever decide to use multi-threaded connection manager instead of the default one.
ok, I added a httpget.releaseConnection();
GTELP1 is a ISA Proxy Server
long log is attached Thanks, Albert
log start here--------------
2003/10/13 11:26:46:945 CEST [DEBUG] HttpClient - -Java version: 1.4.1_02
2003/10/13 11:26:46:960 CEST [DEBUG] HttpClient - -Java vendor: Sun Microsystems Inc.
2003/10/13 11:26:46:960 CEST [DEBUG] HttpClient - -Java class path:
long classpath with ....commons-httpclient-2.0-rc1\commons-httpclient-2.0-rc1.jar...
2003/10/13 11:26:47:195 CEST [DEBUG] HttpClient - -Operating system name: Windows 2000
2003/10/13 11:26:47:195 CEST [DEBUG] HttpClient - -Operating system architecture: x86
2003/10/13 11:26:47:195 CEST [DEBUG] HttpClient - -Operating system version: 5.0
2003/10/13 11:26:47:570 CEST [DEBUG] HttpClient - -SUN 1.2: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores)
2003/10/13 11:26:47:570 CEST [DEBUG] HttpClient - -SunJSSE 1.41: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
2003/10/13 11:26:47:585 CEST [DEBUG] HttpClient - -SunRsaSign 1.0: SUN's provider for RSA signatures
2003/10/13 11:26:47:632 CEST [DEBUG] HttpClient - -SunJCE 1.4: SunJCE Provider (implements DES, Triple DES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
2003/10/13 11:26:47:632 CEST [DEBUG] HttpClient - -SunJGSS 1.0: Sun (Kerberos v5)
2003/10/13 11:26:47:851 CEST [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0)
2003/10/13 11:26:47:960 CEST [DEBUG] HttpMethodBase - -Execute loop try 1
2003/10/13 11:26:47:976 CEST [DEBUG] wire - ->> "POST /new/index1.php HTTP/1.1[\r][\n]"
2003/10/13 11:26:47:976 CEST [DEBUG] HttpMethodBase - -Adding Host request header
2003/10/13 11:26:47:992 CEST [DEBUG] HttpMethodBase - -Default charset used: ISO-8859-1
2003/10/13 11:26:48:007 CEST [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0rc1\[r][\n]"
2003/10/13 11:26:48:007 CEST [DEBUG] wire - ->> "Host: www.smsexecutive.it[\r][\n]"
2003/10/13 11:26:48:007 CEST [DEBUG] wire - ->> "Content-Length: 35[\r][\n]"
2003/10/13 11:26:48:007 CEST [DEBUG] wire - ->> "Content-Type: application/x-www-form-rlencoded[\r][\n]"
2003/10/13 11:26:48:023 CEST [DEBUG] wire - ->> "[\r][\n]"
2003/10/13 11:26:48:023 CEST [DEBUG] EntityEnclosingMethod - -Using buffered request body
2003/10/13 11:26:48:023 CEST [DEBUG] wire - ->> "username=USER&password=PASS"
2003/10/13 11:26:48:023 CEST [DEBUG] EntityEnclosingMethod - -Request body sent
2003/10/13 11:26:48:117 CEST [DEBUG] wire - -<< "HTTP/1.1 200 OK[\r][\n]"
2003/10/13 11:26:48:132 CEST [DEBUG] wire - -<< "Via: 1.1 GTELP1[\r][\n]"
2003/10/13 11:26:48:132 CEST [DEBUG] wire - -<< "Connection: close[\r][\n]"
2003/10/13 11:26:48:132 CEST [DEBUG] wire - -<< "Proxy-Connection: close[\r][\n]"
2003/10/13 11:26:48:132 CEST [DEBUG] wire - -<< "Expires: Mon, 26 Jul 1997 05:00:00 GMT[\r][\n]"
2003/10/13 11:26:48:164 CEST [DEBUG] wire - -<< "Date: Mon, 13 Oct 2003 09:18:15 GMT[\r][\n]"
2003/10/13 11:26:48:164 CEST [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]"
2003/10/13 11:26:48:164 CEST [DEBUG] wire - -<< "Server: Apache/1.3.19 (Unix) (Red-Hat/Linux)[\r][\n]"
2003/10/13 11:26:48:164 CEST [DEBUG] wire - -<< "Last-Modified: Mon, 13 Oct 2003 09:18:15 GMT[\r][\n]"
2003/10/13 11:26:48:164 CEST [DEBUG] wire - -<< "Cache-Control: no-cache, must-revalidate[\r][\n]"
2003/10/13 11:26:48:179 CEST [DEBUG] wire - -<< "Pragma: no-cache[\r][\n]"
2003/10/13 11:26:48:179 CEST [DEBUG] wire - -<< "Set-Cookie: userid=USER[\r][\n]"
2003/10/13 11:26:48:179 CEST [DEBUG] wire - -<< "Set-Cookie: userhash= 4 byte hex string [\r][\n]"
2003/10/13 11:26:48:179 CEST [DEBUG] wire - -<< "Set-Cookie: id_utente=109[\r][\n]"
2003/10/13 11:26:48:257 CEST [DEBUG] HttpMethodBase - -Cookie accepted: "$Version=0; userid=USER"
2003/10/13 11:26:48:257 CEST [DEBUG] HttpMethodBase - -Cookie accepted: "$Version=0; userhash= 4 byte hex string "
2003/10/13 11:26:48:257 CEST [DEBUG] HttpMethodBase - -Cookie accepted: "$Version=0; id_utente=109"
2003/10/13 11:26:48:257 CEST [DEBUG] HttpMethodBase - -Buffering response body
2003/10/13 11:26:48:257 CEST [DEBUG] wire - -<< "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">[\r][\n]"
2003/10/13 11:26:48:257 CEST [DEBUG] wire - -<< "<!-- saved from url=(0034)http://edit.dev.dada.net/index.php -->[\r][\n]"
2003/10/13 11:26:48:257 CEST [DEBUG] wire - -<< "<HTML><HEAD><TITLE>SMSexecutive</TITLE>[\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< "<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">[\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< "<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD><FRAMESET border=0 [\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< "frameSpacing=0 rows=93,* frameBorder=NO>[\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< " <FRAME name=AdmintopFrame src="head.htm" noResize scrolling=no>[\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< " <FRAMESET border=0 frameSpacing=0 rows=*,9 frameBorder=NO cols="*"> [\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< " <frameset cols="175,*" frameborder="NO" border="0" framespacing="0" rows="*"> [\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< " <frame name="leftFrame" scrolling="NO" noresize src="sx.php">[\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< " <FRAME name=mainFrame src="blank.htm">[\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< " </frameset>[\r][\n]"
2003/10/13 11:26:48:273 CEST [DEBUG] wire - -<< " <FRAME name=AdminbottomFrame src="footer.htm" noResize scrolling=no>[\r][\n]"
2003/10/13 11:26:48:289 CEST [DEBUG] wire - -<< " </FRAMESET>[\r][\n]"
2003/10/13 11:26:48:289 CEST [DEBUG] wire - -<< "</FRAMESET><noframes></noframes></HTML>[\r][\n]"
2003/10/13 11:26:48:289 CEST [DEBUG] HttpMethodBase - -Should forcefully close connection.
2003/10/13 11:26:48:289 CEST [DEBUG] HttpMethodBase - -Default charset used: ISO-8859-1
2003/10/13 11:26:48:304 CEST [DEBUG] HttpConnection - -Connection is stale, closing...
2003/10/13 11:26:48:304 CEST [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0)
2003/10/13 11:26:48:304 CEST [DEBUG] HttpMethodBase - -Execute loop try 1
Login form post: HTTP/1.1 200 OK
2003/10/13 11:26:48:304 CEST [DEBUG] wire - ->> "GET /new/sx.php HTTP/1.1[\r][\n]"
2003/10/13 11:26:48:304 CEST [DEBUG] HttpMethodBase - -Adding Host request header
2003/10/13 11:26:48:320 CEST [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0rc1[\r][\n]"
2003/10/13 11:26:48:320 CEST [DEBUG] wire - ->> "Host: www.smsexecutive.it[\r][\n]"
2003/10/13 11:26:48:320 CEST [DEBUG] wire - ->> "Cookie: $Version=0; userid=USER[\r][\n]"
2003/10/13 11:26:48:320 CEST [DEBUG] wire - ->> "Cookie: $Version=0; userhash=the same 4 byte hex string [\r][\n]"
2003/10/13 11:26:48:320 CEST [DEBUG] wire - ->> "Cookie: $Version=0; id_utente=109[\r][\n]"
2003/10/13 11:26:48:320 CEST [DEBUG] wire - ->> "[\r][\n]"
2003/10/13 11:26:48:445 CEST [DEBUG] wire - -<< "HTTP/1.1 302 Found[\r][\n]"
2003/10/13 11:26:48:445 CEST [DEBUG] wire - -<< "Via: 1.1 GTELP1[\r][\n]"
2003/10/13 11:26:48:445 CEST [DEBUG] wire - -<< "Connection: close[\r][\n]"
2003/10/13 11:26:48:445 CEST [DEBUG] wire - -<< "Proxy-Connection: close[\r][\n]"
2003/10/13 11:26:48:445 CEST [DEBUG] wire - -<< "Expires: Mon, 26 Jul 1997 05:00:00 GMT[\r][\n]"
2003/10/13 11:26:48:460 CEST [DEBUG] wire - -<< "Date: Mon, 13 Oct 2003 09:18:15 GMT[\r][\n]"
2003/10/13 11:26:48:460 CEST [DEBUG] wire - -<< "Location: index.php[\r][\n]"
2003/10/13 11:26:48:460 CEST [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]"
2003/10/13 11:26:48:460 CEST [DEBUG] wire - -<< "Server: Apache/1.3.19 (Unix) (Red-Hat/Linux)[\r][\n]"
2003/10/13 11:26:48:476 CEST [DEBUG] wire - -<< "Last-Modified: Mon, 13 Oct 2003 09:18:15 GMT[\r][\n]"
2003/10/13 11:26:48:476 CEST [DEBUG] wire - -<< "Cache-Control: no-cache, must-revalidate[\r][\n]"
2003/10/13 11:26:48:476 CEST [DEBUG] wire - -<< "Pragma: no-cache[\r][\n]"
2003/10/13 11:26:48:476 CEST [DEBUG] HttpMethodBase - -Redirect required
2003/10/13 11:26:48:476 CEST [DEBUG] HttpMethodBase - -Redirect requested to location 'index.php'
2003/10/13 11:26:48:476 CEST [DEBUG] HttpMethodBase - -Redirect URI is not absolute - parsing as relative
2003/10/13 11:26:48:492 CEST [DEBUG] HttpMethodBase - -Redirecting from 'http://www.smsexecutive.it:80/new/sx.php' to 'http://www.smsexecutive.it:80/new/index.php
2003/10/13 11:26:48:492 CEST [DEBUG] HttpMethodBase - -Should forcefully close connection.
2003/10/13 11:26:48:492 CEST [DEBUG] HttpMethodBase - -Execute loop try 2
2003/10/13 11:26:48:492 CEST [DEBUG] HttpMethodBase - -Opening the connection.
2003/10/13 11:26:48:492 CEST [DEBUG] wire - ->> "GET /new/index.php HTTP/1.1[\r][\n]"
2003/10/13 11:26:48:492 CEST [DEBUG] HttpMethodBase - -Request to add Host header ignored: header already added
2003/10/13 11:26:48:507 CEST [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0rc1[\r][\n]"
2003/10/13 11:26:48:507 CEST [DEBUG] wire - ->> "Host: www.smsexecutive.it[\r][\n]"
2003/10/13 11:26:48:507 CEST [DEBUG] wire - ->> "Cookie: $Version=0; userid=USER[\r][\n]"
2003/10/13 11:26:48:507 CEST [DEBUG] wire - ->> "Cookie: $Version=0; userhash= 4 byte hex string [\r][\n]"
2003/10/13 11:26:48:507 CEST [DEBUG] wire - ->> "Cookie: $Version=0; id_utente=109[\r][\n]"
2003/10/13 11:26:48:507 CEST [DEBUG] wire - ->> "[\r][\n]"
2003/10/13 11:26:48:585 CEST [DEBUG] wire - -<< "HTTP/1.1 200 OK[\r][\n]"
2003/10/13 11:26:48:601 CEST [DEBUG] wire - -<< "Via: 1.1 GTELP1[\r][\n]"
2003/10/13 11:26:48:601 CEST [DEBUG] wire - -<< "Connection: close[\r][\n]"
2003/10/13 11:26:48:601 CEST [DEBUG] wire - -<< "Proxy-Connection: close[\r][\n]"
2003/10/13 11:26:48:601 CEST [DEBUG] wire - -<< "Date: Mon, 13 Oct 2003 09:18:16 GMT[\r][\n]"
2003/10/13 11:26:48:601 CEST [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]"
2003/10/13 11:26:48:601 CEST [DEBUG] wire - -<< "Server: Apache/1.3.19 (Unix) (Red-Hat/Linux)[\r][\n]"
2003/10/13 11:26:48:601 CEST [DEBUG] HttpMethodBase - -Buffering response body
2003/10/13 11:26:48:601 CEST [DEBUG] wire - -<< "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">[\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< "<!-- saved from url=(0034)http://edit.dev.dada.net/index.php -->[\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< "<HTML><HEAD><TITLE>SMSexecutive</TITLE>[\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< "<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">[\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< "<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>[\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< "<FRAMESET border=0 [\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< "frameSpacing=0 rows=93,* frameBorder=NO> [\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< " <FRAME name=AdmintopFrame src="newhead.htm" noResize scrolling=no>[\r][\n]"
2003/10/13 11:26:48:617 CEST [DEBUG] wire - -<< " <FRAMESET border=0 frameSpacing=0 rows=*,9 frameBorder=NO cols="*"> [\r][\n]"
2003/10/13 11:26:48:632 CEST [DEBUG] wire - -<< " <frameset cols="*,218" frameborder="NO" border="0" framespacing="0" rows="*"> [\r][\n]"
2003/10/13 11:26:48:632 CEST [DEBUG] wire - -<< " <frameset cols="175,*" frameborder="NO" border="0" framespacing="0" rows="*"> [\r][\n]"
2003/10/13 11:26:48:632 CEST [DEBUG] wire - -<< " <frame name="leftFrame" scrolling="NO" src="newsx.php" noresize>[\r][\n]"
2003/10/13 11:26:48:632 CEST [DEBUG] wire - -<< " <frame name="mainFrame"src="what.php"></frameset>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< " <frame name="rightFrame" scrolling="NO" noresize src="dx.php">[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< " </frameset>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< " <FRAME name=AdminbottomFrame src="footer.htm" noResize scrolling=no>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< " </FRAMESET>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< "</FRAMESET>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< "<noframes>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< "</noframes>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] wire - -<< "</HTML>[\r][\n]"
2003/10/13 11:26:48:648 CEST [DEBUG] HttpMethodBase - -Should forcefully close connection.
2003/10/13 11:26:48:648 CEST [DEBUG] HttpMethodBase - -Default charset used: ISO-8859-1
log end here--------------
_________________________________________________________________
Nuovo MSN Messenger 6.0 con sfondi e giochi! http://messenger.msn.it/ Provalo subito!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
