Correct, but I have rewritten as follows for jboss-3.2.6:
Any error at this point is unrecoverable so we should destroy the connection
using the principle of "fail early".
| try
| {
| unregisterAssociation(this, ce.getConnectionHandle());
| boolean isFree = isManagedConnectionFree();
| if (trace)
| log.trace("isManagedConnectionFree=" + isFree + " mc=" +
this.getManagedConnection());
| //no more handles
| if (isFree)
| {
| delist();
| returnManagedConnection(this, false);
| }
| }
| catch (Throwable t)
| {
| log.error("Error while closing connection handle!", t);
| returnManagedConnection(this, true);
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841599#3841599
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841599
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user