[jboss-dev-forums] [Design of JCA on JBoss] - JBAS-3632

Jeff Zhang do-not-reply at jboss.com
Tue May 6 03:13:04 EDT 2008


I am looking this JIRA.

(In CachedConnectionManager)
If CloseConnectionSynchronization had been registered into TransactionSynchronizer, TM timout and afterCompletion method should be callback and close the current connections.

This is JIRA case, am I right?

But in runtime debug time, breakpoint in CloseConnectionSynchronization:afterCompletion() can not execute.
Only in closeAll(), CloseConnectionSynchronization have change to register itself. 

Iit is hard to reproduce for this testcase, could someone give me some suggestion? Thanks


  |                CloseConnectionSynchronization cas = (CloseConnectionSynchronization) TransactionSynchronizer.getCCMSynchronization(tx);
  |                if (cas == null && createIfNotFound && TxUtils.isActive(tx))
  |                {
  |                   cas = new CloseConnectionSynchronization();
  |                   TransactionSynchronizer.registerCCMSynchronization(tx, cas);
  |                }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148734#4148734

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148734



More information about the jboss-dev-forums mailing list