Re: [exec] Draining process output/error

2011-08-04 Thread Siegfried Goeschl
Hi Diane, I think the best is to have a look at the JUnit test of commons-exec - there are a few examples how to consume stdout/stderr either pumping into stdout/stderr or collecting into a byte[] Regarding your requirements +) is it possible that your code can get stuck - if yes checkout Wa

RE: [pool] Spring configuration of org.apache.commons.pool.impl.GenericObjectPool.Config

2011-08-04 Thread Gary Gregory
Good question. I'm not sure where something like that could live. Should we have a companions project/directory like there is for Log4J? Gary -Original Message- From: Norval Hope [mailto:nrh...@gmail.com] Sent: Thursday, August 04, 2011 1:02 AM To: user@commons.apache.org Subject: [pool

[pool] Spring configuration of org.apache.commons.pool.impl.GenericObjectPool.Config

2011-08-04 Thread Norval Hope
Hi All, I've written a wrapper bean (i.e. getters and setters) around GenericObjectPool.Config to allow it to be configured using Spring XML. Is this something that might find it's way in the Pool source itself, or is there another way of achieving the same thing that I've missed? Thanks, Norval