Connection leak if failure to setup connection in jms inbound resource adapter
------------------------------------------------------------------------------
Key: JBAS-4625
URL:
http://jira.jboss.com/jira/browse/JBAS-4625
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMS service
Affects Versions: JBossAS-4.2.1.GA
Reporter: Adrian Brock
Assigned To: Adrian Brock
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA
The jms inbound resource adapter is leaking connections if there is an error
setting up the connection.
In pseudo code in setup[Queue|Topic]Connection
{
...
+ try
+ {
if (clientID != null)
result.setClientID(clientID);
result.setExceptionListener(this);
log.debug("Using topic connection " + result);
return result;
+ }
+ catch (Throwable t)
+ {
+ result.close();
+ throw t;
+ }
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira