How are you controlling transactions? I suggest you use UserTransaction or, better still, CMT. I think there are no guarantees about using an adapters cci LocalTransaction across ejb method calls.
The spi LocalTransaction or an xa transaction is associated with the ManagedConnection. If you use the local tx ConnectionManager or the xa one with track-connections-by-tx all connection handles you obtain within a transaction will be associated with the same ManagedConnection instance and thus will be within that transaction. Using UserTx or CMT you should be able to obtain and close connection handles at any time with no effect on which transaction is in effect. david jencks /********************************** * David Jencks * Partner * Core Developers Network * http://www.coredevelopers.net **********************************/ On 2003.06.10 22:27 Brian Wallis wrote: > On Wed, 11 Jun 2003 11:16, Brian Wallis wrote: > > > Searched the source instead. In jboss-jca.sar/META-INF/jboss-service.xml > is > > the configuration of the CachedConnectionManager and the parameter > > SpecCompliant is set to false. I think that if I make it true then the > > connections will not be closed. ie: > > And it seems to work. My connections remain open for the duration of the > transaction and I close them in afterCompletion() on the bean. > > Thanks for the help, but I'm still not sure if I'm doing the right thing > here > wrt transactions and JCAs. > > brian... > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user