-
1. Re: Can not get Local JTA recovery sample working on JBoss 4
marklittle Oct 10, 2008 5:16 AM (in response to szhigunov)Did you follow the instructions exactly, using the right version of each software component?
-
2. Re: Can not get Local JTA recovery sample working on JBoss 4
szhigunov Oct 10, 2008 12:31 PM (in response to szhigunov)I got it working.
I could not follow instructions directly since I am using JBoss 4.2.2 and JBossTSRecoveryInAS Wiki is talking about older version JBoss 4.0.
I tried it again on the clean JBoss 4.2.2 installation - and it worked. Before I deployed the sample on the JBoss 4.2.2 which we built for our app (it has some configuration changes), and it did not work, as I described below.
Now I will try to narrow the configuration differences to find out what causes the recovery problem in our build.
Thanks for the response, the sample is working. -
3. Re: Can not get Local JTA recovery sample working on JBoss 4
szhigunov Oct 10, 2008 6:21 PM (in response to szhigunov)Actually I found what caused the problem. The instructions on the Wiki says:
"
enable: property name="com.arjuna.ats.arjuna.recovery.recoveryExtension5" value="com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule"
You can remove the other entry as we do not need it for this example.
"
JBoss 4.2.2 comes with the following properties enabled:
property name="com.arjuna.ats.arjuna.recovery.recoveryExtension1" value="com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule"
property name="com.arjuna.ats.arjuna.recovery.recoveryExtension2" value="com.arjuna.ats.internal.txoj.recovery.TORecoveryModule"
property name="com.arjuna.ats.arjuna.recovery.recoveryExtension3" value="com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule"
As soon as you remove the first two properties (as suggested by Wiki) the sample is not working: recovery does not happen. When all three properties present - the recovery works. -
4. Re: Can not get Local JTA recovery sample working on JBoss 4
adinn Oct 13, 2008 4:14 AM (in response to szhigunov)Hmm, you are looking at an out of date wiki entry. If you refer to the later wiki entry for JBossTSRecovery at https://www.jboss.org/community/docs/DOC-10788 you will see that this has been corrected to say the following
You can remove the jts XARecoveryModule as it is not needed in this example. -
5. Re: Can not get Local JTA recovery sample working on JBoss 4
marklittle Oct 13, 2008 6:31 AM (in response to szhigunov)Yes, plus "You can remove the other entry as we do not need it for this example. " didn't mean remove all other entries, just the *other* XARecoveryModule entry.
-
6. Re: Can not get Local JTA recovery sample working on JBoss 4
szhigunov Oct 14, 2008 9:38 AM (in response to szhigunov)Thanks for clarification. The Wiki entry I am looking at is:
https://www.jboss.org/community/docs/DOC-10789.
It is JBossTSRecoveryInAS. The DOC-10788 is about stand-alone deployment. -
7. Re: Can not get Local JTA recovery sample working on JBoss 4
objectswitch Nov 26, 2008 1:37 PM (in response to szhigunov)
Please note, the examples referenced from this page: http://www.jboss.org/community/docs/DOC-10789
no longer exist. Broken link is: http://wiki.jboss.org/wiki/attach?page=JBossTSRecoveryInAS%2Frecoveryas_local.tar.gz -
8. Re: Can not get Local JTA recovery sample working on JBoss 4
jhalliday Nov 27, 2008 6:14 AM (in response to szhigunov)The examples do still exist and the links to them at the bottom of the page still work. The links in-lined in the article text broke when the wiki software got 'upgraded'. I've fixed them. Thanks for letting us know.