re: ant file for converting src from commons-logging to log4j for 2.0.1

2004-09-01 Thread Eric Bloch
Looks like my attachment didn't come through. Did anyone see it? My sent box looks ok, but the message sent out via the mailing list is empty! -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

ant file for converting src from commons-logging to log4j for 2.0.1

2004-08-30 Thread Eric Bloch
Attached is an ant build file that can be plopped into your basedir for httpclient. (I tested it with the 2.0.1 src distro rather than a cvs dir.) % ant -buildfile commons-logging-to-log4j.xml -projecthelp Buildfile: commons-logging-to-log4j.xml Main targets: convert

Re: Problems with commons-logging jar and request for advice.

2004-08-29 Thread Eric Bloch
of random thoughts Oleg On Sat, 2004-08-28 at 00:39, Eric Bloch wrote: Hey Folks, I've experienced a few problems with httpclient not instantiating in a web application under some containers (websphere 5.1 is the latest, but I've seen problems in tomcat and ATG as well). This turns out

Problems with commons-logging jar and request for advice.

2004-08-27 Thread Eric Bloch
Hey Folks, I've experienced a few problems with httpclient not instantiating in a web application under some containers (websphere 5.1 is the latest, but I've seen problems in tomcat and ATG as well). This turns out to *always* be a problem with class-loading and commons-logging. It's hard

running with a policy file and system properties

2004-07-26 Thread Eric Bloch
I'm walking down the task of making a product that uses httpclient run underneath a server with a java policy file. I know httpclient makes threads and sockets and I believe I have these under control (will be allowed or disabled), but I've seen some code in the 2.0 code base that does

Re: Wire log to Log4J logger.

2004-07-11 Thread Eric Bloch
Hey Folks, I'm having trouble making httpclient 2.0 use log4j logging inside Tomcat5 (when running against java 1.4). Seems as though tomcat5 makes some call to the the commons logger early on (see below). Tomcat5 doesn't come with log4j... so the commons logging default log factory

Re: questionable default value for BufferedOutputStream size in HttpConnection and memory usage?

2004-07-04 Thread Eric Bloch
introduction see: http://www.laszlosystems.com/lps/laszlo-in-ten-minutes/ . Btw, we also have an interest in using httpclient as the transport for a SOAP client if anyone else is working on that. Best, -Eric Bloch - To unsubscribe, e-mail

questionable default value for BufferedOutputStream size in HttpConnection and memory usage?

2004-07-02 Thread Eric Bloch
Hi httpclient folks, I've been looking at 2.0 source code and the default value for the BufferedOutputStream that is used in an HttpConnectionn is coming from socket.getSendBufferSize(). My hunch, is that, in general, this is bigger than you'd want. Most HTTP sends are less than 1KByte ('cept

Re: questionable default value for BufferedOutputStream size in HttpConnection and memory usage?

2004-07-02 Thread Eric Bloch
as for 3.0 when falling back onto the system defaults), however, it would make sense to set a cap on the size of the send and receive buffers. Feel free to open a ticket for this issue with Bugzilla Oleg On Fri, 2004-07-02 at 18:39, Eric Bloch wrote: Hi httpclient folks, I've been looking at 2.0

Re: unable to find line starting with HTTP

2004-06-02 Thread Eric Bloch
I am seeing this exact same problem with 2.0rc1 as well. A wget to the server from the same client works fine. The httpclient wire log shows that I get a redirect and then the in waiting for the HTTP status line from the redirect, it never comes... What server are you running? -Eric

Re: Memory Leaks when web server hangs

2004-03-21 Thread Eric Bloch
objects? You don't have to. cheers, Roland Eric Bloch [EMAIL PROTECTED] 22.03.2004 07:03 Please respond to Commons HttpClient Project To: Commons HttpClient Project [EMAIL PROTECTED] cc: Subject:Re: Memory Leaks when web server hangs Oh... and I just want

Re: Memory Leaks when web server hangs

2004-03-19 Thread Eric Bloch
Hey there, I create/destroy http clients but always have them use the same connection manager. Will that cause thread thrashing? Thanks, -Eric Roland Weber wrote: Hello Srini, you should *not* create a new HTTP Client for each request! This will also create a new connection manager, and a

Re: 2.0 rc1 leaking sockets?

2004-03-18 Thread Eric Bloch
Michael Becke wrote: Hi Eric, By default 20 is max number of total connections. This number will not be exceeded regardless of the number of hosts being connected to. What if maxconnsperhost is maxtotal ? For example, imagine I'm setting maxconnsperhost to 1000. Thanks, Eric

question about SimpleHttpConnectionManager

2004-03-18 Thread Eric Bloch
I feel like this has been asked before I'm wondering how I force a socket to close when I'm using this manager. I couldn't find the api. Thanks, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: 2.0 rc1 leaking sockets?

2004-03-17 Thread Eric Bloch
. There are currently two open bugs that may apply to your situation: http://issues.apache.org/bugzilla/show_bug.cgi?id=25372 and http://issues.apache.org/bugzilla/show_bug.cgi?id=27589 I would also suggest checking the archive for more discussion on this matter. Mike On Mar 16, 2004, at 7:31 PM, Eric

Re: 2.0 rc1 leaking sockets?

2004-03-17 Thread Eric Bloch
should be aware of? Or is there a doc somewhere that has the list of changes between rc1 and final? Thanks again! -Eric Michael Becke wrote: On Mar 17, 2004, at 5:05 PM, Eric Bloch wrote: Thanks... just to be clear though... the multi-threadded connection mgr should never hold open more than

2.0 rc1 leaking sockets?

2004-03-16 Thread Eric Bloch
Hi there, I've got a question. I'm using the Multithreaded Connection Manager and I know that I'm always calling releaseConnection() on every connection I use. Are there any reports (or possibilities) that releaseConnection() will fail to close an open socket or lose track of is such that I

what would an infinite loop in ChunkedInputStream.exhaustInputStreammean?

2003-08-29 Thread Eric Bloch
I am using the httpclient library to implement a caching, converting proxy and under some stress situations, I see this method infinite loop. Any clues? Thanks! -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For

regression in cookie handling from 2.0 alpha3 to 2.0 rc 1 ?

2003-08-26 Thread Eric Bloch
that it should merge in any client state cookies to the header I add, rather than clobbering mine. Should I file a bug? FYI, I work-around this bug, by subclassing GetMethod (or any other HttpMethod) and overridding addCookieRequestHeader() to be a no-op. Thanks, Eric -- Eric Bloch Laszlo Systems, Inc

Re: regression in cookie handling from 2.0 alpha3 to 2.0 rc 1 ?

2003-08-26 Thread Eric Bloch
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Bloch Laszlo Systems, Inc. 1040 Mariposa Street, SF, CA 94107 voice: 415.241.2721 fax: 415.865.2914 email: [EMAIL PROTECTED