Bugs item #600800, was opened at 2002-08-27 09:56 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=600800&group_id=22866
Category: JBossTX Group: v3.0 Rabbit Hole Status: Open Resolution: None >Priority: 5 Submitted By: Brian Johnson (johnsbrn) Assigned to: Nobody/Anonymous (nobody) Summary: XA Resources not enlisted in UserTransac Initial Comment: In jboss 3.x, jdk1.4 on W2K, when a transaction is started in a Servlet using the UserTransaction interface, XA resources aquired in new threads created by the servlet are not enlisted in the transaction. J2EE.4.2.3 Transactions and Threads There are many subtle and complex interactions between the use of transactional resources and threads. To ensure correct operation, web components should obey the following guidelines, and the web container must support at least these usages. � JTA transactions should be started and completed in the thread in which the service method is called. Additional threads that are created for any purpose, should not attempt to start JTA transactions. � Transactional resources may be acquired and released by a thread other than the service method thread, but should not be shared between threads. I have attached a simple war file that demonstrates the problem. In this case, the insert statement in the service thread is rolled back, but the insert in the TestThread is not. I have tested this with the standard jboss transaction service and tyrex and the result is the same in both. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=600800&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
