[commons.pool] unexpected object invalidation

2010-09-13 Thread Konstantyn Smirnov
Hi all in my Grails app I'm using a GenericObjectPool to hold sockets that connect to some legacy system. Each idle socket in the pool must be "pinged" every 25 sec, so that the server leaves the connection open. For that I'm using the pool: poolSize = 4 socketPool = new GenericObjectPool( m

Re: [commons.pool] unexpected object invalidation

2010-09-13 Thread Phil Steitz
On 9/13/10 5:01 AM, Konstantyn Smirnov wrote: Hi all in my Grails app I'm using a GenericObjectPool to hold sockets that connect to some legacy system. Each idle socket in the pool must be "pinged" every 25 sec, so that the server leaves the connection open. For that I'm using the pool: poolS

Re: [commons.pool] unexpected object invalidation

2010-09-13 Thread Konstantyn Smirnov
Bingo! Thanks Phil. -- View this message in context: http://apache-commons.680414.n4.nabble.com/commons-pool-unexpected-object-invalidation-tp2537096p2537208.html Sent from the Commons - User mailing list archive at Nabble.com. --

[daemon] Unable to find Java Runtime Environment

2010-09-13 Thread Michael Hagedorn
Hello *, I'm using prunsrv with --Jvm=auto and --StartMode=Java. If I try this on a machine with an out of the box installed JRE6 (no %JAVA_HOME% is set) service startup fails with "Unable to find Java Runtime Environment". If I use --JavaHome and assign JRE directory it works fine but that's

Re: [daemon] Unable to find Java Runtime Environment

2010-09-13 Thread Mladen Turk
On 09/13/2010 05:13 PM, Michael Hagedorn wrote: Hello *, I'm using prunsrv with --Jvm=auto and --StartMode=Java. If I try this on a machine with an out of the box installed JRE6 (no %JAVA_HOME% is set) service startup fails with "Unable to find Java Runtime Environment". If I use --JavaHome

Re: [daemon] Unable to find Java Runtime Environment

2010-09-13 Thread Michael Hagedorn
Thanks for the quick answer! To pick up the java.exe by registry would be great too. I don't want to care about JAVA_HOME. If user upgrades JRE service should still work. In case of jvm.dll it will. Why not with java.exe? Thanks Michael On 13.09.2010 17:23, Mladen Turk wrote: > On 09/13/2010 05

Re: [daemon] Unable to find Java Runtime Environment

2010-09-13 Thread Mladen Turk
On 09/13/2010 05:43 PM, Michael Hagedorn wrote: Thanks for the quick answer! To pick up the java.exe by registry would be great too. I don't want to care about JAVA_HOME. If user upgrades JRE service should still work. In case of jvm.dll it will. Why not with java.exe? Indeed, why not. Alth

Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-13 Thread Siegfried Goeschl
Hi Mohammed, added the following test /** * Call a script to dump the environment variables of the subprocess * after adding a custom environment variable. * * @throws Exception the test failed */ public void testAddEnvironmentVariables() throws Exception {

Re: [vfs] (trunk) webdav auth challenges not provided credentials

2010-09-13 Thread David Hausladen
In that case, don't worry about it.  I notice that one of you guys asked about test cases...I haven't had time to put them together, so I understand.  And I'm only buried on the work front. From: Ralph Goers To: Commons Users List Sent: Fri, September 10, 201

Building Apache VFS with sandbox

2010-09-13 Thread Patel, Ronak Avinash (US SSA)
Hi All, I'm getting a lot of problems in trying to build Apache VFS 1.0 from the SVN trunk. The errors I'm getting are about missing dependencies and such which are completely outdated jar files such as: Missing: -- 1) slide:jakarta-slide-webdavlib:jar:20050629.161100 Try downloadin

Re: Building Apache VFS with sandbox

2010-09-13 Thread sebb
On 14 September 2010 02:15, Patel, Ronak Avinash (US SSA) wrote: > Hi All, > > I'm getting a lot of problems in trying to build Apache VFS 1.0 from the SVN > trunk. > > The errors I'm getting are about missing dependencies and such which are > completely outdated jar files such as: > > Missing: