-
1. Re: How to implement
marklittle Jun 10, 2006 5:38 AM (in response to pras90)First of all I'd recommend that you install JBoss Transactions. There's a section in the manuals about LRCO.
-
2. Re: How to implement
pras90 Jun 13, 2006 9:20 AM (in response to pras90)Thanks! Which jar contains the marker interface com.arjuna.ats.jta.resources.LastResourceCommitOptimisation? I downloaded jbossts-full-4.2GA.zip and scanned it and could not find the class file. I was able to locate StartXAResource and EndXAResource in jbossjta.jar.
-
3. Re: How to implement LRCO
pras90 Jun 13, 2006 12:08 PM (in response to pras90)I dug further and found the marker interface org.jboss.tm.LastResource. The javadoc for that indicates that it can be used to tag a non xa resource. Is that the one I should use?
In the programer guide, a different marker interface is specified which as I mentioned in my prev post I have not success locating in any jar.
http://labs.jboss.com/portal/jbosstm/docs/4.2/manuals/html/jta/ProgrammersGuide.html#_Toc127078007In order to use the LRCO, your XAResource implementation must extend the com.arjuna.ats.jta.resources.LastResourceCommitOptimisation marker interface..
-
4. Re: How to implement
marklittle Jun 13, 2006 1:10 PM (in response to pras90)The manuals are wrong: that interface was removed during the move from Arjuna to JBoss for IP reasons. We'll be adding it back at some stage. I've added a JIRA issue if you want to vote on it http://jira.jboss.com/jira/browse/JBTM-87