Re: [Configuration] Defaults and CompositeConfiguration Refactoring

2004-02-25 Thread Oliver Heger
Don't know if somebody else has suggested this before, but wouldn't it be quite easy to implement this default configuration feature in a generic way as a decorator? Oliver Emmanuel Bourg schrieb: Does this change address the complexity of the default configuration use case with a composite

RE: [Configuration] Defaults and CompositeConfiguration Refactoring

2004-02-25 Thread Eric Pugh
Um.. Yeah.. I guess so.. Although an arguement can be made that most behaviors can be done as Decorators.. For that matter, CompositeConfiguration is basicaly just a big fat decorator. I do think that at somepoint we are going to have many classes in

[configuration] comma delimited properties

2004-02-25 Thread Stephane Bailliez
Following a private email with Eric. There is an underlying problem in configuration regarding the handling of comma delimited properties. As of now, a comma delimited string is considered a list of values, so something like: java.naming.provider.url=ldap://server:390/ou=something,o=else,c=here

Re: [configuration] comma delimited properties

2004-02-25 Thread Emmanuel Bourg
I agree, i noticed this issue last month and suggested a patch : http://www.mail-archive.com/[EMAIL PROTECTED]/msg33704.html Basically it adds a setSplitString(boolean) method in the AbstractConfiguration class that enable or disable property splitting. Emmanuel Bourg Stephane Bailliez wrote:

RE: [configuration] comma delimited properties

2004-02-25 Thread Eric Pugh
Is that going to be generic enough... I guess one of my concerns is that as we have more providers, like DatabaseConfiguration, that the changes we make stay generic... I guess, in this case, that the DatabaseConfiguration returns a string, and then that gets converted to a list/array by

Re: [all] maven artifacts

2004-02-25 Thread Mark R. Diggory
Yes, maybe a year too late, but better late than never. The whole groupID/ArtifactId thing just really came into existence. I'm not really convinced its stable yet... We are just now getting a hierarchical globalized site build together. Eventually, it would be nice to see these all in one

DO NOT REPLY [Bug 27231] New: - Change to HashEntry inner class of AbstractHashedMap

2004-02-25 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=27231. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27232] New: - [configuration] Locale support

2004-02-25 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=27232. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27232] - [configuration] Locale support

2004-02-25 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=27232. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27232] - [configuration] Locale support

2004-02-25 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=27232. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: [codec] StatefulDecoders

2004-02-25 Thread Alex Karasulu
Hi, First of all let me apologize for the delayed response. Unforeseen circumstances have kept me away from anything electronic for days now. Since the original post there has been some extensive feedback for which I'm greatful and wish I could have responded to in a timely fashion. I

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

2004-02-25 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.

DO NOT REPLY [Bug 27231] - Change to HashEntry inner class of AbstractHashedMap

2004-02-25 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=27231. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27231] - Change to HashEntry inner class of AbstractHashedMap

2004-02-25 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=27231. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27231] - Change to HashEntry inner class of AbstractHashedMap

2004-02-25 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=27231. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27231] - Change to HashEntry inner class of AbstractHashedMap

2004-02-25 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=27231. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27231] - [collections] Change to HashEntry inner class of AbstractHashedMap

2004-02-25 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=27231. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-25 Thread Alex Karasulu
Hi, Let's take the simplest topic first which is the Exception issue. From: Tim O'Brien [mailto:[EMAIL PROTECTED] I think the introduction of EncoderException and DecoderException in and of itself was a mistake in the first place. Creating hierarchies of exception just for the hell of

RE: [codec] StatefulDecoders

2004-02-25 Thread Noel J. Bergman
Brett, In general, I have long preferred the pipeline/event model to the approach that Alex had, where it would give data to the codec, and then poll it for state. However, I don't see something in your implementation that I think we want. We want to be able to have structured content handlers

[COLLECTIONS] MultiHashMap.get()

2004-02-25 Thread James Carman
In the documentation for MultiHashMap, it claims Getting a value will always return a Collection, holding all the values put to that key. However, the following code fails... final MultiHashMap map = new MultiHashMap(); assertNotNull( map.get( Hello ) ); From the documentation, I would

RE: [codec] StatefulDecoders

2004-02-25 Thread Alex Karasulu
From: Tim O'Brien [mailto:[EMAIL PROTECTED] Alex Karasulu wrote: Hi, I've been working on the idea of stateful Decoders designed for use with non-blocking reads where buffers are read from channels and used by decoders. As you know you don't always get the complete PDU in a single

cvs commit: jakarta-commons/daemon NOTICE.txt

2004-02-25 Thread scolebourne
scolebourne2004/02/25 11:11:19 Added: daemon NOTICE.txt Log: Change to Apache License 2.0 Revision ChangesPath 1.1 jakarta-commons/daemon/NOTICE.txt Index: NOTICE.txt === This

Re: [COLLECTIONS] MultiHashMap.get()

2004-02-25 Thread Stephen Colebourne
Yes, this will need a javadoc fix. The null is returned to indicate that there are no values mapped to this key (as per normal Map API). Stephen - Original Message - From: James Carman [EMAIL PROTECTED] In the documentation for MultiHashMap, it claims Getting a value will always return a

cvs commit: jakarta-commons/httpclient NOTICE.txt

2004-02-25 Thread scolebourne
scolebourne2004/02/25 11:26:12 Added: httpclient NOTICE.txt Log: Change to Apache License 2.0 Revision ChangesPath 1.1 jakarta-commons/httpclient/NOTICE.txt Index: NOTICE.txt ===

cvs commit: jakarta-commons/math NOTICE.txt

2004-02-25 Thread scolebourne
scolebourne2004/02/25 11:28:40 Added: math NOTICE.txt Log: Change to Apache License 2.0 Revision ChangesPath 1.1 jakarta-commons/math/NOTICE.txt Index: NOTICE.txt === This

cvs commit: jakarta-commons/el/src/java/org/apache/commons/el/parser ELParser.java

2004-02-25 Thread luehe
luehe 2004/02/25 11:51:44 Modified:el/src/java/org/apache/commons/el ImplicitObjects.java el/src/java/org/apache/commons/el/parser ELParser.java Log: Fixed JDK 1.5 compilation error (enum is considered a reserved keyword in JDK 1.5) [Patch provided by Ryan

Re: [codec] more granular artifacts

2004-02-25 Thread Tim O'Brien
On Tue, 24 Feb 2004, Ryan Hoegg wrote: In order to promote the reuse of commons-codec instead of the source-code-copy reuse strategy, I propose modifying the codec build to create certain additional artifacts that might be more palatable to developers in this situation. Ryan, this is a

RE: [codec] StatefulDecoders

2004-02-25 Thread Alex Karasulu
Hi, Noel's description is correct. Please see my additional comments below: -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED] How does your proposal contrast/differs/combines with what has been referred to on this list as streamable codecs? See

RE: [codec] StatefulDecoders

2004-02-25 Thread Alex Karasulu
Hi, -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] public java.util.List operation(java.nio.ByteBuffer buffer); This brings up an interesting issue: How do we potentially package and deliver some code that depends on Java 1.4. In a second [codec] jar? I think

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-25 Thread Noel J. Bergman
I think the introduction of EncoderException and DecoderException in and of itself was a mistake in the first place. Encoder and Decoder are similar to Reader and Writer which both throw IOException. I agree fully. I disagree fully, as I will explain. Decode and encode operations are

cvs commit: jakarta-commons/primitives build.properties.sample

2004-02-25 Thread scolebourne
scolebourne2004/02/25 12:38:25 Modified:primitives build.properties.sample Log: Change to Apache License 2.0 Revision ChangesPath 1.4 +14 -0 jakarta-commons/primitives/build.properties.sample Index: build.properties.sample

cvs commit: jakarta-commons/primitives NOTICE.txt project.xml maven.xml PROPOSAL.html build.xml LICENSE.txt project.properties checkstyle.xml

2004-02-25 Thread scolebourne
scolebourne2004/02/25 12:42:18 Modified:primitives/xdocs faq.xml index.xml navigation.xml primitives project.xml maven.xml PROPOSAL.html build.xml LICENSE.txt project.properties checkstyle.xml Added: primitives NOTICE.txt Log: Change to

[codec] Possible 1.3 and beyond?

2004-02-25 Thread Gary Gregory
Hello all, Since the current discussions around stateful and streamable decoders all involve introducing a new and better architecture I am wondering if we should: (1) Release a version 1.3 soon to gather all of the fixes and improvements since the November 1.2 release and (2) then work on the

Re: RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-25 Thread Alex Karasulu
Noel, You have some very interesting ideas here which I need to process and consider in depth. Expect more interfaces for discussion soon. From: Noel J. Bergman [EMAIL PROTECTED] Date: 2004/02/25 Wed PM 03:27:43 EST To: Jakarta Commons Developers List [EMAIL PROTECTED] Subject: RE:

cvs commit: jakarta-commons/fileupload project.xml

2004-02-25 Thread scolebourne
scolebourne2004/02/25 13:30:32 Modified:fileupload/xdocs navigation.xml index.xml fileupload project.xml Log: Update to new website design Revision ChangesPath 1.7 +1 -1 jakarta-commons/fileupload/xdocs/navigation.xml Index: navigation.xml

Re: [configuration] comma delimited properties

2004-02-25 Thread Stephane Bailliez
Emmanuel Bourg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [...] imho the multiple lines syntax is cleaner and easier to handle. I'm ok for this as it is close to what you would do with an xml element. Though... What do you think about a getObjectList(Class primitive, char delim)

cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/auth - New directory

2004-02-25 Thread olegk
olegk 2004/02/25 14:30:49 jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/auth - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/server SimpleHttpServerConnection.java

2004-02-25 Thread olegk
olegk 2004/02/25 14:33:59 Modified:httpclient/src/test/org/apache/commons/httpclient/server SimpleHttpServerConnection.java Added: httpclient/src/test/org/apache/commons/httpclient HttpClientTestBase.java Log: * Base class

cvs commit: jakarta-commons/el/xdocs index.xml proposal.xml navigation.xml

2004-02-25 Thread scolebourne
scolebourne2004/02/25 14:40:49 Modified:el/src/java/org/apache/commons/el ArraySuffix.java PropertySuffix.java GreaterThanOrEqualsOperator.java ImplicitObjects.java UnaryOperatorExpression.java

cvs commit: jakarta-commons/jelly/jelly-tags/html/src/java/org/apache/commons/jelly/tags/html package.html

2004-02-25 Thread dion
dion2004/02/25 15:47:35 Modified:jelly/jelly-tags/html/src/test/org/apache/commons/jelly/html index.html example2.jelly example.jelly radioToPDA.jelly suite.jelly jelly/jelly-tags/html project.xml gump.xml

cvs commit: jakarta-commons/jelly/jelly-tags/http/src/test/org/apache/commons/jelly/http http.jelly

2004-02-25 Thread dion
dion2004/02/25 15:50:08 Modified:jelly/jelly-tags/http/src/test/org/apache/commons/jelly/google defineTags.jelly search.jelly jelly/jelly-tags/http project.properties maven.xml build.xml project.xml gump.xml

Potential issue in commons dbcp

2004-02-25 Thread Ludovic Dubost
Hi, I think I found a potential problem in commons dbcp and can't find where I should report it.. If you use the setCatalog function of JDBC you have an issue with the Prepared Statement Cache, since the cache considers that two statements with different catalogs are the same, and therefore

cvs commit: jakarta-commons/jelly/jelly-tags/interaction/src/test/org/apache/commons/jelly/tags/interaction sample.jelly

2004-02-25 Thread dion
dion2004/02/25 16:16:30 Modified:jelly/jelly-tags/interaction project.xml maven.xml build.xml project.properties jelly/jelly-tags/interaction/src/java/org/apache/commons/jelly/tags/interaction package.html

[digester] CallMethodRule order [bug12997] attn: Emmanuel, Craig

2004-02-25 Thread Simon Kitching
Hi Emmanuel, Re your comments on bugzilla http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12997 I'd like to transfer this discussion to email rather than bugzilla form, if that's ok. It's a pain typing and reading bugzilla comments :-) I guess the problem is that the bugzilla entry is now

[PATCH][On Contributing Patches]

2004-02-25 Thread [EMAIL PROTECTED]
http://jakarta.apache.org/commons/patches.html Every time I apply patches I have to go read the manual again, and there isn't a wealth of examples. A meager but helpful reference is: http://www.network-theory.co.uk/articles/patchintro.html Probably the best advice is to first try: the

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

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

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

2004-02-25 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=27243. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: streaming request body

2004-02-25 Thread Ortwin Glück
John Keyes wrote: My point here is that if I have X requests then there can be X * CONTENT_LENGTH_CHUNKED bytes in memory at one time. I see what you mean. But the above calculation does not make sense: CONTENT_LENGTH_CHUNKED is a (negative) integer that signals to HttpClient that you do not

Connecting through Proxy

2004-02-25 Thread Saifadam Pathan
I tried numerous suggestions from the list on how to authenticate via proxy when you try the httpclient. But noe worked. Then i ended up using these steps... / */ HttpClient

problem posting xml, with size larger than 8196 or 4319 bytes...

2004-02-25 Thread Koutsomboris Tasos
Hello to all! Forgive me, if I have made a mistake, by posting my question to an irrelevant list, but this is my first try to use the benefits of the mailing list. I have just downloaded (from http://jakarta.apache.org/site/binindex.cgi) version 2 (final) of httpclient and I am trying to create

Re: Connecting through Proxy

2004-02-25 Thread Stefan Dingfelder
Hi Saifadam, that may depend upon the proxy also. If it is a Microsoft proxy you need to use NTLM authentification which requires NTCredentials. http://jakarta.apache.org/commons/httpclient/authentication.html contains some further infos. At least that was what I needed. Just my two cents,

RE: Connecting through Proxy

2004-02-25 Thread Kalnichevski, Oleg
Just one (relatively minor) addition: only Basic authentication can be used preemptively. NTLM authentication scheme is stateful (that is, NTLM authentication process spans across several requests/responses) and therefore NTLM credentials cannot be used outside a valid authentication context.

Re: streaming request body

2004-02-25 Thread John Keyes
On 25 Feb 2004, at 14:43, Ortwin Glück wrote: John Keyes wrote: My point here is that if I have X requests then there can be X * CONTENT_LENGTH_CHUNKED bytes in memory at one time. I see what you mean. But the above calculation does not make sense: CONTENT_LENGTH_CHUNKED is a (negative)

RE: streaming request body

2004-02-25 Thread Kalnichevski, Oleg
It's always good to have things configurable :-) John, feel free to file a feature request with the Bugzilla if you want to keep track of the issue resolution and provide us with some feedback. http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Commons I deem this feature fairly easy to

RE: problem posting xml, with size larger than 8196 or 4319 bytes...

2004-02-25 Thread Kalnichevski, Oleg
Koutsomboris, Your servlet code appears to be causing the problem ServletInputStream servInStream = null; ByteArrayOutputStream baos = null; ByteArrayInputStream bais = null; byte[] bufByteArray = null; String msgIN = null; servInStream =

DO NOT REPLY [Bug 27237] New: - ArrayIndexOutOfBounds Exception on invalid content-length

2004-02-25 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=27237. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 27237] - ArrayIndexOutOfBounds Exception on invalid content-length

2004-02-25 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=27237. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Connecting through Proxy

2004-02-25 Thread Saifadam Pathan
Hi Oleg, 1) Thanks for responding. I am new to using httpclient, but in our case, I observed that if i do comment the preemptive authentication code, then the executeMethod( ) causes a HttpRecoverableException exception to be thrown. Also I observed the following line at the console where the

DO NOT REPLY [Bug 27237] - ArrayIndexOutOfBounds Exception on invalid content-length

2004-02-25 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=27237. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Connecting through Proxy

2004-02-25 Thread Michael Becke
Hi Saifadam, 1) Thanks for responding. I am new to using httpclient, but in our case, I observed that if i do comment the preemptive authentication code, then the executeMethod( ) causes a HttpRecoverableException exception to be thrown. Also I observed the following line at the console where

DO NOT REPLY [Bug 27242] New: - Socket Closed IOException thrown by HttpConnection

2004-02-25 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=27242. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Sample code for setting header and body of request to be sent to remote server.

2004-02-25 Thread Saifadam Pathan
Hi everyone, can someone please help me to do the following: I wish to create a connection and send a request to an website(using get or post ,etc methods). bUt most importantly, i dont know is how do i form The header and the parameters and etc... for the request and then send it. Any