bean utils : automatic type conversion newbie question

2009-03-03 Thread Paul Hussein
Hi, I am trying to use Bean Utils to fill my bean. I am expecting automatic conversion from String to BigDecimal or Float and various other base types. However for me this is not working. When I call PropertyUtils.setProperty(bean, VALUE, 125.0) on a method public void setVALUE(Float

Common Net 1.4.1

2009-03-03 Thread bhamilton
in the Calendar are not consistent. When the process ran at 6:02 this morning, a certain file had a date time of 20080303 06:05:00. When the process ran 5 minutes later, at 6:07am, the same file had a date and time of 20090303 06:05:00. Any thoughts? Thanks! Brenda Hamilton

Re: Common Net 1.4.1

2009-03-03 Thread bhamilton
and time of 20090303 06:05:00. Any thoughts? Thanks! Brenda Hamilton - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: Common Net 1.4.1

2009-03-03 Thread bhamilton
in the Calendar are not consistent. When the process ran at 6:02 this morning, a certain file had a date time of 20080303 06:05:00. When the process ran 5 minutes later, at 6:07am, the same file had a date and time of 20090303 06:05:00. Any thoughts? Thanks! Brenda Hamilton

Re: FTPClient Stalls on STOR

2009-03-03 Thread sebb
Aren't there two connections involved here - i.e. the control and data connections? Surely the data connection will be kept alive by the STOR command; the NOOP is presumably only needed on the control connection? I would question whether the F5 load balancer is working correctly if it fails to

Re: JXPath over Generic Collection?, How?

2009-03-03 Thread Andrew Hughes
For efficiency reasons I can see why you are using String[] here and not List.add()... Anyway, I have a fix (sort of) for this bug. The number of names needs to be calculated a little differently to what it currently is... public String[] getPropertyNames() { /* @todo do something

Re: FTPClient Stalls on STOR

2009-03-03 Thread Rory Winston
Yes. The control connection is what is timing out. I've seen other clients (FileZilla etc) use a timer to send NOOPs over the control connection periodically. And Meeraj, yes, I think there may be a potential race condition with NOOPs being executed whilst another command is currently

Re: bean utils : automatic type conversion newbie question

2009-03-03 Thread Niall Pemberton
On Tue, Mar 3, 2009 at 2:24 PM, Paul Hussein paul.huss...@hapnin.net wrote: Hi, I am trying to use Bean Utils to fill my bean. I am expecting automatic conversion from String to BigDecimal or Float and various other base types. However for me this is not working. When I call