Getting javax.transaction.HeuristicMixedException When Calling EJB (Doc ID 1059773.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle WebLogic Server - Version 10.0 to 10.3.6
Information in this document applies to any platform.
***Checked for relevance on 27-Aug-2011***
Updated versions and added the new doc link to the latest WLS version.

***Checked for relevance on 29-May-2013***
Updated versions and added the new doc link to WLS version 10.3.6.

Symptoms

When a stateless session bean (EJB A) in Domain 'A' calls a stateless session bean (EJB B) in Domain 'B' in which transaction attribute is set to 'Required' (-since both EJB 'A' &  EJB 'B' do DB updates on two different Databases).

EjbClient ----calls---->EJB1 (DomainA) -------calls------> EJB2(DomainB)

The above use case fails with the below Exception:

java.lang.Exception: SubscriberSearchList: Exception caught: BEA1-00B100C346DC5F85B7B6; nested exception is: javax.transaction.HeuristicMixedException: (BillplexDataSource, HeuristicHazard, ())
at jsp_servlet._subscriber.__subscribersearchlist._jspService(__subscribersearchlist.java:1609)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
...

Changes

None.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms