Weblogic MDB Not Able To Complete Transaction After Reading MQ Message Using Foreign JMS Server (Doc ID 2305004.1)

Last updated on SEPTEMBER 12, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

MDB is not able to rollback failed transactions successfully if they read the messages through Foreign JMS configuration.

User has following setup on MQ

- TestQueuegg
- TestErrorQueue

Configured backout count to 3 in TestQueue to move the messages from TestQueue to TestErrorQueue after 3 retries.

After the certain number of retries (3 retries as per the backout configuration), messages count in TestErrorQueue increases but message is not visible. Looks like the transaction is not completing. All the messages in mq error queue are shown as uncommitted messages.

Once we shutdown weblogic server or stop the MDB, then we notice the TestQueue shows the messages.

Below is the error observed in logs after enabling JTA debugs:

 

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