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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to