commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-483) DatabaseConfiguration unclosed resultset
Date Thu, 01 Mar 2012 20:57:59 GMT

    [ 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

        

Mime
View raw message