XA transaction failure with 3 involved servers

Solution In Progress - Updated -

Issue

  • Setup/ call sequence:
    • client invokes EJB A on server A,
    • on server A
      • Container on A starts tx,
      • EJB A updates record in database and
      • invokes remotely EJB B on server B
    • on server B
      • EJB B again invokes a datasource and
      • invokes EJB C on server C,
    • on server C
      • EJB C updates record in database.
  • During invocation/transaction in flight server B crashes and get restarted
  • as some tx-branches get committed while other get rolled-back the outcome is inconsistent.

Environment

  • JBoss Enterprise Application Platform [EAP] 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content