|
From: Juergen H. <ju...@in...> - 2005-06-17 19:30:51
|
Hi Dave, That's indeed odd, in particular as Spring does not explicitly associate JTA transactions with the current thread (of course the JTA provider itself will use ThreadLocals underneath). The only thing that could be bound to the thread by Spring within a JTA transaction is a transactional resource, such as a JDBC Connection or a Hibernate Session. Such resources should _always_ get removed from the thread by Spring's corresponding synchronization classes, though: So if such a resource would be the root cause, this would mean some bug in Spring's resource cleanup code. If you can track down any details, I'm gonna address this immediately (even during the weekend). It would be great to clarify this before the upcoming Spring 1.2.2 release... Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Dave Ballard Sent: Friday, June 17, 2005 7:06 PM To: spr...@li... Subject: [Springframework-developer] Stale JTA transaction still attached to a tread Hi Juergen, Using Spring 1.2.1 with JtaTransactionManager with WebLogic 6.1. A review of my logs showed a large number of JTA timeouts. The odd thing is that the timeouts seem all to be occurring on the same thread. What WebLogic reports as the transaction ID is always the same. It appears to me that there is stale Spring JTA transaction attached to this particular thread. Each time WebLogic releases this thread to a request, and attempts to run some SQL (via Spring), it gets a JTA timeout with the same transaction ID. I'm about to restart our server, and I expect this to clear up the problem. However, this is a pretty serious problem. I am going to go back through the logs and attempt to locate the root error for this thread. Thanks for your help, Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |