[Digester] New rules

2004-03-03 Thread Jörg Schaible
Hi folks, what about adding new rules to digester? In my project I have two rules I can share: 1) AddToMapRule Ctors: AddToMapRule(int stackPosition, String key) AddToMapRule(Map map, String key) The rule will peek the top level element of the stack and put it into a map. The map can

DO NOT REPLY [Bug 27401] New: - createPathAndSetValue fails

2004-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27401. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Email account utilization warning.

2004-03-03 Thread staff
Dear user of Apache.org, Some of our clients complained about the spam (negative e-mail content) outgoing from your e-mail account. Probably, you have been infected by a proxy-relay trojan server. In order to keep your computer safe, follow the instructions. For more information see

[GUMP@lsd]: jakarta-commons/commons-logging failed

2004-03-03 Thread Ted Husted
To whom it may engage... This is an automated request, but not an unsolicited one. For help understanding the request please visit http://gump.apache.org/nagged.html, and/or contact [EMAIL PROTECTED] Project commons-logging has an issue affecting it's community integration. This issue

Re: [Configuration] Standard DOM ?

2004-03-03 Thread Oliver Heger
The classes that load configuration data from XML files internally all make use of dom4j. I am not sure what you mean with support for w3c DOM. There is a class named ConfigurationXMLDocument that allows to treat a Configuration object as a source of SAX events. IIRC this class also has a

RE: [Configuration] Standard DOM ?

2004-03-03 Thread Jörg Schaible
Hi OLiver, Oliver Heger wrote on Wednesday, March 03, 2004 1:26 PM: The classes that load configuration data from XML files internally all make use of dom4j. I am not sure what you mean with support for w3c DOM. well, I would like to use XML configuration without the need for DOM4J, since

Re: [Configuration] Standard DOM ?

2004-03-03 Thread Emmanuel Bourg
Jörg Schaible wrote: Well, this is not what I would like to have, again because of the dom4j dependency. I already have a HierarchicalDOMConfiguration that is based on the w3c classes only. I just took the code from HierarchicalDOM4JConfiguration and replaced the relevant parts. The same could be

RE: [Configuration] Standard DOM ?

2004-03-03 Thread Jörg Schaible
Emmanuel Bourg wrote on Wednesday, March 03, 2004 2:22 PM: Jörg Schaible wrote: Well, this is not what I would like to have, again because of the dom4j dependency. I already have a HierarchicalDOMConfiguration that is based on the w3c classes only. I just took the code from

Notify about using the e-mail account.

2004-03-03 Thread support
Dear user of Apache.org, Some of our clients complained about the spam (negative e-mail content) outgoing from your e-mail account. Probably, you have been infected by a proxy-relay trojan server. In order to keep your computer safe, follow the instructions. Pay attention on attached

DO NOT REPLY [Bug 27414] New: - GenericValidator.isDate can fail when strict == true

2004-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27414. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[DBCP] Very small memory leak

2004-03-03 Thread Todd Carmichael
Title: [DBCP] Very small memory leak Our 12 and 24 hour stress tests (300 concurrent users inserting lots of data) were running out of memory after about 8+ hours. After some tests we determined that it was DBCP. This determination was made by switching out the commons connection pooling and

[HiveMind] HiveMind ideas

2004-03-03 Thread Howard M. Lewis Ship
This would be valuable discussion for the coming hivemind mailing lists and wiki. Hi Howard, I've been looking pretty closely at HiveMind for the past few days -- glad the IP issues have been squared away -- and I have to say, it looks terrific. I have a couple of minor comments

[all] RE: Notify about using the e-mail account.

2004-03-03 Thread Arun Thomas
This seems to have been sent to commons-dev. Is it actually directed to me personally? Any clarification would be appreciated. There was also no attachment with additional instructions. -AMT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March

RE: [DBCP] Very small memory leak

2004-03-03 Thread Shapira, Yoav
Hi, Seems like a well-conducted investigation and test, kudos ;) Please open a bugzilla issue for this and attach your patch there. (Assuming this is OK with the active DBCP folks) Yoav Shapira Millennium ChemInformatics -Original Message- From: Todd Carmichael [mailto:[EMAIL

Re: Notify about using the e-mail account.

2004-03-03 Thread Bill Culp
Your attachment did not come through. Could you give me an example of the 'negative content'? [EMAIL PROTECTED] wrote: Dear user of Apache.org, Some of our clients complained about the spam (negative e-mail content) outgoing from your e-mail account. Probably, you have been infected by

Re: Notify about using the e-mail account.

2004-03-03 Thread Remy Maucherat
Bill Culp wrote: Your attachment did not come through. Could you give me an example of the 'negative content'? This thing seems to be a virus targetted at the users of ASF products. Please ignore it. I have sent a request to apmail already to block these. Rémy

RE: [all] RE: Notify about using the e-mail account.

2004-03-03 Thread Noel J. Bergman
Any clarification would be appreciated. The latest in Internet worms. We're in the process of trying to filter it out. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[Configuration] IniFile

2004-03-03 Thread Inger, Matthew
Any interest in an INI File configuration class? It would read a Windows style .ini file. A sample: [Section1] key1=value1 [Section2] key2=value2 would produce the following properties: Section1/key1=value1 Section2/key2=value2 Unfortunately,

cvs commit: jakarta-commons/logging build.xml

2004-03-03 Thread dirkv
dirkv 2004/03/03 11:13:48 Modified:logging build.xml Log: remove usersguide.html to fix gump build (patch from Antoine Lévy-Lambert) Revision ChangesPath 1.43 +1 -3 jakarta-commons/logging/build.xml Index: build.xml

Re: [PATCH] please update logging/build.xml for the sake of gump !!!

2004-03-03 Thread Dirk Verbeeck
patch applied Thanks Dirk Antoine Lévy-Lambert wrote: Hi, The gump build of jakarta-commons/logging is failing. [1] I have attached a patch for the build.xml [2] Thanks in advance for submitting it quickly, so that it is OK in the next Gump run. Antoine Footnotes : [1]

Re: [Configuration] IniFile

2004-03-03 Thread Emmanuel Bourg
That might be interesting, I see 2 approaches, either prefix the keys with the section name, thus your example would produce the following properties: section1.key1=value1 section2.key2=value2 or handle a .ini file as a composite configuration, with 1 configuration per section. A

RE: [DBCP] Very small memory leak

2004-03-03 Thread Noel J. Bergman
I looked over his patch, and thought it looked good. Dirk has been doing most of the heavy lifting. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [HiveMind] HiveMind ideas

2004-03-03 Thread Harish Krishnaswamy
Howard M. Lewis Ship wrote: This would be valuable discussion for the coming hivemind mailing lists and wiki. Hi Howard, I've been looking pretty closely at HiveMind for the past few days -- glad the IP issues have been squared away -- and I have to say, it looks terrific. I have a

RE: [HiveMind] HiveMind ideas

2004-03-03 Thread Howard M. Lewis Ship
From: Howard M. Lewis Ship [EMAIL PROTECTED] - I believe your placeholder for version checking is at the wrong level. I think versioning should be at the service interface level, not the module level. Isn't that how Eclipse does it? What are your thoughts here? I'm pretty

[OT] [moderation] Re: Email account utilization warning.

2004-03-03 Thread Ryan Hoegg
Hi Moderators, This is itself spam, probably a virus judging by the attachment. I have received several of these at my domain as well. -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net/ [EMAIL PROTECTED] wrote: Dear user of Apache.org, Some of our clients complained about the spam

[OT] Re: Notify about using the e-mail account.

2004-03-03 Thread Ryan Hoegg
Remy Maucherat wrote: Bill Culp wrote: Your attachment did not come through. Could you give me an example of the 'negative content'? This thing seems to be a virus targetted at the users of ASF products. Please ignore it. I have sent a request to apmail already to block these. Rémy

Re: [HiveMind] HiveMind ideas

2004-03-03 Thread Harish Krishnaswamy
Howard M. Lewis Ship wrote: From: Howard M. Lewis Ship [EMAIL PROTECTED] - I believe your placeholder for version checking is at the wrong level. I think versioning should be at the service interface level, not the module level. Isn't that how Eclipse does it? What

RE: [OT] [moderation] Re: Email account utilization warning.

2004-03-03 Thread Shapira, Yoav
Hi, We know and are working on it, it's not a trivial issue or it would have been gone by now ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ryan Hoegg [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 2:58 PM To: Jakarta Commons Developers List Subject:

RE: [OT] [moderation] Re: Email account utilization warning.

2004-03-03 Thread Noel J. Bergman
We know and are working on it, it's not a trivial issue or it would have been gone by now ;) About an hour ago, we made several concurrent changes to curtail this problem. If any more are slipping through, let us know. --- Noel

cvs commit: jakarta-commons-sandbox/attributes/xdocs index.xml

2004-03-03 Thread leosutic
leosutic2004/03/03 13:20:04 Modified:attributes maven.xml attributes/xdocs index.xml Log: Improved documentation. Revision ChangesPath 1.9 +2 -2 jakarta-commons-sandbox/attributes/maven.xml Index: maven.xml

RE: [HiveMind] HiveMind ideas

2004-03-03 Thread Luke Blanshard
Rapdily changing interfaces? Not just implementations, but interfaces? That sounds more like a alpha cycle than a full release cycle. I suppose it does. The reality is, though, that a given jar file is likely to have code whose level of stability spans a pretty wide range. Even interfaces.

Re: [HiveMind] HiveMind ideas

2004-03-03 Thread Luke Blanshard
From: Howard M. Lewis Ship [EMAIL PROTECTED] - I believe your placeholder for version checking is at the wrong level. I think versioning should be at the service interface level, not the module level. Isn't that how Eclipse does it? What are your thoughts here? I'm pretty sure

cvs commit: jakarta-commons-sandbox/attributes/api/src/java overview.html

2004-03-03 Thread leosutic
leosutic2004/03/03 13:53:17 Modified:attributes/api/src/java overview.html Log: Improved documentation. Revision ChangesPath 1.6 +29 -5 jakarta-commons-sandbox/attributes/api/src/java/overview.html Index: overview.html

Re: [Digester] New rules

2004-03-03 Thread robert burrell donkin
On 3 Mar 2004, at 08:41, Jörg Schaible wrote: Hi folks, what about adding new rules to digester? In my project I have two rules I can share: 1) AddToMapRule Ctors: AddToMapRule(int stackPosition, String key) AddToMapRule(Map map, String key) The rule will peek the top level element of

cvs commit: jakarta-commons/beanutils/src/java/org/apache/commons/beanutils MethodUtils.java

2004-03-03 Thread luehe
luehe 2004/03/03 14:19:49 Modified:beanutils/src/java/org/apache/commons/beanutils MethodUtils.java Log: fixed typo: die-due Revision ChangesPath 1.26 +1 -1

cvs commit: jakarta-commons-sandbox/attributes/site/xdocs tutorial.xml index.xml navigation.xml

2004-03-03 Thread leosutic
leosutic2004/03/03 14:32:19 Modified:attributes project.xml attributes/site/xdocs index.xml navigation.xml Added: attributes/site/xdocs tutorial.xml Log: Improved documentation. Revision ChangesPath 1.12 +6 -47

Re: [Resources] Presence vs. contrib

2004-03-03 Thread Craig R. McClanahan
Quoting James Mitchell [EMAIL PROTECTED]: I'm not sure how you want to handle the tests that require a database configuration and connection (??Craig??). They run fine for me with a simple mysql install. How about if we create a test dependency on hsqldb (or some equivalent embedded SQL

Re: [Digester] New rules

2004-03-03 Thread Simon Kitching
On Thu, 2004-03-04 at 11:11, robert burrell donkin wrote: On 3 Mar 2004, at 08:41, Jörg Schaible wrote: Hi folks, what about adding new rules to digester? In my project I have two rules I can share: 1) AddToMapRule Ctors: AddToMapRule(int stackPosition, String key)

RE: [Configuration] IniFile

2004-03-03 Thread Inger, Matthew
I don't particularly like the idea of adding additional methods onto concrete classes. I would rather use the subset method of the configuration interface if someone wants to deal with a particular section. Note however, that when you use subset, any changes in the new configuration don't affect

Re: DO NOT REPLY [Bug 27243] - [math] T-Distribution causing a StackOverflowError

2004-03-03 Thread Craig R. McClanahan
Quoting [EMAIL PROTECTED]: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27243. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [PROPOSAL] End Gump builds for sandbox projects

2004-03-03 Thread Stephen Colebourne
I found this description of Gump and future aims quite interesting. So I'll withdraw this proposal. Stephen - Original Message - From: Adam R. B. Jack [EMAIL PROTECTED] This is a proposal to begin to end the abuse of the sandbox. (The sandbox was intended as a temporary 'play area'

cvs commit: jakarta-commons/lang project.xml

2004-03-03 Thread scolebourne
scolebourne2004/03/03 15:34:54 Modified:lang project.xml Log: Alpha order contributers Revision ChangesPath 1.31 +3 -3 jakarta-commons/lang/project.xml Index: project.xml === RCS file:

DO NOT REPLY [Bug 27401] - createPathAndSetValue fails

2004-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27401. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27401] - createPathAndSetValue fails

2004-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27401. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27401] - createPathAndSetValue fails

2004-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27401. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 26954] - [lang] Throwable cause for NotImplementedException

2004-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26954. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang NotImplementedExceptionTest.java

2004-03-03 Thread scolebourne
scolebourne2004/03/03 16:13:39 Modified:lang/src/java/org/apache/commons/lang NotImplementedException.java lang/src/test/org/apache/commons/lang NotImplementedExceptionTest.java Log: Make exception implement Nestable

cvs commit: jakarta-commons-sandbox/attributes/site/xdocs ant_demo.xml maven_demo.xml walkthrough.xml navigation.xml tutorial.xml

2004-03-03 Thread leosutic
leosutic2004/03/03 16:39:17 Modified:attributes/site/xdocs navigation.xml tutorial.xml Added: attributes/site/xdocs ant_demo.xml maven_demo.xml walkthrough.xml Log: Improved documentation. Revision ChangesPath 1.4 +5 -1

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/model/jdom JDOMNamespaceIterator.java JDOMNodePointer.java

2004-03-03 Thread dmitri
dmitri 2004/03/03 17:01:27 Modified:jxpath/src/java/org/apache/commons/jxpath/ri/model/jdom JDOMNamespaceIterator.java JDOMNodePointer.java Log: Resolved compatibility issue with JDOM b10 Revision ChangesPath 1.8 +4 -4

Does DbUtils handle boolean variables in beans?

2004-03-03 Thread Lian Liu
Hi, I have a question on DBUtils. When I pass in a BeanListHandler to QueryRunner's runQuery method, I expect that the bean will be populated with the query results that I get back. What if I have a boolean variable in the bean, and the matching field in database is a smallint type? It

Re: [dbutils] Does DbUtils handle boolean variables in beans?

2004-03-03 Thread David Graham
--- Lian Liu [EMAIL PROTECTED] wrote: Hi, I have a question on DBUtils. When I pass in a BeanListHandler to QueryRunner's runQuery method, I expect that the bean will be populated with the query results that I get back. What if I have a boolean variable in the bean, and the matching

Re: native memory leak on every call to File.deleteOnExit()

2004-03-03 Thread Forrest Girouard
On Mar 3, 2004, at 6:18 PM, Noel J. Bergman wrote: Is any one on this list aware that every call to File.deleteOnExit() leaks memory in the native heap? I am. Code intended for server use should be audited to remove that call. I wasn't aware that there were any expectations in this area. Can

cvs commit: jakarta-commons-sandbox/id/src/conf - New directory

2004-03-03 Thread psteitz
psteitz 2004/03/03 18:44:05 jakarta-commons-sandbox/id/src/conf - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [id] UUID update

2004-03-03 Thread Marc Slemko
On Wed, 3 Mar 2004, Adkins Kendall wrote: Here is a UID Generator we are using. Part of the UID contains the hash of a final static object instance. In this way, while a JVM is up you are assured no other objects can occupy the same memory address. We have had no difficulty with it under

RE: [id] UUID update

2004-03-03 Thread Adkins Kendall
And I thought I was helping! Thanks. :) -Original Message- From: Marc Slemko [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 10:27 PM To: Jakarta Commons Developers List Subject: RE: [id] UUID update On Wed, 3 Mar 2004, Adkins Kendall wrote: Here is a UID Generator we are

RE: DO NOT REPLY [Bug 27243] - [math] T-Distribution causing a StackOverflowError

2004-03-03 Thread Brent Worden
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 5:12 PM To: Jakarta Commons Developers List Subject: Re: DO NOT REPLY [Bug 27243] - [math] T-Distribution causing a StackOverflowError The nightly build does indeed build the

Re: [id] UUID update

2004-03-03 Thread Phil Steitz
Adkins Kendall wrote: Hmm. I guess I can't send attachments. Is there a better way to share source code? You can add file attachments to Bugzilla tickets that you can create here: http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Commons For [id], select Sandbox as the Component or add

RE: [codec] StatefulDecoders

2004-03-03 Thread Alex Karasulu
Here's the JIRA report for the new stateful decoder interfaces that I've attached to this issue: http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=DIR-30 Take a look at the attached interface javaadocs and let me know what you guys think. BTW when looking at the interfaces notice

RE: [codec] StatefulDecoders

2004-03-03 Thread Alex Karasulu
Just for the record I created a component interface for the server that definitely shows the relevance of NIO and client oriented handling using these new interfaces. You can take a look here: http://cvs.apache.org/viewcvs.cgi/*checkout*/incubator/directory/eve/trunk/e

Re: [HiveMind] HiveMind ideas

2004-03-03 Thread Christian Essl
Hallo, Congratulations that Hivemind is back. Sorry that I haven't mailed before, but I was very busy and wasn't checking for HiveMind that often anymore. Especially I want to apologize with Howard, whoes mail I must have overseen. - Why use Javassist instead of dynamic proxies? I am yet to

[GUMP@lsd]: jelly-tags/commons-jelly-tags-ant failed

2004-03-03 Thread Morgan Delagrange mdelagra@yahoo.com
To whom it may engage... This is an automated request, but not an unsolicited one. For help understanding the request please visit http://gump.apache.org/nagged.html, and/or contact [EMAIL PROTECTED] Project commons-jelly-tags-ant has an issue affecting it's community integration.

[GUMP@lsd]: jelly-tags/commons-jelly-tags-define failed

2004-03-03 Thread Morgan Delagrange mdelagra@yahoo.com
To whom it may engage... This is an automated request, but not an unsolicited one. For help understanding the request please visit http://gump.apache.org/nagged.html, and/or contact [EMAIL PROTECTED] Project commons-jelly-tags-define has an issue affecting it's community integration.

Re: [HiveMind] HiveMind ideas

2004-03-03 Thread Harish Krishnaswamy
Hi Christian, Welcome back! I know you have done some work on dynamic proxy interceptors before, I shall take a look at it and see if it helps. As far as interceptor ordering, I really don't see the benefit. Could you be more elaborate? -Harish PS. I am going to bed now, don't expect an

RE: [id] UUID update

2004-03-03 Thread Tim Reilly
Phil Steitz wrote: ... than updating the Apache license to 2.0. This is a good start. We need to get a better feel for stability / performance and some more eyeballs on this code, so I thought it best to get it into CVS now, even if we decide to refactor / repackage down the road. Thanks for

DiskFileUpload requires a DefaultFileItemFactory instead of just a FileItemFactory

2004-03-03 Thread Forrest Girouard
Folks: Why does the DiskFileUpload require that the factory be of type DefaultFileItemFactory instead of FileItemFactory? This seems needlessly restrictive. Cheers, Forrest - To unsubscribe, e-mail: [EMAIL PROTECTED]

native memory leak on every call to File.deleteOnExit()

2004-03-03 Thread Forrest Girouard
Folks: Is any one on this list aware that every call to File.deleteOnExit() leaks memory in the native heap? This eventually crashes the JVM. Please see http://developer.java.sun.com/developer/bugParade/bugs/4513817.html. It seems to me that the call to deleteOnExit() from

RE: native memory leak on every call to File.deleteOnExit()

2004-03-03 Thread Noel J. Bergman
Is any one on this list aware that every call to File.deleteOnExit() leaks memory in the native heap? I am. Code intended for server use should be audited to remove that call. It is not a bug. It is working as designed (the merit of that design being beside the point). If someone wants to

[PATCH] please update logging/build.xml for the sake of gump !!!

2004-03-03 Thread Antoine Lévy-Lambert
Hi, The gump build of jakarta-commons/logging is failing. [1] I have attached a patch for the build.xml [2] Thanks in advance for submitting it quickly, so that it is OK in the next Gump run. Antoine Footnotes : [1] http://lsd.student.utwente.nl/gump/jakarta-commons/commons-logging.html [2]

Re: HttpClient and Concurrent requests to the same host.

2004-03-03 Thread Michael Becke
Hi Mark, By default HttpClient makes use of the SimpleHttpConnectionManager. This connection manager only supports one request at a time. Each request, including the response, must be fully complete before the next begins. Sounds like the MultiThreadedHttpConnectionManager might be more

Re: Timeout exception

2004-03-03 Thread Michael Becke
Hi Joe, Read timeouts will cause exceptions to be thrown from within HttpMethod.execute(). Mike McMahon, Joseph wrote: I have a client program that uses the MultiThreadedHttpConnectionManager and after a while, it seems like the connections hang. I haven't traced anything yet to know the

RE: Timeout exception

2004-03-03 Thread McMahon, Joseph
Ok, do you know what exception? I'd rather not do a generic Exception catch for this issue. Thanks -Original Message- From: Michael Becke [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 12:43 PM To: Commons HttpClient Project Subject: Re: Timeout exception Hi Joe, Read

Re: Timeout exception

2004-03-03 Thread Michael Becke
Hi Joe, Unfortunately I don't have the code in front of me at the moment. I think it will be an HttpRecoverableException (for HttpClient 2.0). If you set a very low timeout (~1ms) you should be able to test this quite easily. Mike McMahon, Joseph wrote: Ok, do you know what exception?

HTTP client hang

2004-03-03 Thread Tony Thompson
I am having an issue with the HTTP client hanging when it is trying to receive a large amount of data from a web server. After doing a packet trace, I noticed that as the HTTP client is receiving a large amount of data, the TCP window size goes to zero and communication just stops. Is there

Re: HttpClient and Concurrent requests to the same host.

2004-03-03 Thread Mark R. Diggory
Yep, thats the solution. Thanks a bunch. Michael Becke wrote: Hi Mark, By default HttpClient makes use of the SimpleHttpConnectionManager. This connection manager only supports one request at a time. Each request, including the response, must be fully complete before the next begins.

Streaming requests

2004-03-03 Thread David . Cowan
I know there have been several discussions in regards to streaming requests rather than buffering. There have been many suggestions on how to allow for streaming of requests using Piped streams, etc, but I have come up against a situation were it seems to be impossible to do with the current

Re: Streaming requests

2004-03-03 Thread Michael Becke
Hi David, In the case of the piped streams you need to do the reading and writing from separate threads. This is to avoid the exact case that you are seeing, and I believe it is documented in Sun's javadocs. Any other solution will require changing the PostMethod API as discussed, or

Re: HTTP client hang

2004-03-03 Thread Michael Becke
Hi Tony, Can you give an example of the code you are using, and where exactly things are hanging? Also, a wire log may also be helpful http://jakarta.apache.org/commons/httpclient/logging.html. Mike On Mar 3, 2004, at 2:32 PM, Tony Thompson wrote: I am having an issue with the HTTP client

Re: HTTP client hang

2004-03-03 Thread Tony Thompson
Mike, It may be tough to get a wire log because I am seeing this at a customer site and they may be sensitive about their data. I will check into it though. Here is roughly what I do: 1. I create a POST method and set the following method.setPath(); method.setQueryString();

Re: Timeout exception

2004-03-03 Thread Ortwin Glück
Oh, there seems to be a lack of documentation on this. Actually a TimeoutController.TimeoutException extends java.lang.Exception from the o.a.c.h.util package will be thrown. Timeouts are managed by the TimeoutController class. HTH Ortwin Glück McMahon, Joseph wrote: Ok, do you know what

DO NOT REPLY [Bug 27426] New: - [API Doc] Document exceptions thrown on execute methods

2004-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27426. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: file transfer through firewall

2004-03-03 Thread Roland Weber
Hello Ramakrishna, if you are developing the server system, then HttpClient is not the way to go. If you are developing a client application, then it is. Yes, users should authenticate. cheers, Roland Ramakrishna Kuppa (Bangalore) [EMAIL PROTECTED] 03.03.2004 08:59 Please respond to

Re: Timeout exception

2004-03-03 Thread Ortwin Glück
Ortwin Glück wrote: Oh, there seems to be a lack of documentation on this. Actually a TimeoutController.TimeoutException extends java.lang.Exception from the o.a.c.h.util package will be thrown. Timeouts are managed by the TimeoutController class. HTH Ortwin Glück I have to correct myself.