You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/01/18 23:33:57 UTC
DO NOT REPLY [Bug 50613] New: ConnectionPool.size corruption when
evictions enabled:
https://issues.apache.org/bugzilla/show_bug.cgi?id=50613
Summary: ConnectionPool.size corruption when evictions enabled:
Product: Tomcat Modules
Version: unspecified
Platform: PC
Status: NEW
Severity: major
Priority: P2
Component: jdbc-pool
AssignedTo: dev@tomcat.apache.org
ReportedBy: jnorris10@gmail.com
When (the various forms of) eviction run on the connection pool,
ConnectionPool.size goes negative. This appears to be a concurrency problem.
Attached is a unit test that illustrates the issue.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50613] ConnectionPool.size corruption when
evictions enabled:
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50613
--- Comment #5 from Jeremy Norris <jn...@gmail.com> 2011-01-19 19:11:26 EST ---
Thanks for the quick fix! It's working well.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50613] ConnectionPool.size corruption when
evictions enabled:
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50613
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
OS/Version| |All
--- Comment #1 from Sebb <se...@apache.org> 2011-01-18 21:30:58 EST ---
There's no attachment ...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50613] ConnectionPool.size corruption when
evictions enabled:
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50613
Filip Hanik <fh...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #3 from Filip Hanik <fh...@apache.org> 2011-01-19 15:12:03 EST ---
Thanks for the test case. Looking at it now.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50613] ConnectionPool.size corruption when
evictions enabled:
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50613
--- Comment #2 from Jeremy Norris <jn...@gmail.com> 2011-01-18 22:49:17 EST ---
Created an attachment (id=26513)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26513)
JUnit test case
Diff is against trunk, http://svn.apache.org/repos/asf/tomcat/trunk, 20110118
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50613] ConnectionPool.size corruption when
evictions enabled:
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50613
Filip Hanik <fh...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Filip Hanik <fh...@apache.org> 2011-01-19 16:25:47 EST ---
Bug fixed in r1060998
Thank you for the report and the test case.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org