[jboss-user] [JCA] - Re: Basic understanding of JCA-Workflow
vickyk
do-not-reply at jboss.com
Fri Oct 9 02:58:21 EDT 2009
"LeoLo" wrote :
| Or when repository.login(...) in the service-method is called?
|
The connection should be taken when login() is called, you can verify this by looking at the implementation.
"LeoLo" wrote :
| When is the connection released and returned to the pool? (When session-logout is called or when the transaction is committed or ... ?)
|
It should be when session.logou() is called, I would recommend to check the RA implementation from JackRabbit.
"LeoLo" wrote :
| Is it possible, that during a service-method more than one connection may be used?
|
| Any hints and references are really appreciated.
|
I can't make out from the methods calls that multiple connections are being used in the application flow.
You can also look at the ManagedConnectionPool MBean from the jmx-console to see the evolution of the connections in the pool.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259536#4259536
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259536
More information about the jboss-user
mailing list