Re: [net] FTPClient doesn't download full images

2020-06-04 Thread Erwin Hogeweg
Hi, I have no idea if this is related but I seem to remember from a life long, long ago that you can set up and FTP connection in two modes ASCII and binary. The default is (used to be) ASCII and when you feed binary data through that connection then (some) non-ascii characters were translated

Re: commons-vfs-2.4.1 - Question re. usage of VFS.getManager() - SOLVED

2019-10-30 Thread Erwin Hogeweg
s > Bernd > > > -- > http://bernd.eckenfels.net > > > Von: Erwin Hogeweg > Gesendet: Mittwoch, Oktober 30, 2019 3:29 AM > An: Commons Users List > Betreff: commons-vfs-2.4.1 - Question re. usage of VFS.getManager() > > All - > > I

commons-vfs-2.4.1 - Question re. usage of VFS.getManager()

2019-10-29 Thread Erwin Hogeweg
All - I am trying to set up a VFS but I struggled a while to get past a FileSystemException. After looking at the VFS source code I understood what was going on, and I was able to create a work-around. However, I am not sure that what I hacked together is the right approach so I am looking for

Re: org.apache.commons.lang3.time.StopWatch resolution

2019-06-07 Thread Erwin Hogeweg
t; For your test (not sure how valuable that is) I would go with 100ms sleep and > allow 85-115ms stopwatch results. I’ll give that a try. Thanks again, Erwin. > > > -- > http://bernd.eckenfels.net > > ________ > Von: Erwin Hogeweg > Gesen

Re: org.apache.commons.lang3.time.StopWatch resolution

2019-06-07 Thread Erwin Hogeweg
ava 9, you get better clock resolution >> for certain APIs. Kinda messy... >> >> Gary >> >> On Thu, Jun 6, 2019 at 4:28 PM Erwin Hogeweg >> wrote: >> >>> Hi, >>> >>> I am tad confused about the StopWatch resolution. I have a very

org.apache.commons.lang3.time.StopWatch resolution

2019-06-06 Thread Erwin Hogeweg
Hi, I am tad confused about the StopWatch resolution. I have a very basic JUnit test that starts a stopwatch, wait for 10ms and then stops it, and checks the value. In about 40% of the cases it is less than the 10ms wait time. Is that expected? What is my blind spot? Regards, Erwin -

Re: [DBCP] Connection just obtained from datasource is invalid

2017-11-22 Thread Erwin Hogeweg
apache.org<mailto:user-unsubscr...@commons.apache.org> For additional commands, e-mail: user-h...@commons.apache.org<mailto:user-h...@commons.apache.org> - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org<mailto:user-

Re: Can't get MySQL non-jta connection pool with Aries-2.4.0 and EL-2.6.2 working - Looking for (more) example(s).

2016-07-25 Thread Erwin Hogeweg
nt from my iPhone > > On 24 Jul 2016, at 21:51, Erwin Hogeweg > mailto:erwin.hoge...@me.com>> wrote: > > Hi, > > Not sure if this is a question for these lists or for the EL list but I > figure I start here. Feel free to redirect when you feel it doesn’t bel

Can't get MySQL non-jta connection pool with Aries-2.4.0 and EL-2.6.2 working - Looking for (more) example(s).

2016-07-24 Thread Erwin Hogeweg
Hi, Not sure if this is a question for these lists or for the EL list but I figure I start here. Feel free to redirect when you feel it doesn’t belong here. I am trying to get a non-jta connection pool (internal connection pool) working with EL 2.6.2, Aries 2.4.0 (incl. EL adapter), dbcp2-2.1 a