Patches item #825506, was opened at 2003-10-17 16:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=825506&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Kevin Hawkins (khawkins)
Assigned to: Nobody/Anonymous (nobody)
Summary: NoTxConnectionManager throws exception with IBM IMS JCA RA

Initial Comment:
In JBoss 3.2.2, closing a connection to the IBM IMS JCA 
resource adapter throws an IllegalStateException. This 
appears to be because the managed connection in the 
IMS resource adapter calls connectionClosed with a null 
connection handle in the ConnectionEvent. While this is 
counter to the JCA specification, it has not caused any 
problem in previous JBoss versions or in any of the 
connection managers except for NoTx. This is because 
the connectionClosed event of other connection 
managers call getCcm().unregisterConnection within a 
try/catch block and any throwable results in an INFO 
message, but the unregisterConnection method 
continues. The NoTxConnectionEventListener does not 
use a try/catch block resulting in the method being 
terminated and the exception being propagated to the 
client. It appears that this behavior could result in the 
leak of managed connections.

We have patched the NoTxConnectionEventListener to 
use the same try/catch logic as is used in the 
TxConnectionEventListener.connectionClosed method. 
We have tested this with our full test suite including 
entity, session and message driven beans, as well as 
with the IBM CICS JCA resource adapter and have seen 
no degradation.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=825506&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to