Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 429589555 for ; Thu, 1 Mar 2012 20:58:23 +0000 (UTC) Received: (qmail 48657 invoked by uid 500); 1 Mar 2012 20:58:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48582 invoked by uid 500); 1 Mar 2012 20:58:22 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 48573 invoked by uid 99); 1 Mar 2012 20:58:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 20:58:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 20:58:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9486F3116 for ; Thu, 1 Mar 2012 20:57:59 +0000 (UTC) Date: Thu, 1 Mar 2012 20:57:59 +0000 (UTC) From: "Oliver Heger (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <1087307449.8780.1330635479609.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1155915548.5958.1330571163294.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CONFIGURATION-483) DatabaseConfiguration unclosed resultset MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220356#comment-13220356 ] Oliver Heger commented on CONFIGURATION-483: -------------------------------------------- Thanks for spotting this. Obviously, there are multiple methods affected: * containsKey() * getKeys() * gerProperty() * isEmpty() > DatabaseConfiguration unclosed resultset > ---------------------------------------- > > Key: CONFIGURATION-483 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-483 > Project: Commons Configuration > Issue Type: Bug > Components: Build > Affects Versions: 1.6, 1.7, 1.8 > Environment: Any > Reporter: Alx P > Priority: Minor > Original Estimate: 24h > Remaining Estimate: 24h > > An error ocurred when invoking method DatabaseConfiguration.close because the resultset is not closed. > ERROR: [PoolConnection@19859608] close() : Got 1 unclosed ResultSets ! > uk.org.primrose.pool.core.PoolConnection.checkAndCloseResultSets(PoolConnection.java:46) > uk.org.primrose.pool.core.PoolConnection.close(PoolConnection.java:133) > org.apache.commons.configuration.DatabaseConfiguration.close(DatabaseConfiguration.java:596) > org.apache.commons.configuration.DatabaseConfiguration.containsKey(DatabaseConfiguration.java:394) > org.apache.commons.configuration.CompositeConfiguration.getProperty(CompositeConfiguration.java:190) > org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1160) > org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1035) > org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1018) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira