Invoking a remote EJB annotated with @REQUIRES_NEW lead to two-phase commit

Solution In Progress - Updated -

Issue

The setup is as follows:
- A Java standalone client invokes a client EJB in a JBoss server
- The client EJB in the server enlists an XAResource in it's transaction and calls then a EJB on another server which is annotated with @REQUIRES_NEW

The expectation is the the transaction on the client EJB will be committed using one-phase optimization.

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7.1

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