Weblogic MDB Not Able To Complete Transaction After Reading MQ Message Using Foreign JMS Server
Last updated on SEPTEMBER 12, 2017
Applies to:Oracle WebLogic Server - Version 220.127.116.11.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:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms