AW: Order of maintenance of pool

2007-02-15 Thread Christoph Kutzinski
Sandy McArthur wrote: On 2/14/07, Sharma, Siddharth [EMAIL PROTECTED] wrote: I changed the code to set genericConfig.softMinEvictableIdleTimeMillis=3; instead of genericConfig.minEvictableIdleTimeMillis=3; But it behaves exactly the same way. It does not maintain the min-idle

[VFS] Closed OutputStream from FileContent does not throw IOException if further written to

2007-02-15 Thread Christian Möller
Hi, I've a question regarding the behaviour of OutputStreams received from org.apache.commons.vfs.FileContent.getOutputStream(): If I call close() on them and further write some bytes to the stream, these writes take place silently without throwing an IOException (as it is done by usual Java

[validator] locale aware validator scripts required

2007-02-15 Thread Hasan Turksoy
hi, i've looked through issues but got no result... does anybody has locale related issues about validator javascripts? when the locale is EN: thousand seperator=, , decimal seperator='.' (like: 123,45.67) when the locale is TR(my case): thousand seperator=. , decimal seperator=',' (like:

Re: [VFS] Closed OutputStream from FileContent does not throw IOException if further written to

2007-02-15 Thread Mario Ivankovits
Hi Christian! os.write(SOME_BYTES); os.close(); os.write(SOME_BYTES); // Neither IOE is thrown nor bytes are written Why? No idea, lets have a look at it. Could you please file a bug report in JIRA [1] (maybe with patch attached ;-) ) Thanks! Ciao, Mario [1] http://issues.apache.org

Re: [VFS] Closed OutputStream from FileContent does not throw IOException if further written to

2007-02-15 Thread Christian Möller
Mario Ivankovits schrieb: Hi Christian! os.write(SOME_BYTES); os.close(); os.write(SOME_BYTES); // Neither IOE is thrown nor bytes are written Why? No idea, lets have a look at it. Could you please file a bug report in JIRA [1] (maybe with patch attached ;-) ) Done: VFS-111 Sorry,

Re: [primitives] some support for size-limited List ?

2007-02-15 Thread James Carman
I would start a new thread if you're asking a different question. On 2/15/07, Tahir Akhtar [EMAIL PROTECTED] wrote: Hi, Do we have map implementations that use object keys and primitive values? Moreover, are there any links between commons-collections and commons-primitives? [Tahir Akhtar]

Re: [primitives] Map for storing primitive values

2007-02-15 Thread James Carman
Please ignore my reply to your previous post. :-) On 2/15/07, Tahir Akhtar [EMAIL PROTECTED] wrote: [it's a re-post. Sorry for wrong subject in previous post] Hi, Do we have map implementations that use object keys and primitive values? Moreover, are there any links between

RE: [collections] Tree data structure

2007-02-15 Thread Lazarte, Ivan
Some generics article from a while ago used a tree... It was very basic, but might be of some use: http://www.onjava.com/pub/a/onjava/excerpt/javaian5_chap04/index1.html -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 5:35 PM To:

[SCXML] ConcurrentModificationException

2007-02-15 Thread Nestor Urquiza
Hi guys, Are any of you experiementing the below? java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448) at java.util.AbstractList$Itr.next(AbstractList.java:419) at

IllegalStateException: Content must be set before entity is written

2007-02-15 Thread Alessandro.Kohler
hi there i'm traing to send a multipart reqest using the InputStreamRequestEntity in httpclient 3.0.1. this is the code: note: clientRequest is an incoming HttpServletRequest, and the stream used for the InputStreamRequestEntity's constructor is obtained by using the commons.FileUpload API.

Re: [SCXML] ConcurrentModificationException

2007-02-15 Thread Rahul Akolkar
On 2/15/07, Nestor Urquiza [EMAIL PROTECTED] wrote: Hi guys, Are any of you experiementing the below? snip/ The trace is clear, the scenario is not. Can you please provide the smallest complete JUnit test case that reproduces this? Thanks! -Rahul java.util.ConcurrentModificationException

Re: IllegalStateException: Content must be set before entity is written

2007-02-15 Thread Bindul Bhowmik
Hello Alessandro, Moving this discussion to the HttpClient Users list. On 2/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi there i'm traing to send a multipart reqest using the InputStreamRequestEntity in httpclient 3.0.1. this is the code: note: clientRequest is an incoming

RE: [primitives] Map for storing primitive values

2007-02-15 Thread Tahir Akhtar
Found following answers to my question. - Commons Collections does not support primitives - Commons Primitives have Set and List for primitives but not maps - Elsewhere on the net, I found : pcj http://pcj.sourceforge.net , trove http://trove4j.sourceforge.net colt

RE: [collections] Tree data structure

2007-02-15 Thread Jörg Schaible
Carlos Sanchez wrote on Tuesday, February 13, 2007 9:58 PM: Anyone knows of a tree implementation (not binary)? I read in old threads (2002) somebody willing to contribute one but seems it didn't make it to collections. Is there any interest on having one? What about