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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...