We are facing an issue where MDB listeners are not working as expected. We have noticed that every time whenever we take system restart and if there is any pending message there in the message broker queue it gets lost, during restart MDB listener picks the pending message (in between the system restart process) and then throws an exception in logs and that message gets lost.
Error Message 2016-08-16 12:11:16,200 INFO [STDOUT] (Dispatcher-Thread-34) 2016-08-16 12:11:16,178 [ WorkManager(2)-6] [ ] [ ] ( etier.mdb.PRJMSListener) ERROR - PRPC Engine invocation failed, javax.ejb.EJBException: Unable to locate implementation of PegaRULES Engine class for EngineBMT 2016-08-16 12:11:16,203 ERROR [org.apache.activemq.ActiveMQSession] (WorkManager(2)-6) error dispatching message: javax.ejb.EJBException: RuntimeException
Same thing is working in WAS