[dna-issues] [JBoss JIRA] Resolved: (DNA-608) RepositoryConnectionPool.ConnectionWrapper.close Closes the Underlying Connection

Brian Carothers (JIRA) jira-events at lists.jboss.org
Thu Dec 31 17:44:30 EST 2009


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

Brian Carothers resolved DNA-608.
---------------------------------

    Resolution: Done


No, you were right; that was my bad.  I missed the line that offered back a new ConnectionWrapper instead of the old one in returnConnection.  Knowing that, taking out the close flag was the wrong thing to do.  Thanks for catching that!

Committed patch to resolve defect.

> RepositoryConnectionPool.ConnectionWrapper.close Closes the Underlying Connection
> ---------------------------------------------------------------------------------
>
>                 Key: DNA-608
>                 URL: https://jira.jboss.org/jira/browse/DNA-608
>             Project: DNA
>          Issue Type: Bug
>          Components: Connectors, Graph
>    Affects Versions: 0.6
>            Reporter: Brian Carothers
>            Assignee: Brian Carothers
>             Fix For: 0.7
>
>         Attachments: DNA-608.patch, DNA-608_Take_2.patch
>
>
> The RepositoryConnectionPool.ConnectionWrapper.close method is calling close on the underlying connection and then returning it to the available pool.  However, after being closed, the underlying connection is no longer valid and cannot be used.  

-- 
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 dna-issues mailing list