My Oracle Support Banner

XA_RBPROTO error Calling xa_end(TMFAILl) after xa_end(SUSPEND) (Doc ID 1115683.1)

Last updated on MARCH 07, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.


Before invoking xa_end(TMFAIL) through the resource adapter,
WebLogic invokes xa_end(TMSUSPEND), to suspend the transaction branch.
If a transaction branch is in a suspended state, when xa_end(TMFAIL) is
invoked on the Oracle XA interface, Oracle reports a protocol error.
This sequence should be valid, according to the XA specification,

The call to xa_end(TMSUSPEND) before calling xa_end(TMFAIL) was deliberately
added to WebLogic as part of patch (CR211194) and fixes a memory leak with


Upgrade of Weblogic to versions where patch (CR211194) is implemented or
any other XA application calling xa_end(TMFAILl) after a xa_end(SUSPEND).


To view full details, 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 a vibrant support community of peers and Oracle experts.