[jbosscache-issues] [JBoss JIRA] Updated: (JBCACHE-1424) JDBCCacheLoader does not close ConnectionFactory

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Oct 23 13:59:21 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBCACHE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani updated JBCACHE-1424:
-----------------------------------

    Fix Version/s: 3.0.0.CR2


> JDBCCacheLoader does not close ConnectionFactory
> ------------------------------------------------
>
>                 Key: JBCACHE-1424
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1424
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Cache loaders
>    Affects Versions: 2.2.0.GA, 2.2.1.CR1, 3.0.0.CR1
>            Reporter: Krzysztof Sobolewski
>            Assignee: Manik Surtani
>             Fix For: 2.2.1.CR2, 2.2.1.GA, 3.0.0.CR2, 3.0.0.GA
>
>         Attachments: AdjListJDBCCacheLoader.java.patch
>
>
> Maybe I don't understand something, but I think this is a bug that the method AdjListJDBCCacheLoader.stop() closes the ConnectionFactory only if the config.getDropTable() option is set to true. I don't want to drop my table, but I want to close the ConnectionFactory (because C3P0 won't unregister itself and I get a MBean leak after restart of my component).
> My guess is that the try block was misplaced.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list