C:\work\httpClient\commons-httpclient 0507>set CP=./target/examples;./dist/commons-httpclient.jar;./lib/commons-logging.jar C:\work\httpClient\commons-httpclient 0507>java -cp ./target/examples;./dist/commons-httpclient.jar;./lib/commons-logging.jar ClientApp 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -Java version: 1.3.1_03 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -Java vendor: Sun Microsystems Inc. 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -Java class path: ./target/examples;./dist/commons-httpclient.jar;./lib/commons-logging.jar 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -Operating system name: Windows 2000 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -Operating system architecture: x86 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -Operating system version: 5.0 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -SUN 1.2: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore) 2003/05/08 11:14:15:187 CDT [DEBUG] HttpClient - -SunRsaSign 1.0: SUN's provider for RSA signatures 2003/05/08 11:14:15:203 CDT [DEBUG] HttpClient - -SunJSSE 1.03: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) POST 2003/05/08 11:14:22:828 CDT [TRACE] GetMethod - -enter GetMethod(String) 2003/05/08 11:14:22:828 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.setRequestBody(String) 2003/05/08 11:14:22:828 CDT [TRACE] PostMethod - -enter PostMethod.clearRequestBody() 2003/05/08 11:14:22:828 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.clearRequestBody() doPost: settings = {sendBody=true, httpClientLogging=true, http.proxyHost=www-proxy.sabre.com, forceNTLMOnly=false, http.proxyDomain=GLOBAL, postText=, prefersNTLM=false, http.proxyPassword=china456, http.proxyPort=80, useExpect=true, http.proxyComputerName=SGDSCC361848001, https.nonProxyHosts=, http.proxyUser=sg0618480} setting use expect header to true 2003/05/08 11:14:22:828 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.getRequestBodyAsString() 2003/05/08 11:14:22:828 CDT [TRACE] PostMethod - -enter PostMethod.renerateRequestBody() 2003/05/08 11:14:22:828 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.renerateRequestBody() 2003/05/08 11:14:22:828 CDT [TRACE] HttpMethod - -enter getContentCharSet( Header contentheader ) 2003/05/08 11:14:22:828 CDT [DEBUG] HttpMethod - -Default charset used: ISO-8859-1 2003/05/08 11:14:22:828 CDT [TRACE] HttpMethod - -enter getContentCharSet( Header contentheader ) 2003/05/08 11:14:22:828 CDT [DEBUG] HttpMethod - -Default charset used: ISO-8859-1 2003/05/08 11:14:22:828 CDT [TRACE] HttpClient - -enter HttpClient.executeMethod(HttpMethod) 2003/05/08 11:14:22:828 CDT [TRACE] HttpClient - -enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState) 2003/05/08 11:14:22:828 CDT [TRACE] MultiThreadedHttpConnectionManager - -enter HttpConnectionManager.getConnection(HostConfiguration, long) 2003/05/08 11:14:22:828 CDT [DEBUG] MultiThreadedHttpConnectionManager - -HttpConnectionManager.getConnection: config = org.apache.commons.httpclient.HostConfiguration@b34f9ef9, timeout = 0 2003/05/08 11:14:22:828 CDT [TRACE] MultiThreadedHttpConnectionManager - -enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration) 2003/05/08 11:14:22:828 CDT [TRACE] MultiThreadedHttpConnectionManager - -enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration) 2003/05/08 11:14:22:843 CDT [DEBUG] HttpConnection - -Creating connection for evoya.dev.sabre.com using protocol http:80 2003/05/08 11:14:22:843 CDT [DEBUG] HttpConnection - -Creating connection for evoya.dev.sabre.com using protocol http:80 2003/05/08 11:14:22:843 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2003/05/08 11:14:22:843 CDT [TRACE] HttpConnection - -enter HttpConnection.open() 2003/05/08 11:14:23:906 CDT [TRACE] HttpMethod - -enter HttpMethodBase.execute(HttpState, HttpConnection) 2003/05/08 11:14:23:906 CDT [DEBUG] HttpMethod - -Execute loop try 1 2003/05/08 11:14:23:906 CDT [TRACE] HttpMethod - -enter HttpMethodBase.processRequest(HttpState, HttpConnection) 2003/05/08 11:14:23:906 CDT [TRACE] HttpMethod - -Attempt number 1 to process request 2003/05/08 11:14:23:906 CDT [TRACE] HttpMethod - -enter HttpMethodBase.writeRequest(HttpState, HttpConnection) 2003/05/08 11:14:23:906 CDT [TRACE] HttpMethod - -enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection) 2003/05/08 11:14:23:906 CDT [TRACE] HttpMethod - -enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String) 2003/05/08 11:14:23:921 CDT [DEBUG] wire - ->> "POST /taCheck.jsp HTTP/1.1[\r][\n]" 2003/05/08 11:14:23:921 CDT [TRACE] HttpConnection - -enter HttpConnection.print(String) 2003/05/08 11:14:23:921 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) 2003/05/08 11:14:23:921 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] ExpectContinueMethod - -enter ExpectContinueMethod.addRequestHeaders(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [DEBUG] HttpMethod - -Adding Host request header 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] HttpState - -enter HttpState.getCookies() 2003/05/08 11:14:23:921 CDT [TRACE] CookieSpec - -enter CookieSpecBase.match(String, int, String, boolean, Cookie[]) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection) 2003/05/08 11:14:23:921 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.getRequestContentLength() 2003/05/08 11:14:23:921 CDT [TRACE] PostMethod - -enter PostMethod.renerateRequestBody() 2003/05/08 11:14:23:921 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.renerateRequestBody() 2003/05/08 11:14:23:921 CDT [TRACE] HttpMethod - -enter getContentCharSet( Header contentheader ) 2003/05/08 11:14:23:921 CDT [DEBUG] HttpMethod - -Default charset used: ISO-8859-1 2003/05/08 11:14:23:937 CDT [TRACE] PostMethod - -enter PostMethod.hasRequestContent() 2003/05/08 11:14:23:937 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.hasRequestContent() 2003/05/08 11:14:23:937 CDT [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0alpha3[\r][\n]" 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.print(String) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) 2003/05/08 11:14:23:937 CDT [DEBUG] wire - ->> "Host: evoya.dev.sabre.com[\r][\n]" 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.print(String) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) 2003/05/08 11:14:23:937 CDT [DEBUG] wire - ->> "Expect: 100-continue[\r][\n]" 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.print(String) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.writeLine() 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[]) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.flushRequestOutputStream() 2003/05/08 11:14:23:937 CDT [DEBUG] wire - ->> "[\r][\n]" 2003/05/08 11:14:23:937 CDT [DEBUG] HttpConnection - -HttpConnection.getSoTimeout() 2003/05/08 11:14:23:937 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(3000) 2003/05/08 11:14:23:937 CDT [TRACE] HttpMethod - -enter HttpMethodBase.readStatusLine(HttpState, HttpConnection) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.readLine() 2003/05/08 11:14:23:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine() 2003/05/08 11:14:23:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine() 2003/05/08 11:14:23:937 CDT [DEBUG] wire - -<< "HTTP/1.1 100 Continue[\r][\n]" 2003/05/08 11:14:23:937 CDT [TRACE] HttpMethod - -enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection) 2003/05/08 11:14:23:937 CDT [TRACE] HttpConnection - -enter HttpConnection.getResponseInputStream() 2003/05/08 11:14:23:937 CDT [TRACE] HttpParser - -enter HeaderParser.parseHeaders(HttpConnection, HeaderGroup) 2003/05/08 11:14:23:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine() 2003/05/08 11:14:23:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine() 2003/05/08 11:14:23:953 CDT [TRACE] HttpMethod - -enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection) 2003/05/08 11:14:23:953 CDT [DEBUG] HttpMethod - -OK to continue received 2003/05/08 11:14:23:953 CDT [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0) 2003/05/08 11:14:23:953 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection) 2003/05/08 11:14:23:953 CDT [TRACE] PostMethod - -enter PostMethod.hasRequestContent() 2003/05/08 11:14:23:953 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.hasRequestContent() 2003/05/08 11:14:23:953 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.getRequestContentLength() 2003/05/08 11:14:23:953 CDT [DEBUG] EntityEnclosingMethod - -Using buffered request body 2003/05/08 11:14:23:953 CDT [TRACE] HttpConnection - -enter HttpConnection.getRequestOutputStream() 2003/05/08 11:14:23:953 CDT [DEBUG] EntityEnclosingMethod - -Request body sent 2003/05/08 11:14:23:953 CDT [TRACE] HttpConnection - -enter HttpConnection.flushRequestOutputStream() 2003/05/08 11:14:23:953 CDT [TRACE] HttpMethod - -enter HttpMethodBase.readResponse(HttpState, HttpConnection) 2003/05/08 11:14:23:953 CDT [TRACE] HttpMethod - -enter HttpMethodBase.readStatusLine(HttpState, HttpConnection) 2003/05/08 11:14:23:953 CDT [TRACE] HttpConnection - -enter HttpConnection.readLine() 2003/05/08 11:14:23:953 CDT [TRACE] HttpParser - -enter HttpParser.readLine() 2003/05/08 11:14:23:953 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine() org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP" at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:2076) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1877) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2485) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1059) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:625) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) at ClientApp$HttpClientFrame.getPage(ClientApp.java:301) at ClientApp$HttpClientFrame.access$500(ClientApp.java:122) at ClientApp$5.run(ClientApp.java:351) 2003/05/08 11:14:23:953 CDT [DEBUG] HttpMethod - -Caught exception reading response org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP" : Error in parsing the status line from the response: unable to find line starting with "HTTP" 2003/05/08 11:14:23:953 CDT [DEBUG] HttpMethod - -Closing the connection. 2003/05/08 11:14:23:953 CDT [TRACE] HttpConnection - -enter HttpConnection.close() 2003/05/08 11:14:23:953 CDT [TRACE] HttpConnection - -enter HttpConnection.closeSockedAndStreams() 2003/05/08 11:14:23:953 CDT [INFO] HttpMethod - -Recoverable exception caught when processing request 2003/05/08 11:14:23:953 CDT [WARN] HttpMethod - -Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP" at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1894) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2485) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1059) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:625) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) at ClientApp$HttpClientFrame.getPage(ClientApp.java:301) at ClientApp$HttpClientFrame.access$500(ClientApp.java:122) at ClientApp$5.run(ClientApp.java:351) 2003/05/08 11:14:23:953 CDT [TRACE] HttpConnection - -enter HttpConnection.releaseConnection() 2003/05/08 11:14:23:953 CDT [TRACE] MultiThreadedHttpConnectionManager - -enter HttpConnectionManager.releaseConnection(HttpConnection) 2003/05/08 11:14:23:953 CDT [DEBUG] MultiThreadedHttpConnectionManager - -Freeing connection: org.apache.commons.httpclient.HttpConnection@1777b1 2003/05/08 11:14:23:953 CDT [TRACE] MultiThreadedHttpConnectionManager - -enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration) 2003/05/08 11:14:23:953 CDT [DEBUG] MultiThreadedHttpConnectionManager - -Notifying no-one, there are no waiting threads 2003/05/08 11:14:23:953 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.recycle() 2003/05/08 11:14:23:953 CDT [TRACE] PostMethod - -enter PostMethod.clearRequestBody() 2003/05/08 11:14:23:953 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.clearRequestBody() 2003/05/08 11:14:23:953 CDT [TRACE] GetMethod - -enter GetMethod.recycle() 2003/05/08 11:14:23:953 CDT [TRACE] HttpMethod - -enter HttpMethodBase.recycle() 2003/05/08 11:14:23:953 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.setRequestBody(String) 2003/05/08 11:14:23:953 CDT [TRACE] PostMethod - -enter PostMethod.clearRequestBody() 2003/05/08 11:14:23:953 CDT [TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.clearRequestBody()