Oliver Zeigermann wrote:
Hi Alejandro,
this really is impressive work!
I went the other way round and added Slide into the J2EE transaction using a JCA compliant connector. I did this as external transactions were needed for the projector framework (which will be part of Slide 2.1) anyhow and adding a connector was pretty easy compared to the external transaction part.
What exactly are the problems with roll backs in your solution?
Anyhow, I understand you want to donate your work to the ASF so I will add it to the Slide CVS. OK?
I had a look at your work and I am no longer sure if you wanted to donate it as it has a non-apache package name in it.
Concerning problems with roll backs: I never really trusted AbstractService and never used it thus. This may be entirely caused by ignorance. Maybe its authors can comment on this.
Anyway, looking a the rollback method: it tries to find out the transaction context associated with the current thread and tries to roll back that one. While this should work most of the time with Slide, I understand JTA - but I am not entirely sure, can someone cross check? - does not require the rollback method to be called in the thread assoiciated with the context to be roll back. Because of that the rollback method gets passed the Xid with which you can find the context.
I had this other XAResource implementation taken from the (yet not officially released) commons transaction package that accounts for that which works fine in the JCA connector and JBoss.
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
