[
https://jira.jboss.org/jira/browse/DNA-608?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-608:
--------------------------------
Attachment: DNA-608_Take_2.patch
Sorry. I completely missed the !this.availableConnections.offer(new
ConnectionWrapper(wrapper.getOriginal()) part in returnConnection.
Attached a new patch that returns the closed flag and the related checks to the
ConnectionWrapper class. Please let me know if this one is better.
Thanks!
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