Weblogic MDB Not Able To Complete Transaction After Reading MQ Message Using Foreign JMS Server
Last updated on DECEMBER 11, 2017
Applies to:Oracle WebLogic Server - Version 184.108.40.206.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
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms