[jboss-user] [JCA/JBoss] - Re: Destroying connection that could not be successfully mat
vickyk
do-not-reply at jboss.com
Wed Jan 23 14:08:40 EST 2008
"daphnaw" wrote :
| What did you mean by "these connections are already matched " ? Where are they matched? Could this be the problem?
They are matched before the free connection is taken from the subpool .
// Determine the pool key for this request
| boolean separateNoTx = false;
| if (noTxSeparatePools)
| separateNoTx = clf.isTransactional();
| Object key = getKey(subject, cri, separateNoTx);
| SubPoolContext subPool = getSubPool(key, subject, cri);
|
| InternalManagedConnectionPool mcp = subPool.getSubPool();
Here is the code
http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPool.java
The MCF's matchManagedConnection(..) should be implemented properly .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122771#4122771
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122771
More information about the jboss-user
mailing list