1 Reply Latest reply on Nov 20, 2008 9:03 AM by Michael Musgrove

    Transaction Propagation between two JBOSS Servers

    Pradeep Devireddy Newbie

      hi,

      We have two Jboss server instances running EJBs. Server A writes a record into the Oracle Database. Then, it makes a remote EJB call to Server B. The original transaction on Server A has not committed yet. On Server B, the EJB gets a new Connection and is not able to find the record that was inserted from Server A.

      Both servers connect to the same database. Both of them use "com.arjuna.ats.jbossatx.jta.TransactionManagerService".
      EJB are declared as "Transaction Required".

      In the log of Server B, i see the following message related to Transaction Propagation:

      2008-11-19 12:39:09,672 DEBUG [com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager] PropagationContextManager.importTransactionPropagationContext(Object) - called tpc = a0a328c:61f:492450f7:e6a
      2008-11-19 12:39:09,672 DEBUG [com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager] PropagationContextManager.importTransactionPropagationContext(Object) - transaction = null
      2008-11-19 12:39:09,688 DEBUG [com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager] PropagationContextManager.importTransactionPropagationContext(Object) - called tpc = a0a328c:61f:492450f7:e6a
      2008-11-19 12:39:09,688 DEBUG [com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager] PropagationContextManager.importTransactionPropagationContext(Object) - transaction = null

      Any help is greatly appreciated.

      Thanks
      Pradeep
      pdevireddy@saracenenergy.com