[ http://issues.apache.org/jira/browse/COCOON-1441?page=all ]
Vadim Gritsenko closed COCOON-1441.
-----------------------------------
Fix Version/s: 2.2-dev (Current SVN)
2.1.10-dev (current SVN)
Resolution: Fixed
provided version removes conditional retrieval of the database resource (based
on last-modified), so can not be incorporated. Some other suggestions, such as
caching database resource component, are incorporated.
if setup() is still called twice per cocoon invocation, this is a bug in the
core which has to be fixed.
> [Patch] Resource leak in DatabaseReader
> ---------------------------------------
>
> Key: COCOON-1441
> URL: http://issues.apache.org/jira/browse/COCOON-1441
> Project: Cocoon
> Issue Type: Bug
> Components: - Components: Sitemap
> Affects Versions: 2.1.8
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: Gregor J. Rothfuss
> Assigned To: Cocoon Developers Team
> Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>
> Attachments: FrugalDatabaseReader.java
>
>
> The DatabaseReader does not close the database connection in all cases, which
> leads to a leak over time. The attached patch addresses this by being much
> more
> frugal.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira