Unknown property 'property1'?

2009-11-12 Thread Syed Muhammad Humayun
Hi, I defined a bean: public class MyBean { private String property1; public String getProperty1 () { return this.property1; } public void setProperty1 (String property1) { this.property1 = property1; } } And, when I call following on 'MyBean'; ... MyBean mybean = new My

Re: Dependency between DBCP and POOL?

2009-11-12 Thread Phil Steitz
Wes Clark wrote: > I am using the latest stable release of DBCP, 1.2.2, but an older > version of Pool, 1.2. I see there are several new versions of Pool > release, the latest being 1.5.3. Is there a dependency between DBCP and > Pool? Yes, DBCP depends on pool. Can I or should I upgrade to

[ANNOUNCEMENT] Apache Commons DbUtils 1.3 Released

2009-11-12 Thread Dan Fabulich
The Commons DbUtils team is pleased to announce the commons-dbutils-1.3 release! DbUtils is a package of Java utility classes for easing JDBC development. Changes in this version include: New features: o Java 1.5 generics and varargs Issue: DBUTILS-48. Fixed Bugs: o Fixed error message in

Dependency between DBCP and POOL?

2009-11-12 Thread Wes Clark
I am using the latest stable release of DBCP, 1.2.2, but an older version of Pool, 1.2. I see there are several new versions of Pool release, the latest being 1.5.3. Is there a dependency between DBCP and Pool? Can I or should I upgrade to latest version of Pool?

[ANNOUNCEMENT] Apache Commons Exec 1.0.1 Released

2009-11-12 Thread Siegfried Goeschl
The commons-exec-team is pleased to announce the commons-exec-1.0.1.jar release! A library to reliably execute external processes from within the JVM Changes in this version include: Fixed Bugs: o On a Mac, the unit tests never finish. Culprit is InputStreamPumper which sets its stop member in t

Re: DBCP deadlock

2009-11-12 Thread Wm.A.Stafford
Marc, I used the following to track down a connection leak when using an older version of DBCP. I have not used it with later versions but I believe some of the DBCP methods seen here have been removed. This method was called after each call to open() and we saw the number of active connecti

Re: DBCP deadlock

2009-11-12 Thread Marc Logemann
But in my view, connection leak means, i am not closing SQL connections (apart form the fact that i checked this) but then these connections would be "in use" by the pool and also "in use" by the the server jobs that hold the connections. But thats not the case. The "server jobs" may have

Re: DBCP deadlock

2009-11-12 Thread Phil Steitz
Marc Logemann wrote: > > > >>> because as i said, there a 3 of 30 DB connections active on the DB >>> Server. >> >> Which indicates that you likely have a connection leak. >> > > > But in my view, connection leak means, i am not closing SQL connections > (apart form the fact that i checked thi

Re: DBCP deadlock

2009-11-12 Thread Marc Logemann
because as i said, there a 3 of 30 DB connections active on the DB Server. Which indicates that you likely have a connection leak. But in my view, connection leak means, i am not closing SQL connections (apart form the fact that i checked this) but then these connections would be "in

Re: DBCP deadlock

2009-11-12 Thread Mark Thomas
Marc Logemann wrote: > Hi, > > its a deadlock as also Cyrille pointed out. No, it isn't. > There is no exhaustion Yes there is. Look at the source code for the line you quoted: at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:810) That is the wait() call i

Re: DBCP deadlock

2009-11-12 Thread Olivier Lamy
Hi, I had similar issue (probably due to https://issues.apache.org/jira/browse/DBCP-44). You have to upgrade commons-pool version. -- Olivier 2009/11/12 James Carman : > That's the version of commons-dbcp (which is current).  What version > of commons-pool are you using? > > On Thu, Nov 12, 2009

RE: VFS: Release 1.1

2009-11-12 Thread Ayasse, Mark
I was hoping to get a version with the fix to VFS-120 . When is VFA 2.0 projected to be released? Mark Ayasse, VFA -Original Message- From: Ralph Goers [mailto:ralph.go...@dslextreme.com] Sent: Wednesday, November 11, 2009 1:04 PM To: Commons Users List Subject: Re: VFS: Release 1.1 O

Re: DBCP deadlock

2009-11-12 Thread Mark Thomas
Marc Logemann wrote: > Uh sorry, misread that. Commons-pool is at 1.3. As i said, i am using > ivy/maven to resolve that stuff and since i am not explicitely grabbing > commons-pool, 1.3 was pushed in because of dependency definition of > commons-dhcp 1.2.2 I don't see a deadlock in the thread du

Re: DBCP deadlock

2009-11-12 Thread Marc Logemann
Uh sorry, misread that. Commons-pool is at 1.3. As i said, i am using ivy/maven to resolve that stuff and since i am not explicitely grabbing commons-pool, 1.3 was pushed in because of dependency definition of commons-dhcp 1.2.2 --- regards Marc Logemann http://www.logemann.org http://www

Re: DBCP deadlock

2009-11-12 Thread James Carman
That's the version of commons-dbcp (which is current). What version of commons-pool are you using? On Thu, Nov 12, 2009 at 4:11 AM, Marc Logemann wrote: > Uhh forgot mention this. Seems i am using 1.2.2 ... quite old isnt it? I am > using Maven Central for JAR management and 1.2.2 is the latest

Re: DBCP deadlock

2009-11-12 Thread Marc Logemann
Uhh forgot mention this. Seems i am using 1.2.2 ... quite old isnt it? I am using Maven Central for JAR management and 1.2.2 is the latest over there. Is there a better repository for Commons-DBCP somewhere? --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 12.1

Re: DBCP deadlock

2009-11-12 Thread Cyrille Roy
Hi, which version of common_pool are you using ? there is a synchronization issue on 1.3 version, which has been fixed on 1.4 See http://www.docjar.com/html/api/org/apache/commons/pool/impl/GenericObjectPool.java.html or get the source 1.4 source 911 public Object borrowObject() throws

DBCP deadlock

2009-11-12 Thread Marc Logemann
Hi, we are facing some deadlocks in production situation with DBCP. We analyzed it a bit and even though there are way much lower connections than the pool should be able to handle (real DB sessions on db server = 3, maxActive in DBCP defined as 30) DBCP is not giving back any more connec