[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
LPS is also an important feature to have for connecting to CICS using cicseci.rar, which is not XA-capable. Thus, at least one CICS transaction may participate within a global transaction. I'm not sure whether Websphere (which does support LPS) is capable of the proper transaction logging/recovery mechanisms as well. Has anybody tested the LPS feature with other J2EE servers yet? johannes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848221#3848221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848221 --- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
Exactly ! It's not perfect, but does the work in most cases. For example combined JMS and database transaction management with some 'more or less' popular Non-XA RDBMS ( e.g. 'MySQL' :-) would greatly benefit from this little extension ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822514#3822514 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822514 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
btw LRCO strikes me as a small benefit, almost a hack. So in the case ONE resource doesn't support XA the XA protocol still works if that resource is last. (woo hoo!) but heck if we can implement it for cheap why not View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822387#3822387 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822387 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
Patrick, High end JTA with all the bells and whistles is one of these things that is used by 20 people in the world and they are eager to pay for it since they got the money. Open Source satisfies the masses. Proprietary fills those expensive niches. Arjuna's business and sole focus is that high end JTA so we are quite glad with that partnership, they provide us with a solution (for pay) in these high end niches, it is expensive but it is worth it. For me to throw 3 of our guys to do that today isn't the best use of our time, nor the best bang FOR OUR COMMUNITY. We got much to do in J2EE 1.4, CMP/Hibernate, JMS, JBoss 4.0, AOP, etc that DO reach the mass market. A high profit niche in JBoss is a good thing for our partners. Arjuna also works with others. Adrian has been working on the JTA and JCA stuff which needed professional work. Mostly JCA 1.5. JMS is another story and Adrian/Bela have been doing work there. JMS solidity/revamp is a priority. JMS is solid in the 3.2X series due to ALOT of work (adrian again). that being said, if you submitted a high end JTA implementation in open source to JBoss we wouldn't refuse it, the same way I wouldn't kick michelle pfeifer out of bed if she crawled in purring like a cat. he he marcf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822386#3822386 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822386 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
I do think that it is of serious worth, because it's better that nothing :-) Or am I wrong ? Annotation Further information on XA and a strategie for including a Non-XA-Resource in a XA transaction ( look for "Doing XA w/out an XA driver: the Last-Resource Gambit) can also be found in a good three-part article at http://www.jroller.com/page/pyrasun/20040113 http://www.jroller.com/page/pyrasun/20040105#xa_exposed and http://jroller.org/page/pyrasun?catname=Java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822055#3822055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822055 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
Mark is correct, the default tm that comes with jboss 3.x does not support LRCO It has been implemented for jboss4, I need to do some more testing on it before backporting to 3.2.x But since we don't do any logging/recovery either, it is open to debate whether the optimization is of any serious worth. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822054#3822054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822054 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
What I described as LRCO is what you've quoted from IBM and Sun. Just some people call them Resources, whereas others call them Participants :-) The principle is the same: the participant/resource that can't do 2PC has to be the *last* one in the first phase to go off and *only* if all other resources either said read-only, or voted to commit too. But like I said, ordering isn't mandated by JTA, so many implementations don't provide this optimisation or others that are possible via ordering. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822039#3822039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822039 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
I'm not sure if LRCO solves the problem. What we need is to have the non-XA (in an XA wrapper) to perform its commit (prepare and commit for the wrapper) at the end of phase 1. This means that it is the last resource for phase 1 but the first resource for phase 2. This way, the resource can behave like a 1-phase commit, since it's performing both phases before any other resources start their phase 2. Ideally, JBoss would allow one non-XA resource to participate in the distributed transaction. Websphere refers to this as "Last Participant": From: http://www-306.ibm.com/software/awdtools/studiointegration/about/simplify.html anonymous wrote : Last participant support provides automated coordination for transactions that include two-phase commit resources and a single one-phase commit resource. This support eliminates hand coding in this scenario and allows you to include one-phase commit resources, common for many legacy and package applications, in real transactions. SunOne implements Last Participant in the way I mentioned above. As long as you don't register more than one non-XA resource, the transaction will be XA. If you try to register a second one, it throws an exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822029#3822029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822029 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JTA on JBoss] - Re: Reordering of resources in commit of XA transaction
I assume what you're after is the Last Resource Commit Optimization, but there may be a couple of things mixed in here. Firstly, you don't have a choice as to what kind of resources are registered with JBoss TM - they have to be implementations of the XAResource interface since you're coming in through JTA. So, and here's where some of the confusion resides, if you want to register a non-XAResource participant but it's still two-phase aware, then you'd have to wrap it in an XAResource and ensure it obeys that protocol. However, if what you've got is a resource (derived from, or wrapped by XAResource again, of course) that isn't two-phase aware, then you do need to LRCO. And fairly obviously you don't necessarily commit on the last resource. Unfortunately it's not a required part of X/Open XA or JTA (JTA doesn't even mention it). Neither is ordering of participants in the transaction's intentions list, which you'd like to do for a number of other reasons. I don't think JBoss TM supports it. If that is the case, the Arjuna+JBoss integration may be worth a look. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822026#3822026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822026 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development