testrot [
http://community.jboss.org/people/testrot] replied to the discussion
"Can't build JBOSSTS_4_6_1_GA_CP05"
To view the discussion, visit:
http://community.jboss.org/message/550639#550639
--------------------------------------------------------------
Hello Andrew, hello Jonathan,
first of all sorry for posting to the wrong forum. If I have another question I will use
the user forum.
I wanted to build JBOSSTS_4_6_1_GA_CP05 because right now I am using JBoss Application
Server 5.1.0.GA with the included version of JBossTS (I think it is 4.6.1.GA) and I'm
trying to get failure recovery to work with MS SQL Server 2005/2008 for about 2 weeks now
and still get this nasty warnings:
2010-07-01 18:07:28,251 WARN [com.arjuna.ats.jta.logging.loggerI18N]
(WorkerThread#0[10.3.4.122:2557])
[com.arjuna.ats.internal.jta.resources.arjunacore.commitxaerror]
[com.arjuna.ats.internal.jta.resources.arjunacore.commitxaerror] XAResourceRecord.commit -
xa error XAException.XAER_RMERR
I guess the above warning is ok, because I intentionally shutdown the SQL Server right
after the prepare and before the commit phase, to simulate a problematic DB shutdown.
But the following warnings should not appear. Even worse the MS SQL database is not
reachable anymore and marked as "suspect" if a recovery is not made after
restarting SQL Server within 1-2 minutes.
2010-07-01 18:07:35,626 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-19)
[com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got
XA exception javax.transaction.xa.XAException: Fehler bei der Funktion 'RECOVER:'.
Status: '-3'. Fehler: '*** SQLJDBC_XA DTC_ERROR Context: xa_recover, state=1,
StatusCode:-3 (0xFFFFFFFD) ***'., XAException.XAER_RMERR
2010-07-01 18:07:55,672 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-19)
[com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa]
[com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new
XAResource to use for recovering non-serializable XAResource < 131075, 25, 23,
494597485148525597585756101585299509998985598589749974851485255975857561015852995099989855985897101
>
Yes, I configured the AppServerJDBCXARecovery module :-) :
<property name="com.arjuna.ats.jta.recovery.XAResourceRecoveryJDBC"
value=
"com.arjuna.ats.internal.jbossatx.jta.AppServerJDBCXARecovery;jndiname=MY_DS,username=test,password=test"/>
So I thought to myself this must be a bug because others use JBoss AS with failure
recovery and wanted to apply the latest patches.
Jonathan, you wrote, that +the CP lines are maintenance branches for the platform, not the
project+ and that there are binary builds available. I don't understand your
statement. Do you mean the CP01-CP05 builds can't be used with JBoss AS 5.1.0.GA?
Where are the binaries? I can not find them at the download section
http://www.jboss.org/jbosstm/downloads.html http://www.jboss.org/jbosstm/downloads.html.
Regards,
Martin
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/550639#550639]
Start a new discussion in JBoss Transactions Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]