JTS warnings/performance issue
cdn2f Oct 24, 2007 10:37 AMWe are trying to integrate a J2EE app that encompasses two ears that are on separate JVMs. A common interaction would be session bean A on JVM1 calls session bean B on JVM2 which in turn calls session bean C on JVM1, all in one distributed transaction.
When we intially ported this from weblogic to JBossAS 4.2.0GA, we noticed that distributed transactions were not being honored. Reading up some more it was due to us not having JTS for JBoss. So we installed JBOSSTS_4_3_0_BETA2 to and configured our app server to use JTS (we followed the install instructions verbatim with the exception that we had to copy over the jacorb.jar that was part of the JTS package to our app server).
Now when running the app server I see the following warnings:
2007-10-24 06:44:39,730 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.cwcommit] Failed to mark transaction as rollback only:
org.omg.CosTransactions.Unavailable: IDL:omg.org/CosTransactions/Unavailable:1.0
at com.arjuna.ats.internal.jts.ControlWrapper.rollback_only(ControlWrapper.java:344)
at com.arjuna.ats.internal.jts.ControlWrapper.preventCommit(ControlWrapper.java:168)
at com.arjuna.ats.arjuna.coordinator.TransactionReaper.doCancellations(TransactionReaper.java:714)
at com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread.run(ReaperWorkerThread.java:91)
2007-10-24 06:44:39,730 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.cwcommit] Failed to mark transaction as rollback only:
org.omg.CosTransactions.Unavailable: IDL:omg.org/CosTransactions/Unavailable:1.0
at com.arjuna.ats.internal.jts.ControlWrapper.rollback_only(ControlWrapper.java:344)
at com.arjuna.ats.internal.jts.ControlWrapper.preventCommit(ControlWrapper.java:168)
at com.arjuna.ats.arjuna.coordinator.TransactionReaper.doCancellations(TransactionReaper.java:714)
at com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread.run(ReaperWorkerThread.java:91)
2007-10-24 06:44:39,730 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.cwcommit] Failed to mark transaction as rollback only:
org.omg.CosTransactions.Unavailable: IDL:omg.org/CosTransactions/Unavailable:1.0
at com.arjuna.ats.internal.jts.ControlWrapper.rollback_only(ControlWrapper.java:344)
at com.arjuna.ats.internal.jts.ControlWrapper.preventCommit(ControlWrapper.java:168)
at com.arjuna.ats.arjuna.coordinator.TransactionReaper.doCancellations(TransactionReaper.java:714)
at com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread.run(ReaperWorkerThread.java:91)
Could someone give me insight as to what they mean? Our application seems to be in a consistent state and it is puzzling as to what the TransactionReaper thread is trying to rollback. Is it just an expected warning (we see hundreds of these)?
Another issue is that our performance has been horrible (10x slower that with just JTA out of the box). Is this expected?
Thanks in advance.