Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 19:32 +0100, Oleg Kalnichevski wrote: In which case HttpClent would use chunk coding to signal the end of the message body. That means there would be at least a closing tag. I don't know HttpClient like you, but once I put some content in the fi

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
On Tue, 2011-01-04 at 19:32 +0100, Oleg Kalnichevski wrote: > > >>> > > > In which case HttpClent would use chunk coding to signal the end of the > > > message body. That means there would be at least a closing tag. > > > > I don't know HttpClient like you, but once I put some content in the > >

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
> >>> > > In which case HttpClent would use chunk coding to signal the end of the > > message body. That means there would be at least a closing tag. > > I don't know HttpClient like you, but once I put some content in the > file everything works. > > Please produce wire log of the HTTP sessio

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: "Ittay Dror" wrote: Oleg Kalnichevski wrote: "Ittay Dror" wrote: Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
"Ittay Dror" wrote: > > >Oleg Kalnichevski wrote: >> "Ittay Dror" wrote: >> >>> >>> Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: > It turns out this is because my warmupInput file was empty. The >>> server > responded with 100 (continue), but because

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: "Ittay Dror" wrote: Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because the file was empty nothing was written to the ou

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
"Ittay Dror" wrote: > > >Oleg Kalnichevski wrote: >> On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: >>> It turns out this is because my warmupInput file was empty. The >server >>> responded with 100 (continue), but because the file was empty >nothing >>> was written to the output stream, so

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Oleg Kalnichevski wrote: On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because the file was empty nothing was written to the output stream, so after a while there was a timeout. IM

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Oleg Kalnichevski
On Tue, 2011-01-04 at 17:30 +0200, Ittay Dror wrote: > It turns out this is because my warmupInput file was empty. The server > responded with 100 (continue), but because the file was empty nothing > was written to the output stream, so after a while there was a timeout. > > IMHO, this is a bug.

Re: getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
It turns out this is because my warmupInput file was empty. The server responded with 100 (continue), but because the file was empty nothing was written to the output stream, so after a while there was a timeout. IMHO, this is a bug. Either an empty input should be posted, or I should get a mo

getting NoHttpResponseException("The target server failed to respond")

2011-01-04 Thread Ittay Dror
Hello I'm trying to send a POST request to "http://localhost:8090/my/path";, and getting the exception in the subject. The request goes to a the same process. The servlet handling requests is jersey's ServletContainer. Requests from an external tool (both to http://localhost:8090/my/path and