Weblogic MDB Not Able To Complete Transaction After Reading MQ Message Using Foreign JMS Server
(Doc ID 2305004.1)
Last updated on AUGUST 14, 2020
Applies to:Oracle WebLogic Server - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
MDB is not able to rollback failed transactions successfully if they read the messages through Foreign JMS configuration.
User has following setup on MQ
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:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document