[jboss-jira] [JBoss JIRA] Created: (JBAS-6149) connectionMap.remove in WrapperDatasourceService never called
Ludwig Adam (JIRA)
jira-events at lists.jboss.org
Tue Oct 28 12:53:21 EDT 2008
connectionMap.remove in WrapperDatasourceService never called
-------------------------------------------------------------
Key: JBAS-6149
URL: https://jira.jboss.org/jira/browse/JBAS-6149
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JCA service
Affects Versions: JBossAS-4.2.3.GA, JBossAS-4.2.2.GA
Environment: JBossAS 4.2.2 running on Linux with a remoting enabled Datasource. (postgres used in the environment)
Reporter: Ludwig Adam
Assignee: Jesper Pedersen
When providing remote datasources to the client WrapperDataSourceService adds a reference to a private Hashtable connectionMap.
These references are never removed. In previous versions connectionMap.remove() has been called during the doConnectionMethod()-Method, however this is not present any longer in current versions (at least >= 4.2.2GA) for unknown reasons.
Therefore the references to these Connections are never removed therefore the Datasources are never gc'ed therefore this is a memory leak in the heap space.
Please see the forum reference for details.
--
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 jboss-jira
mailing list