This content has been marked as final.
Show 1 reply
-
1. Re: Basic understanding of JCA-Workflow
vickyk Oct 9, 2009 2:58 AM (in response to leolo)"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.