XA transaction failure with 3 involved servers
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
