commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34539] - [dbcp] Deadlock when evicting dbcp objects (testWhileIdle=true)
Date Sun, 12 Feb 2006 20:10:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34539>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34539


Sandy@McArthur.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://svn.apache.org/viewcv
                   |                            |s.cgi/jakarta/commons/proper
                   |                            |/dbcp/trunk/src/java/org/apa
                   |                            |che/commons/dbcp/PoolingConn
                   |                            |ection.java?view=markup
          Component|Pool                        |Dbcp
            Summary|[pool] Deadlock when        |[dbcp] Deadlock when
                   |evicting dbcp objects       |evicting dbcp objects
                   |(testWhileIdle=true)        |(testWhileIdle=true)
            Version|1.2 Final                   |unspecified




------- Additional Comments From Sandy@McArthur.org  2006-02-12 21:10 -------
After sleeping on it I'm convinced this is a DBCP problem.

DBCP needs to be careful about syncronization on it KeyedPoolableObjectFactory
implementations. Specificly it needs to pay attention to the fact that the
ObjectPool's evictor aquires the sync lock for the ObjectPool first and then may
call the following methods in KeyedPoolableObjectFactory: activateObject,
validateObject, and passivateObject. I'm not familiar with DBCP else I'd try to
be  more specific.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message