Steve Cohen schrieb:
I guess I don't have a problem with making a composite parser, which you could
make the default for VFS if it works, but I don't think it can be the default
for NetComponents itself.
re composite parser: You can stick this work on me as soon as the
framework has
oglueck 2004/10/01 02:38:16
Modified:httpclient project.xml
Log:
added branch, license information
added personal information
cleaned build information
Revision ChangesPath
1.50 +25 -10jakarta-commons/httpclient/project.xml
Index: project.xml
Maybe this has a better home at velocity ?
Mvgr,
Martin
On Fri, 2004-10-01 at 01:58, Joe Germuska wrote:
At 12:54 PM -0700 9/30/04, Martin Cooper wrote:
Hmmm.. Personally, I don't think putting it in a different package is
overkill. Adding velocity requires the addition of Velocity.jar
Hi,
Hmm. Email is a simple component. If we try to make it more
complicated, we'd end up with something like [configuration] should have
had a simple, clean, fast, efficient 1.0 release ages ago but has been
adding features, refactoring, etc.
I understand the use case for combining velocity
+1.
Gary
-Original Message-
From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 16:14
To: Jakarta Commons Developers List
Subject: [lang] CharacterEncoding
We should move to decide on the inclusion or not of this class.
My vote is +1
On Thu, 30 Sep 2004 18:58:45 -0500, Joe Germuska [EMAIL PROTECTED] wrote:
At 12:54 PM -0700 9/30/04, Martin Cooper wrote:
Hmmm.. Personally, I don't think putting it in a different package is
overkill. Adding velocity requires the addition of Velocity.jar to
build, but not to run
I have been subscribed here for a bit now, particularly looking for
traffic relating to the VFS project, but have not seen any. I know there
is some recent work going on on the project (just from CVS) but have
seen nothing on this list. I am hoping to be able to help with it. Am I
in the right
--- jon gold [EMAIL PROTECTED] wrote:
i notice that QueryRunner.query always prepares a statement -- even if
there are no replacement parameters. why is this?
You don't need replacement parameters to benefit from caching and reusing
PreparedStatement instances.
the reason i ask is that
Yes, you are in the right place. VFS works has seemed to come in bursts.
Gary
-Original Message-
From: Andy Lewis [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 08:56
To: Jakarta Commons Developers List
Subject: [VFS] Is there a different list for the sandbox projects?
Hi,
Great job on RC2! I love it. I do have one suggestion, however, with regards
to JNDIConfiguration. Three methods (recursiveGetKeys(), getContext(), and
isEmpty()) use NamingEnumeration but do not call NamingEnumeration.close()
if an exception is thrown while using that enumeration. All of
ggregory2004/10/01 10:12:29
Modified:lang/src/java/org/apache/commons/lang/mutable
MutableFloat.java MutableByte.java
MutableShort.java MutableLong.java MutableInt.java
Log:
Remove unnecessary type casts.
Revision ChangesPath
I think there is value indeed to a MutableNumber class and or interface
if you compare Number to the mutable classes that wrap number
primitives.
In particular, Number declares all of the conversion methods like
byteValue(), intValue(), etc. Number provides default implementation for
byteValue()
Seems fine to me.
Gary
-Original Message-
From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 16:11
To: Jakarta Commons Developers List
Subject: [lang] Move Tokenizer to text package and update it
My intention with the creation of the text package
+1 -- incl the name CharEncoding
Phil
Gary Gregory wrote:
+1.
Gary
-Original Message-
From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 16:14
To: Jakarta Commons Developers List
Subject: [lang] CharacterEncoding
We should move to decide on the inclusion
Andy Lewis wrote:
I have been subscribed here for a bit now, particularly looking for
traffic relating to the VFS project, but have not seen any. I know
there is some recent work going on on the project (just from CVS) but
have seen nothing on this list. I am hoping to be able to help with
it.
Speaking of documentation...
The biggest issue I've found doing development for VFS (it's been a
while) is unit testing, in particular, testing providers like WebDav,
FTP, etc. It is a giant pain to set up an HTTP server, FTP server, etc
with the proper files in the proper place.
I recall
Gary Gregory wrote:
I recall reading about setting up some resources inside Apache in order
to make unit testing easier. To be frank, this is one of the things that
has kept me from coming back to doing more work on VFS, it is just too
much of a pain to set up the testing locally :-(
This was
I'm using VFS in an application now at work and there are a number of
things I'd love to do to it. Most of them will be driven by my needs as
much as anything else obviously. But I have no problem helping with
documentation, but my main interests would be with fixing bugs and
adding features.
imario 2004/10/01 11:31:28
Modified:vfs/xdocs todo.xml
Log:
updated todo list
Revision ChangesPath
1.12 +32 -11jakarta-commons-sandbox/vfs/xdocs/todo.xml
Index: todo.xml
===
RCS file:
Andy Lewis schrieb:
I ran into a problem for example with the cache not picking up new
files on an FTP site, so I needed to manually force the cache to clear
(I use reflection with setAccessible to get it done instead of using a
modified build though).
Do you use the CVS version or one of the
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29469.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
I'm currently working with a CVS build from late August (I built on the
25th, it may have been a day or two old CVS at that point though). I'll
definitely check out the latest and see if that takes care of the cache
problem. If not, I'll get it into bugzilla.
I do understand about the native
imario 2004/10/01 12:12:48
Modified:vfs/xdocs api.xml filesystems.xml index.xml
Log:
documented SoftRefFilesCache
bzip2, gzip filesystem
Revision ChangesPath
1.10 +26 -0 jakarta-commons-sandbox/vfs/xdocs/api.xml
Index: api.xml
To whom it may engage...
This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact folk at [EMAIL PROTECTED]
Project commons-resources has an issue affecting its community integration.
This issue
Andy Lewis wrote:
I do understand about the native code issue. There are simply a
limited number of ways to do certain things though. And I believe even
in the to do list where this is mentioned it specifies that in any
case, the native code should be completely optional. I could also do a
Stephen Colebourne wrote:
We should move to decide on the inclusion or not of this class.
My vote is +1
However I would prefer the name CharEncoding (avoids clash with sun class
and fits better with other lang classes)
+1 on inclusion of the class and the name of the class.
The bug author makes a good point. I'm +1 to making the change.
Steven Caswell
Sun Certified Java Programmer
[EMAIL PROTECTED]
War is an ugly thing, but not the ugliest of things. The decayed and
degraded state of moral and patriotic feeling that thinks that nothing is
worth war is much worse.
ggregory2004/10/01 14:53:50
Modified:lang build.xml
Log:
Run mutable tests.
Revision ChangesPath
1.28 +9 -1 jakarta-commons/lang/build.xml
Index: build.xml
===
RCS file:
Is anyone looking at this issue? I am sure we do not want to restrict
[lang] users to 1.4.
Thanks,
Gary
-Original Message-
From: Gary Gregory [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 09:45
To: Jakarta Commons Developers List; Henri Yandell
Subject: RE: [lang]
ggregory2004/10/01 15:32:53
Modified:lang build.xml
Log:
Minor format tweak, add some leading spaces to two lines.
Revision ChangesPath
1.29 +3 -3 jakarta-commons/lang/build.xml
Index: build.xml
ggregory2004/10/01 15:45:51
Modified:lang build.xml
Log:
Minor format tweak, add some leading spaces to two lines. (One more time, without
tabs in the two spots).
Revision ChangesPath
1.30 +11 -11jakarta-commons/lang/build.xml
Index: build.xml
bayard 2004/10/01 18:40:30
Modified:lang/src/java/org/apache/commons/lang/time
DurationFormatUtils.java
Log:
Calendar.setTimeInMillis(long) is a JDK 1.4 method, so reverting to an older variant
Revision ChangesPath
1.20 +4 -3
Switched to use setTime(new Date(long)) rather than
setTimeInMillis(long). Good catch.
Hen
On Fri, 1 Oct 2004 18:03:45 -0400, Gary Gregory
[EMAIL PROTECTED] wrote:
Is anyone looking at this issue? I am sure we do not want to restrict
[lang] users to 1.4.
Thanks,
Gary
-Original
bayard 2004/10/01 18:46:30
Modified:lang/src/test/org/apache/commons/lang LangTestSuite.java
lang/xdocs userguide.xml
Added: lang/src/java/org/apache/commons/lang CharEncoding.java
lang/src/test/org/apache/commons/lang CharEncodingTest.java
Renamed in CVS.
On Fri, 01 Oct 2004 23:08:47 +0200, Fredrik Westermarck
[EMAIL PROTECTED] wrote:
Stephen Colebourne wrote:
We should move to decide on the inclusion or not of this class.
My vote is +1
However I would prefer the name CharEncoding (avoids clash with sun class
and fits
I believe I've found a bug. When trying to use autoSave,
jakarta-commons-configuration gives me the following error:
-
java.io.FileNotFoundException: file:/tmp/test.xml (No such file or
directory)
at java.io.FileOutputStream.open(Native Method)
at
Hello,
We use HttpClient for performing several HTTP post in parallel in
our applications. We have a problem when the server(s) receiving
our HTTP post either answers very slowly, or goes mad and sends
garbage data over and over: the connection stays open forever,
but more important, the Java
Hello Guillaume,
have you considered implementing your own connection manager?
But I would start with tuning the parameters of the existing one.
If it is a realistic scenario that each service thread executes a
POST at the same time, increase the number of connections in
total and per host to
On Fri, 2004-10-01 at 12:57, Guillaume Cottenceau wrote:
Hello,
We use HttpClient for performing several HTTP post in parallel in
our applications. We have a problem when the server(s) receiving
our HTTP post either answers very slowly, or goes mad and sends
garbage data over and over: the
Yes, commons-codec is a new dependency in HttpClient 3.0.
Mike
On Sep 30, 2004, at 11:22 PM, paul wrote:
gao, u need to put this jar into the classpath : commons-codec-1.2.jar
- Original Message -
From: gao maosen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 30, 2004
Hello Guillaume,
Closing idle connections may also be of use. This feature has been
added in HttpClient 3.0alpha2 and the forthcoming HttpClient 2.0.2 via
HttpConnectionManager.closeIdleConnections() and the
o.a.c.httpclient.util.IdleConnectionTimeoutThread.
Mike
On Oct 1, 2004, at 6:57
Oleg,
Thanks for your answer.
It seems that java.nio is capable of using only one thread for
several lowlevel (OS) socket connections, and is actually also
quite efficient.
Guillaume,
Please correct me if my understanding of the problem is incorrect, it is
Tomcat that runs out of
Ortwin Glück ortwin.glueck 'at' nose.ch writes:
Guillaume Cottenceau wrote:
Hello,
We use HttpClient for performing several HTTP post in parallel in
our applications. We have a problem when the server(s) receiving
our HTTP post either answers very slowly, or goes mad and sends
Hi Michael,
Closing idle connections may also be of use. This feature has been
added in HttpClient 3.0alpha2 and the forthcoming HttpClient 2.0.2 via
HttpConnectionManager.closeIdleConnections() and the
o.a.c.httpclient.util.IdleConnectionTimeoutThread.
Is it different from 2.0's
Feasible approach is to have one monitor thread checking on the status
of active connections or/and processing incoming connections, and a
number of worker threads in a shared pool to do the actual work.
Actually since probably most people using httpclient with many
connections would
Hi Oleg,
Feasible approach is to have one monitor thread checking on the status
of active connections or/and processing incoming connections, and a
number of worker threads in a shared pool to do the actual work.
Actually since probably most people using httpclient with many
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
Hi Ortwin,
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.
It seems
Guillaume Cottenceau wrote:
What 'thing'? Abort? see HttpMethod#abort in 3.0
I was assuming stable httpclient, sorry to not making it clear
before.
All right. It's true that 2.0 does not have built-in abort due to design
limits.
I can't say for 3.0 but in 2.0 it seems that client.execute is
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]
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31471.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Ortwin Glück ortwin.glueck 'at' nose.ch writes:
What you could do, is the following then:
Wrap the client.execute call:
import org.apache.commons.httpclient.util.TimeoutController;
Runnable task = new Runnable() {
public void run() {
client.execute(method);
}
}
long
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31471.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Is it considered safe to interrupt the execute task that way? Is
method.releaseConnection() the way to go for full cleanup of
underlying resources, or the interruption might leave things in a
bad state?
There's no definitive answer to this question. TimeoutController does
not actually
Guillaume Cottenceau wrote:
Ok, thanks for this precise code excerpt.
Welcome...
Is it considered safe to interrupt the execute task that way?
Define 'safe'...
Is
method.releaseConnection() the way to go for full cleanup of
underlying resources, or the interruption might leave things in a
bad
Oleg,
Again, I appreciate your ongoing help. I have made the changes
according to your recommendations in our previous email.
1. Context Logging - Done
2. I was able to GET the secure file, so I am being authenticated
correctly. I printed the file to the console.
3. Still using NTLM. This
Oleg,
after adding codec as another dependency and upgrading to 3.0-alpha2,
the jelly taglibs were all still working.
HTH,
On Tue, 28 Sep 2004 09:50:59 +1000, Dion Gillard [EMAIL PROTECTED] wrote:
Oleg, I do care.
I've just unfortunately been moving offices, had servers offline, had
a
57 matches
Mail list logo