Posting large file with PostMethod

2011-04-20 Thread kevin_vdb6
Hello, I am develloping a systemtray application that sends parameters of a record to a servlet, however this is working perfectly with files smaller than 1mb but if i try to send larger files it crashes. Im using Swing as client. (the problem is at the Attachment parameter) I've been searching

Re: Posting large file with PostMethod

2011-04-20 Thread sebb
On 20 April 2011 08:56, kevin_vdb6 kevin.vandenbe...@student.kdg.be wrote: Hello, I am develloping a systemtray application that sends parameters of a record to a servlet, however this is working perfectly with files smaller than 1mb but if i try to send larger files it crashes. Unless you

help with EofSensorInputStream..

2011-04-20 Thread Donald Fernandes
I have recently moved from Httpclient 3.1 to HttpClient 4.2, mainly to resolve the inputstream autoclose problem. I need help in creating the EofSensorInputStream.. I have a http connection pool amanager using ThreadSafeClientConnManager using.. when i post an url and get the response using

Re: help with EofSensorInputStream..

2011-04-20 Thread Oleg Kalnichevski
On Wed, 2011-04-20 at 06:00 -0700, Donald Fernandes wrote: I have recently moved from Httpclient 3.1 to HttpClient 4.2, mainly to resolve the inputstream autoclose problem. I need help in creating the EofSensorInputStream.. I have a http connection pool amanager using

Re: help with EofSensorInputStream..

2011-04-20 Thread Donald Fernandes
Hi Oleg, I want the stream to be open since i passing the response i receive to another method, which parses the stream to do additional workhence i want it to be open. Later we are explcitly closing the stream... Here is my code snippet :: HttpPool : public void init()

Re: help with EofSensorInputStream..

2011-04-20 Thread Oleg Kalnichevski
On Wed, 2011-04-20 at 06:32 -0700, Donald Fernandes wrote: Hi Oleg, I want the stream to be open since i passing the response i receive to another method, which parses the stream to do additional workhence i want it to be open. Later we are explcitly closing the stream... Here is my

Re: help with EofSensorInputStream..

2011-04-20 Thread Oleg Kalnichevski
On Wed, 2011-04-20 at 09:32 -0700, Donald Fernandes wrote: Hi oleg, Let me explain the problem first. when using httpClient 3.1 we were using the getResponseBody api, which was resulting in huge jvm consumption for large data files and at time throwing out OutOfMemory exceptions. A bit

Re: NTLM v2 support?

2011-04-20 Thread Susam Pal
On Sun, Apr 3, 2011 at 2:56 AM, Otis Gospodnetic ogjunk-nu...@yahoo.com wrote: Hi, Does the latest Nutch release support NTLM v2?  I know NTLM is supported ( http://wiki.apache.org/nutch/HttpAuthenticationSchemes ), but I can't find any explicit references to NTLM version supported. Thanks,