Neelesh,
Please see http://jakarta.apache.org/commons/httpclient/dependencies.html
for the correct version of the dependencies.
Note: HttpClient is no longer in Jakarta Commons. Our mailing lists are
these:
http://jakarta.apache.org/commons/httpclient/mail-lists.html
Cheers
Ortwin
Neelesh
Folks,
The download links on http://jakarta.apache.org/commons/beanutils/
should point to
http://jakarta.apache.org/site/downloads/downloads_commons-beanutils.cgi
Cheers
Odi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
[EMAIL PROTECTED] wrote:
Also, why is there not an httpclient
component in the list?
Time we move the website away from commons, folks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Thanks, Mike!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for
debugging but to record for instance user actions in a system. You don't
want to see uncommitted actions there generally. So I thought, why not
provide a J2EE resource adapter (RAR) implementation for
commons-logging. What do you think about the idea?
Ortwin Glück
On http://jakarta.apache.org/commons/logging/ in the Documentation
section there is a link to the API Docs that points to
http://jakarta.apache.org/commons/logging/api/index.html
That directory is empty.
-
To unsubscribe,
Sylvain,
This looks indeed interesting. It could also be usable to pinpoint parse
errors in clear text protocols like HTTP, FTP etc. The current design
looks pretty flexible. +1 from me.
Ortwin Glück
Sylvain Wallez wrote:
Hi there,
A large number of applications are dealing
Joerg Hohwiller wrote:
more or less.
In maven you can configure one or multiple repositories. Ibiblio is the
default. To just make something work you can have an additional local
repository or even just copy the commons-proxy jar to your local maven
download-repro
edited site manually to reflect the changes. (Site will be copied to the
productive server automatically.)
Odi
[EMAIL PROTECTED] wrote:
Log:
include NEEDINFO (status was recently added) and UNCONFIRMED bugs in the list
-
To
a problem with those copies as they are all managed by
someone else and I don't need to worry about them. Space is not an
issue. Java code is small (Commons Logging is 31KB) and hard drives are
cheap. What you are talking about is just a matter of taste.
Ortwin Glück
. And, yes I also
think time is better spent on the new architecture. I will Mavenize the
new code base as well, of course.
I hope this serves everybody.
Ortwin Glück
Mark Diggory wrote:
Martin Cooper wrote:
On Apr 5, 2005 9:57 AM, Ortwin Glück [EMAIL PROTECTED] wrote:
Oleg Kalnichevski wrote:
1
Oleg Kalnichevski wrote:
If you would like me to setup the same download-dependencies for
httpclient, I'd be happy to help. The example above uses ibiblio, but you
can use any url.
We would very much appreciate it
Cheers,
Oleg
Is that *necessary* for GUMP or anything else, Oleg?
If not then
Oleg Kalnichevski wrote:
Odi,
I have not looked at the proposed solution, so I may be wrong here, but
I think it _should_ simply prepopulate the HTTPCLIENT_HOME\lib from an
external repository (such as ibiblio). If it is indeed the case I
personally see no problem with removing dependencies from
On http://jakarta.apache.org/site/binindex.cgi the Tomcat 5 binaries are
listed as 5.0.30-beta, but the links go to the final release, not the
beta release. Can someone of the Tomcat folks have a look at this? I
find it very confusing.
Thanks
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
-
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
, 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
an idea ...
Thx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
_
NOSE applied intelligence ag
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
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
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
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
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
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
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]
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
Wow, not too bad, Oleg. Are you bored at work? :-)
[EMAIL PROTECTED] wrote:
Log:
Redirect test cases refactored to take advantage of the new HTTP testing framework
based on SimpleHttpServer
-
To unsubscribe, e-mail: [EMAIL
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
= new
HostConfiguration(hostConfiguration);
Ortwin Glück
--
_
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer
hardturmstrasse 171 [pgp id
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
).
--
--
_
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
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
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
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
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
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
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
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]
--
_
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
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
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
.
--
_
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
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
there is none.
Ortwin Glück
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
.
--
_
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
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
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
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]
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
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
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
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
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]
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
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
+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
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
)?
Then you could easily spot which objects pile up.
--
_
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer
hardturmstrasse 171 [pgp id] 0x81CF3416
.
--
_
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
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]
);
fw.write(responseBody);
Can you try and use a stream instead of a string? You need to take care
of the encoding then, but you would avoid any buffering in memory.
--
_
NOSE applied intelligence ag
ortwin glück
What's the problem with this diff? Why is it so bad?
[EMAIL PROTECTED] wrote:
olegk 2004/06/05 09:49:21
Modified:httpclient/src/java/org/apache/commons/httpclient
Cookie.java
httpclient/src/java/org/apache/commons/httpclient/cookie
--
_
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer
hardturmstrasse 171 [pgp id] 0x81CF3416
8005 zürich [office] +41
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
) 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
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
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
)
--
_
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
-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
=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
.
--
_
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
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
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
-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:
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
).
--
--
_
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer [email] [EMAIL PROTECTED]
hardturmstrasse 171
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
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
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
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
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
+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]
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
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.
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
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
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
you live with this answer?
Ortwin Glück
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
for the hassle!
King regards
Thorsten
Never mind.
Ortwin Glück
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jandalf wrote:
Any objections?
I completely agree.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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]
1 - 100 of 386 matches
Mail list logo