How to fix the Oracle error JMS-00239: Illegal attempt to call {0} method on a XASession.?

In this post, you’ll learn more about the Oracle ErrorJMS-00239: Illegal attempt to call {0} method on a XASession. with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

JMS-00239: Illegal attempt to call {0} method on a XASession.

Reason for the Error JMS-00239: Illegal attempt to call {0} method on a XASession.

Cause: Illegal attempt to invoke the commit or rollback method on a XASession

How to fix the Error JMS-00239: Illegal attempt to call {0} method on a XASession. ?

You can fix this error in Oracle by following the below steps

Action: Use JTA to commit or rollback a distributed transaction

Tags :

Leave Your Comment