Ole has submitted some significant enhancements to the Tx implementation, these are the ones that were missing for BETA-PROD... Thank you very much, I will review and integrate, kind regards marc -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ole Husgaard Sent: Thursday, September 07, 2000 3:22 PM To: marc fleury Subject: Re: [jboss-user] transaction manager problem ... marc fleury wrote: > > can you quickly describe what is fixed on jboss-dev? You mean what is fixed in the org.jboss.tm package? I've done these: - Made rollback rollback any XA resources. - Made TxCapsule thread-safe. - Made various TxCapsule throw the exceptions they should according to the JTA spec. (That included declaring a few more throw clauses to signatures in TxManager and TransactionImpl.) - Proper handling of heuristic decisions, and throwing heuristic exceptions. - Implementation of timeouts. This is still on the TODO list: - Implement saving of commit decision to stable storage and recovery after server crash. This is a big job and can significantly slow down commit. Should probably be an option. Unless the server can give me references to all the XA resources that were registered at the time the server crashed when the server restarts and the JTA package should do recovery, this last item seem impossible to me. But when we get IIOP in jBoss, we could do JTA on top of JTS and implement recovery. I have also hidden the TxCapsule as much as possible. I hope to be able to reuse instances (and their collections) of this class at some time in the future. Best Regards, Ole Husgaard. > > marc > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Ole Husgaard > > Sent: Thursday, September 07, 2000 2:52 PM > > To: marc fleury > > Subject: Re: [jboss-user] transaction manager problem ... > > > > > > Hi, > > > > Haven't got CVS login yet, so... > > > > I've made a small 11Kb tarball with the org.jboss.tm package I've been > > working with. This tarball also contains a new package > > org.jboss.util.timeout, as I think timeouts are needed elsewhere in jBoss. > > > > You can find it on http://www.sparre.dk/unpublished/jbosstest.tar.gz > > > > The org.jboss.tm package seems to run fine, but timeouts still need some > > more testing. > > > > Feel free to use, commit or whatever. > > > > > > Best Regards, > > > > Ole Husgaard. > > > > > > marc fleury wrote: > > > > > > That's interesting it seems the TxMan that are bound and the > > TxMan used by > > > the container are different instances hence your vows.... > > > > > > will track this down to startup probably, hold on > > > > > > marc > >
