Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Problem in message Invocation using MDB Listener



After the deployment of a custom MDB module, user is getting the error message below in WebSphere log file.
The newly deployed MDB Listener is not receiving messages from the JMS Destination.


Error Messages

[6/14/16 16:55:25:617 BST] 00000148 SibMessage W [:] CWSJY0003W: MQJCA4004: Message delivery to an MDB 'prpc_j2ee14_ws#yourModule.jar#yourMDB$Proxy@c126f374)' failed with exception: 'nested exception is: java.lang.RuntimeException: Problem during method invocation (onMessage)'.
[6/14/16 16:55:26:088 BST] 00000148 ActivationSpe I J2CA0524I: The Message Endpoint for ActivationSpec jms/yourDestination ( and MDB Application prpc_j2ee14_ws#yourModule.jar#yourMDB is deactivated.
[6/14/16 16:55:26:091 BST] 00000148 SibMessage W [:] CWWMQ0007W: The message endpoint prpc_j2ee14_ws#yourModule.jar#yourMDB has been paused by the system. Message delivery failed to the endpoint more than 0 times. The last attempted delivery failed with the following error: nested exception is: java.lang.RuntimeException: Problem during method invocation (onMessage)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(
at com.pega.pegarules.internal.etier.mdb.PRJMSListenerBoot.onMessage(
at com.sun.proxy.$Proxy26.onMessage(Unknown Source)
Caused by: java.lang.RuntimeException: Problem during method invocation (onMessage)
... 20 more
Caused by: javax.ejb.EJBException: Unable to locate implementation of PegaRULES Engine class for EngineBMT
at com.pega.pegarules.session.internal.engineinterface.etier.mdb.PRJMSListener.callEngine(
at com.pega.pegarules.session.internal.engineinterface.etier.mdb.PRJMSListener.init(
at com.pega.pegarules.session.internal.engineinterface.etier.mdb.PRJMSListener.onMessage(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

Steps to Reproduce

  1. Update the PRPC EAR file with the newly created MDB module.
  2. Deploy the modified EAR file.
  3. Restart the system.
  4. Check the Webshpere log file.

Root Cause

A previous error, introduced by the custom deployment process adopted, caused an incorrect deployment of the StateLess Session Bean (EngineBMT in this case) necessary for the proper functioning of the message driven bean at runtime. 
Hence the SLSB reference resolution of the bean required by the MDB failed at runtime.

Note that the EngineBMT SLSB is referenced in this case because the newly created JMS MDB Listener was configured to use, Bean managed transactions.
The same error could have involved the SLSB EngineCMT if the new MDB had been configured to use Container Managed Transactions.


Perform the PRPC EAR deployment as described in the Pega Platform Installation Guide for your version of PRPC and the platform making sure it is applied correctly and without any errors in the logs.

​Deploy the custom MDB JMS Listener as described in the following PDN article:

Published July 2, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us