Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 7379 invoked from network); 14 Nov 2007 00:12:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2007 00:12:30 -0000 Received: (qmail 6594 invoked by uid 500); 14 Nov 2007 00:12:17 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 6577 invoked by uid 500); 14 Nov 2007 00:12:17 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 6566 invoked by uid 99); 14 Nov 2007 00:12:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 16:12:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 209.85.128.185 as permitted sender) Received: from [209.85.128.185] (HELO fk-out-0910.google.com) (209.85.128.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 00:12:20 +0000 Received: by fk-out-0910.google.com with SMTP id z23so722fkz for ; Tue, 13 Nov 2007 16:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zQtPXB/5iIH7NWDOvbal1LJ2rDi02P6M+ZiDB+ZV8UU=; b=E0VohB/FZmjQF2PvpirI0qDV4QkJycdo7n7kIkLQNvyCsvTDB84GUEuXHK7zEygIgO8nLpsyO+HxBdiJeETa1StRKgVqnS4e9EwZV6pA7fHVImN1Z0XZX/NkWA0uUsVq9GAfbn2vuT7eL7vT8ovyCq1HA0YmzakMTbse8AsK6TI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SNtcyMwWHIYXzEcXx9Z0bvvTLl1mZgWks9wHLpOQzW9TGtTdo5oj69mYyGyjvZGO11zS7FupIHrovo+LcpRtLB0NiJkSCmwfGIE/Ni5ySJNAtoYQCQFb2fwnoPFYiXI3J9e/ElN1YndlP/OGMEvW0CPoVNWb8UVf3ufwfVIbP3E= Received: by 10.86.86.12 with SMTP id j12mr5655293fgb.1194999119471; Tue, 13 Nov 2007 16:11:59 -0800 (PST) Received: by 10.86.58.16 with HTTP; Tue, 13 Nov 2007 16:11:59 -0800 (PST) Message-ID: <25aac9fc0711131611hf48f396lbfe0c650f1cef27f@mail.gmail.com> Date: Wed, 14 Nov 2007 00:11:59 +0000 From: sebb To: "HttpClient User Discussion" Subject: Re: Exception is thrown for a HTTP client request In-Reply-To: <9A32685D51518043BA4A9E2AD2EB0FED0875697A@INCG2004A.corp.statestr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9A32685D51518043BA4A9E2AD2EB0FED0875697A@INCG2004A.corp.statestr.com> X-Virus-Checked: Checked by ClamAV on apache.org A normal HTTP response looks like HTTP/1.1 200 OK or HTTP/1.1 404 Not Found Looks like the server is misbehaving, as the code and message are missing. By the way, you have not said what version of HttpClient & Java you are using. On 13/11/2007, Jogi, Sunita wrote: > Hi, > > > > We are using websphere app server. When we are sending a request to the > server through http clinet following exception is thrown. > > Could you please let me know the reason for this exception. > > > > [11/13/07 14:09:08:819 EST] 00000030 SystemErr R 11/13 14:09:08 > ERROR %%Server%%org.apache.commons.httpclient.HttpRecoverableException: > org.apache.commons.httpclient.HttpException: Status-Line 'HTTP/1.1 ' is > not valid > > org.apache.commons.httpclient.HttpRecoverableException: > org.apache.commons.httpclient.HttpException: Status-Line 'HTTP/1.1 ' is > not valid > > at > org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase > .java:1940) > > at > org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBa > se.java:2634) > > at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java > :1065) > > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:6 > 43) > > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:4 > 97) > > at > flex.server.j2ee.proxy.ProxyServlet.service(ProxyServlet.java:611) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > at > flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:69) > > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja > va:1282) > > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja > va:1239) > > at > com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh > ain.java:136) > > at filter.GZIPFilter.doFilter(GZIPFilter.java:47) > > at > com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst > anceWrapper.java:142) > > at > com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh > ain.java:121) > > at > com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterC > hain.java:82) > > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap > per.java:670) > > at > com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS > ervletWrapper.java:80) > > at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:180 > 2) > > at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8 > 4) > > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio > n(HttpInboundLink.java:469) > > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio > n(HttpInboundLink.java:408) > > at > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC > LReadCallback.java:101) > > at > com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa > nager.java:566) > > at > com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager. > java:619) > > at > com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager. > java:952) > > at > com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager > .java:1039) > > at > com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455) > > > > Thanks & Regards, > Sunita > > Work: 1-416.594.4659 > > Mobile: 1-416.878.3115 > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org