Re: Auto-detecting proxy settings in a standalone Java app

2004-10-22 Thread Ortwin Glück
Roland Weber wrote: Wait, here is another idea: you could write a startup script that does the proxy settings lookup, then passes the settings through -D definitions as system properties, which can be accessed by your Java application. That's a bit less ugly than calling native code from within

Re: downloading a ZIP file with HttpClient...

2004-10-22 Thread Ortwin Glück
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software

Re: too many TCP connections using httpClient?

2004-10-21 Thread Ortwin Glück
, e-mail: [EMAIL PROTECTED] -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich

Re: can not turn off log under HttpClient

2004-10-20 Thread Ortwin Glück
an idea ... Thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- _ NOSE applied intelligence ag ortwin glück

Re: can not turn off log under HttpClient

2004-10-20 Thread Ortwin Glück
withe the -D option of the JVM. O. -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich

Re: File Uploading using HttpClient

2004-10-20 Thread Ortwin Glück
IndianAtTech wrote: OK, Thanks for the Information. I have found FileUpload API from Jakarta commons project Why do we have 2 API for Uploading from Same project 1. MultipartFileUpload - (Jakarta-commons)HttpClient - Project This is a client side interface to upload to a server. 2. FileUpload

Re: File Uploading using HttpClient

2004-10-20 Thread Ortwin Glück
to read a file from disk, wrap it in a HTTP request and send it to a server. On the server you would use FileUpload to receive the file via HTTP, decode the MIME and save it somewhere on the server. FileUpload is typically used by webapp frameworks. Cheers Ortwin Glück

Re: Is it possible to send and email using HTTPCLIENT?

2004-10-20 Thread Ortwin Glück
Gerdes, Tom wrote: Thanks, for the example! Question though about it... In the main you use the send class. Is this supposed to be SendApp, or am I missing something about the code? Tom, send is a static method of SendApp. For further questions about the Java language, please refer to your

Re: threads problem with many connections

2004-10-01 Thread Ortwin Glück
Guillaume Cottenceau wrote: If, for example, the HTTP server sends one a byte once per second forever, HttpClient will never exit from executeMethod - if I'm correct. Yes. It's up to you to decide if that sort of communication makes sense. HTTP allows it however. 2. Open connections You can

Re: threads problem with many connections

2004-10-01 Thread Ortwin Glück
taste. Ortwin Glück -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich

back in two weeks

2004-10-01 Thread Ortwin Glück
I am off to China now. See you in two weeks, guys. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: threads problem with many connections

2004-10-01 Thread Ortwin Glück
the SimpleConnectionManager instead and create a new HttpClient object for every request if you want to be really safe against resource leaks. -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software

Re: Problem with Preferences Architecture

2004-09-29 Thread Ortwin Glück
add something along the lines of: host.setParams(new HostParams(client.getParams())); Ortwin Glück -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse

Re: Problem with Preferences Architecture

2004-09-29 Thread Ortwin Glück
= new HostConfiguration(hostConfiguration); Ortwin Glück -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id

Re: Problem with Preferences Architecture

2004-09-29 Thread Ortwin Glück
it in the executeMethod call, the problem remains. Of course. Why do you want to query the params objects outside HttpClient anyway? Vikram -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch

Re: [VOTE] 2.0.2 release

2004-09-29 Thread Ortwin Glück
). -- -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35

Re: Problem with Preferences Architecture

2004-09-29 Thread Ortwin Glück
Vikram Goyal wrote: Sorry, I must be missing something, because I don't see it that way. The temporary object that you are talking about, methodConfiguration, is used to create the MethodDirector object that is used to execute the request. So it is passed to the execute call. Okay. I explain in

Re: Problem with Preferences Architecture

2004-09-29 Thread Ortwin Glück
3.0 may well outweigh this disadvantage. Ortwin Glück -Original Message- From: Ortwin Glück [mailto:[EMAIL PROTECTED] Watch out, 3.0 is ALPHA! API and contract may still change until the final version! Good luck with your book. May it become a bestseller

Re: Quick Question

2004-09-29 Thread Ortwin Glück
with the XML parser of your choice of course. Ortwin Glück -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id

Re: Proxy

2004-09-28 Thread Ortwin Glück
Hentzen, Rudy wrote: Thanks for the swift reply, I have a proxy ip address, is that supported?? Rudy Sure. Just fill it into the example, where it says myproxyhost and 8080 is the TCP port. - To unsubscribe, e-mail: [EMAIL

Re: Performance

2004-09-28 Thread Ortwin Glück
This is very good news, Eric! Thanks a lot. Eric Johnson wrote: And I've finally gotten test results back from the appropriate people here. In our test lab, between HttpClient 2.0.1 and the nightly, we found a difference of about 4ms per request. As this was a live-test environment, with all of

Re: HttpClient 3.0 is kind of done. Feedback needed

2004-09-17 Thread Ortwin Glück
preferences architecture: To be able to set and override any parameter at any level. -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171

2.0 Webapp tests failing

2004-09-17 Thread Ortwin Glück
Some of the Cookie tests are currently failing. Can some Cookie expert have a look into this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HttpClient 3.0 is kind of done. Feedback needed

2004-09-16 Thread Ortwin Glück
-- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35

Re: unable to find line starting with HTTP

2004-09-09 Thread Ortwin Glück
Juan, please take a look at our logging guide: http://jakarta.apache.org/commons/httpclient/logging.html Try and get a wirelog of the communication. That will help to track down the problem. Cheers Ortwin Glück Juan Pedro López Sáez wrote: Hello all. From time to time I'm getting the following

Re: DO NOT REPLY [Bug 28728] - HttpUrl does not accept unescaped passwords

2004-09-08 Thread Ortwin Glück
with separate constructors for escaped and non-escaped authentication data. It gives maximum flexibility. cheers, Roland -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer

Re: problem with reading response of a multipart post

2004-08-26 Thread Ortwin Glück
. -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35 switzerland [fax

Re: HttpClient Reading Partial Response

2004-08-24 Thread Ortwin Glück
this header and send appropriate data that the client can handle. On the client side you must not use HttpClients response buffering. So get the response as a stream from the HttpMethod. HTH Ortwin Glück -- _ NOSE applied

Re: Status Bar keeps on going

2004-08-24 Thread Ortwin Glück
there is none. Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HttpRecoverableException

2004-08-20 Thread Ortwin Glück
expect a different exception) * Are you using a proxy by any chance? * Are you opening many simultanous connections to the same host? * Which HTTP Version does the server use? * Can you provide a wire log or packet log of the communication? Thanks Ortwin Glück Labajo, Dennis wrote: Hi all

Re: HttpClient performance

2004-08-20 Thread Ortwin Glück
workstation with JDK 1.4.2_02 in Eclipse 3.0. The profiler used was: http://eclipsecolorer.sourceforge.net/index_profiler.html Feel free to discuss the results attached to this email. Ortwin Glück Zulfi Umrani wrote: Hi, Just wanted to get the latest information on the performance issues reported earlier

Re: HttpClient performance (with download URL)

2004-08-20 Thread Ortwin Glück
workstation with JDK 1.4.2_02 in Eclipse 3.0. The profiler used was: http://eclipsecolorer.sourceforge.net/index_profiler.html Feel free to discuss the results. Results are available for 7 days at: ftp://ftp.nose.ch/pub/outgoing/httpclient/profiling.zip Ortwin Glück Zulfi Umrani wrote: Hi, Just wanted to get

Re: Response content length is not known

2004-08-18 Thread Ortwin Glück
Kalnichevski, Oleg wrote: The best thing you could do to help solve the problem is to capture the HTTP traffic between the browser and the web server using a traffic analyzer. Have a look at Ethereal: http://www.ethereal.com/ You can send us a packet log. (List may refuse large attachments and

Re: DO NOT REPLY [Bug 30388] - Performance Increase by setting the initial ByteArrayOS length

2004-08-11 Thread Ortwin Glück
. -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35 switzerland [fax] +41-1-277

Re: Follow up to Bug 30514

2004-08-10 Thread Ortwin Glück
to 60 seconds because connections are valuable resources. Then it depends on the underlying OS how long it takes until the local resources are freed and the socket object can be collected. -- _ NOSE applied intelligence ag ortwin

Re: Wrong getResponseBody() length and too long request

2004-08-03 Thread Ortwin Glück
Giorgi Javrishvili wrote: Hi, I need to make some crash-tests on web application, so I found the example in CVS - MultiThreadedExample.java fine But the problem is, that the request lasts much longer then in reality and method.getResponseBody() returns completely wrong data - 18MB for 600kb

Re: AW: AW: Wrong getResponseBody() length and too long request

2004-08-03 Thread Ortwin Glück
Giorgi Javrishvili wrote: Man, you are a MAN!!! Although I was pretty sure about that before, thanks for the confirmation :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: setRequestHeader, GetMethod, non-HTTP

2004-07-07 Thread Ortwin Glück
on the server.). If you set XYZ, then XYZ will be sent over the network. I guess you are using a CGI interface on that server. So you need to handle the translation yourself. Nothing we can do here I fear. Ortwin Glück -- _ NOSE

Re: multipart/form-data Boundary issues

2004-06-29 Thread Ortwin Glück
intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35 switzerland [fax] +41-1-277 57 12

Re: Question regarding Bug 20744

2004-06-21 Thread Ortwin Glück
Marius Barbulescu wrote: I see a strange '--' in each part but I don't know if it correct or not. They are not strange but conform to RFC-2046. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Resend: disable httpclient logging

2004-06-21 Thread Ortwin Glück
intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35 switzerland [fax] +41-1-277 57 12

Re: PostMethod 's recycle method has problem

2004-06-11 Thread Ortwin Glück
it should be deprecated. I recommend creating a new Object for every request. Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [newbie-question] Port Management for HttpClient

2004-06-11 Thread Ortwin Glück
anything in Sun's Bug database though - only older stuff that matches. Can you try 1.4.2_04 and check if the bug is still there? 1.4.1 is known to be buggy... Ortwin Glück -- _ NOSE applied intelligence ag ortwin glück

Re: HttpClient 2.0 problems

2004-06-11 Thread Ortwin Glück
Kalnichevski, Oleg wrote: Arturo, unable to find line starting with 'HTTP' error is reported or if the content-length or transfer encoding sent by the server is malformed etc. -- _ NOSE applied intelligence ag ortwin glück

Re: Deprecate HttpMethod#recycle

2004-06-11 Thread Ortwin Glück
+1 from me (although this is not a vote) :-) Kalnichevski, Oleg wrote: Folks, I suggest HttpMethod#recycle method be deprecated in 2.0 and 3.0. This has already been suggested by Eric a while ago. We should have listened - To

Re: PostMethod 's recycle method has problem

2004-06-11 Thread Ortwin Glück
will obtain the same connection to the server with the next request. But this is normally not necessary, as all connections are interchangable. I was assuming that .recycle() was the correct way to maintain a persistent connection. Don't assume, read the docs. Thanks. you're welcome Ortwin Glück

Re: HttpClient Consultant Needed Immediately

2004-06-10 Thread Ortwin Glück
. -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35 switzerland

Re: [newbie-question] Port Management for HttpClient

2004-06-10 Thread Ortwin Glück
Socket. What Platform are you on? Can you provide a full stack trace please? Thanks Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HttpClient problems

2004-05-28 Thread Ortwin Glück
-- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41

Re: HttpClient problems

2004-05-28 Thread Ortwin Glück
paul wrote: Ortwin, About 1, I have added the changes. 2, I need to add some id, pwd into the authentication logic, does httpclient api allow for setting this details? I don't think there is anything special. You can just create a UsernamePasswordCredentials object and add with the HttpState

Re: does HttpClient transparently send proxy auth after getting HTTP 403 code?

2004-05-27 Thread Ortwin Glück
) and native Window (which is kinda not well-supported). Its config file is huge (squid can do a lot) but quite straight forward. HTH Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: HttpClient problems

2004-05-27 Thread Ortwin Glück
doesn't look like it. Pls help. This is urgent as I am currently using it on a production system. You are welcome. Maybe we should start offering commercial support and make A LOT of money :-) -- _ NOSE applied intelligence ag ortwin

Re: NTLMv2

2004-05-27 Thread Ortwin Glück
intelligence ag ortwin glück [www] http://www.nose.ch software engineer [email] [EMAIL PROTECTED] hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35 switzerland

Re: HttpClient problems

2004-05-27 Thread Ortwin Glück
) -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer [email] [EMAIL PROTECTED] hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich

Re: is this mailing list protected against spam harvesters?

2004-05-27 Thread Ortwin Glück
-archive.com does a very good job at filtering out email addresses * marc.theaimsgroup.com is not bad, but not good enough Don't know about the rest. Actually 95% of email I get is uninteresting mailing list junk, SPAM or virii, about 10-20 MB per day. Ortwin Glück

Re: Help on getting started using HttpClient

2004-05-26 Thread Ortwin Glück
=java+HTML+parserhl=debtnG=Search -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer [email] [EMAIL PROTECTED] hardturmstrasse 171 [pgp

Re: retrieved wired code for Unicode

2004-05-25 Thread Ortwin Glück
. -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer [email] [EMAIL PROTECTED] hardturmstrasse 171 [pgp id] 0x81CF3416 8005 zürich [office] +41-1-277 57 35

Re: Sun's javax.net.ssl and HttpClient

2004-05-19 Thread Ortwin Glück
Himanshu HTH Ortwin Glück -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer [email] [EMAIL PROTECTED] hardturmstrasse 171 [pgp id

Re: StatusLine IndexOutOfBounds

2004-05-18 Thread Ortwin Glück
Sam Berlin wrote: I'm not sure if this problem is still on CVS HEAD, but we're seeing it against 2.0rc2. Sam, would you mind writing a JUnit test case exhibiting the problem against CVS HEAD? Thanks. Ortwin Glück

Re: [VOTE] 3.0 alpha 1 release

2004-05-14 Thread Ortwin Glück
-0 I would like to see issue http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28728 fixed first. Odi Michael Becke wrote: I propose that we mark the latest code in CVS HEAD as 3.0 alpha 1 and proceed with a release. Please vote as follows:

Re: [VOTE] 3.0 alpha 1 release

2004-05-14 Thread Ortwin Glück
Oleg Kalnichevski wrote: Odi, The sole purpose of 3.0 alpha1 release to get people look at the API and give us some feedback on how it is shaping up. Alpha1 release is hardly expected to be bug free I really can't see why #28728 should be a release blocker Oleg Oleg, I agree it's not a

Re: [VOTE] 3.0 alpha 1 release

2004-05-14 Thread Ortwin Glück
). -- -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer [email] [EMAIL PROTECTED] hardturmstrasse 171

Re: Posting XML over authenticated connection using SSL

2004-05-14 Thread Ortwin Glück
is that your server reports an incorrect Content-Length on the 401 Response body. Count yourself: It sais 282 bytes. But the response is 283 bytes. (the two [0xfffd] sequences are one byte each). Nothing we can do here I fear. Ortwin Glück

Re: Posting XML over authenticated connection using SSL

2004-05-14 Thread Ortwin Glück
completely impossible as the client must get out of sync. Maybe you can also try and modify the 401 error document on the server side and see if that makes any difference. -- _ NOSE applied intelligence ag ortwin glück

Re: HTTP 302 Console output handle question

2004-05-11 Thread Ortwin Glück
Mahamood, Saad (SD) wrote: org.apache.commons.httpclient.HttpException: Redirect from host www.bgis.gov.bb to www.barbados.gov.bb is not supported WARNING: Invalid Redirect URI from: http://www.bgis.gov.bb:80/ to: http://www.barbados.gov.bb/bgis.htm My question is, how do I get a handle on

Re: A few remaining issues to be discussed before we cut 3.0a1

2004-05-10 Thread Ortwin Glück
no longer want to conceal my frustration with the way bugzilla is managed. Frankly I am fed up. I suggest we seriously consider moving to Jira. Anything I can help here? -- _ NOSE applied intelligence ag ortwin glück

Re: A few remaining issues to be discussed before we cut 3.0a1

2004-05-10 Thread Ortwin Glück
Kalnichevski, Oleg wrote: As you know, I have a very relaxed oppinion of breaking API compatibility. I am in favour of this change. Same here. But I have to admit we might be a minority on this issue You know, the Swiss like votes, and democracy :-) Anything I can help here? Only to help me

Re: [VOTE] Migrate HttpClient issue tracking from Bugzilla to Jira

2004-05-10 Thread Ortwin Glück
+1 Vote: Migrate HttpClient issue tracking from Bugzilla to Jira [x] +1 I am in favor of the proposal, and will help support it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [newbie] Logger Appender

2004-05-05 Thread Ortwin Glück
to: log4j.rootCategory=DEBUG, F Please refer to the Log4J documentation or other resources on the web for more information. Ortwin Glück bagas wrote: Hi all, I try to use log4j as httpclient logger but I receive a warning : log4j:WARN No appenders could be found for logger

Re: IIS (NTLM) + proxy server (NTLM or basic) problem

2004-05-04 Thread Ortwin Glück
Adrian Sutton wrote: There is absolutely no way that HttpClient can authenticate with both an NTLM proxy and an NTLM host at the same time. The protocol just doesn't allow for it, It would be worth mentioning that in a sentence or two in our authentication guide.

Re: Using HttpClient for a servlet include

2004-05-03 Thread Ortwin Glück
will end up in a terrible mess. Ortwin Glück -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software engineer [email] [EMAIL PROTECTED] hardturmstrasse 171

Re: Bug in HTTPUrl?

2004-04-28 Thread Ortwin Glück
Oleg Kalnichevski wrote: Folks, Any idea what to do with one? First of all, user name and password in HTTP url is something completely new to me. Any idea what Sung-Gu had in mind? Oleg We need to check what is the allowed character range that is supported in the username/password part of a

Re: Bug in HTTPUrl?

2004-04-28 Thread Ortwin Glück
Roland Weber wrote: Hi Oleg, see RFC 2396, URI: Generic Syntax, section 3.2.2: userinfo@host:port Some URL schemes use the format user:password in the userinfo field. This practice is NOT RECOMMENDED, because the passing of authentication information in clear text (such as

Re: Bug in HTTPUrl?

2004-04-28 Thread Ortwin Glück
you live with this answer? Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: customizing debugging levels per httpclient instance

2004-04-27 Thread Ortwin Glück
Jorrit Kronjee wrote: I would like to see the wire of one of the threads, but suppress the other. Currently this is not possible. A simple workaround with Log4J is: * set your logging string to include the thread name * grep the log for the thread name you whish HTH Ortwin Glück

Re: [newbie] SSL

2004-04-27 Thread Ortwin Glück
bagas wrote: Dear All, I am sorry let me rephrase my question. What I want to ask are 1. How do I check and approve a certificate sent by a web server in https request? So that I don't get error like : javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorExce ption: No trusted

Re: using it as a http-url-handler...

2004-04-27 Thread Ortwin Glück
There is o.a.c.h.util.HttpURLConnection. It's ancient and I don't know if it will work for you, but it's certainly a starting point. gabor wrote: i know this has been asked before, but maybe some progress has been made i need to use httpclient as a http url-handler in java (registering it

Re: Socket redirect

2004-04-21 Thread Ortwin Glück
Thorsten Scherler wrote: I have written a sonar for web services. One part of that application is the httpClient. Thorsten, which version of HttpClient are you using? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Socket redirect

2004-04-21 Thread Ortwin Glück
for the hassle! King regards Thorsten Never mind. Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: License 2.0 Broilerplate

2004-04-19 Thread Ortwin Glück
Jandalf wrote: Any objections? I completely agree. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: question about performance

2004-04-13 Thread Ortwin Glück
where the most CPU time is spent. Using Eclipse Profiler Plugin, this is a simple task. Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JRE problem

2004-04-07 Thread Ortwin Glück
1.3 option. Please note that this has nothing to do with the HttpClient library. Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Logging issue

2004-04-07 Thread Ortwin Glück
paul wrote: Michael, Both classpaths are the same and both don't have log4j. The jars are commons-httpclient-2.0.jar commons-logging.jar . But when compiling, it have log4j before commons-logging.jar, does it matter? Paul Are you running the same JDK version on both machines?

Re: Bug in HTTPUrl?

2004-04-02 Thread Ortwin Glück
Munkby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- _ NOSE applied intelligence ag ortwin glück

Re: The httpclient.wire log.

2004-03-31 Thread Ortwin Glück
Geir H. Pettersen wrote: Hi, I have been using the commons httpclient successfully since rc1. Great work guys! This is the best client that I ever have used in java. Thanks for the flowers, Geir! The httpclient.wire log is fantastic, but there is something there that bothers me a bit. Before

Re: Connection Pooling/Piplining

2004-03-31 Thread Ortwin Glück
Vimarsh Vasavada wrote: Hello all. We have following challenge to address : 1. We have 2 JBOSS Servers, say, S1 and S2 2. There will be 1,00,000 distinct-client-threads fired to S1/TalkToS2.jsp/ 3. S1 will have hence virtually 1,00,000-threads attempting to exchange request/response with S2

Re: Setting maxTotalConnections and maxHostConnections

2004-03-31 Thread Ortwin Glück
Eric Bloch wrote: Which JVM? I usualliy bench against Sun's; ( JRockit benched worse last I tried it (it was a year ago or more)) Sun and IBM are usually a little faster than Blackdown. JRockit has 'ThinThreads' which may be a good thing here.

Re: [VOTE][PROPOSAL] Promote HttpClient to Jakarta Level

2004-03-23 Thread Ortwin Glück
+0 Unfortunately too busy at work to be of great help :-( Ortwin Glück Adrian Sutton wrote: - Vote: Promote HttpClient to Jakarta level [ ] +1 I am in favor of the proposal, and will help support it. [X] +0 I am in favor

Re: [VOTE] suspend use of @author tags

2004-03-17 Thread Ortwin Glück
). -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- _ NOSE applied intelligence ag ortwin glück [www] http://www.nose.ch software

Re: OutOfMemory if using PUT

2004-03-17 Thread Ortwin Glück
Martin, please have a look at this example: http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/ChunkEncodedPost.java?rev=1.4.2.1only_with_tag=HTTPCLIENT_2_0_BRANCHview=auto (link may be wrapped) Kind regards Ortwin Glück martin hilpert wrote: Hello, i using

Re: OutOfMemory if using PUT

2004-03-17 Thread Ortwin Glück
martin hilpert wrote: that means there is no work around WITH PUT ? The two alternatives ARE the work around! that are both POST requests? The same applies to PUT methods as well as PUT basically works the same as POST. - To

Re: OutOfMemory if using PUT

2004-03-17 Thread Ortwin Glück
martin hilpert wrote: Hi Ortwin, Not from within HttpClient directly. You can however simply wrap your stream and count the bytes read through the respective methods. how can i wrap it? any sampel code? Errm... Ever heard of the java.io.FilterInputStream class? It is intended to be a base

Re: OutOfMemory if using PUT

2004-03-17 Thread Ortwin Glück
martin hilpert wrote: i dont understand how i can monitor the stream. HttpClient client = new HttpClient(); PutMethod put = new PutMethod(zielurl); FileInputStream fin =new FileInputStream(C:\test.jpg); MonitorInputStream min = new MonitorInputStream(fin); put.setRequestBody(fin);

Re:[OT] Looking for Http Tool

2004-03-15 Thread Ortwin Glück
Robert, this question is off topic here; we are not Google nor ExpertExchange. So don't expect too many answers. But I guess even wget has the feature you are looking for. Ortwin Glück Robert Douglass wrote: I'm looking for a tool that intelligently makes rule-based static copies of dynamic

Re: unable to find line starting with HTTP error

2004-03-15 Thread Ortwin Glück
it. Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NTLM authenticity problem

2004-03-12 Thread Ortwin Glück
Get HttpClient from here: http://jakarta.apache.org/commons/httpclient/downloads.html Make sure you put the jar file on your classpath. Ortwin Glück Marcelo Muzilli (IG) wrote: Howdy people, I´m a newbie in Servlet programming and I need to develop a code to run in a Ms IIS Webserver

Re: @author tags

2004-03-11 Thread Ortwin Glück
Dan Christopherson wrote: I think that owner is intended in the sense of the primary person responsible for maintaining, not in the sense of the legel owner. Honestly, there is no such thing in this project. The responsible persons are the (few) active committers. Those change (slowly) over

Re: @author tags

2004-03-10 Thread Ortwin Glück
legal issues. Removal of author tags are okay with me. There still are CVS logs of course and the contributor list on our web site. Ortwin Glück - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [VOTE] Promote HttpClient to Jakarta level

2004-03-10 Thread Ortwin Glück
+0 Ortwin Glück -- Vote: Promote HttpClient to Jakarta level [ ] +1 I am in favor of the move, and will help support it. [x] +0 I am in favor of the move, but am unable to help support it. [ ] -0 I am not in favor

Re: @author tags

2004-03-10 Thread Ortwin Glück
Kalnichevski, Oleg wrote: I could also imagine some sort of 'thank you' page listing individuals with their respective contributions. The real question is what is to be done with all the contributions made up to now. Yes, let's just put together that 'thank you' page (think of it like the

  1   2   3   4   >