Support Article
Implementation of JMS MDB Listener
SA-18922
Summary
User is following the instructions in PDN article:
https://pdn.pega.com/how-deploy-jms-listener-message-driven-bean
Deployment fails after updating prbeans.jar ejb-jar.xml file. This article was last updated in October 2007.
Error Messages
Error during deployment.
Steps to Reproduce
Generate JMS MDB Listener deployment descriptor from PRPC and deploy modified EAR
Root Cause
The newer PRPC ear uses an updated XSD from http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd. The sub-element “message-driven-destination” is no longer valid as per ejb-jar_2_1.xsd schema definition and is replaced by “message-destination-type”.
Resolution
Make the following change to the operating environment:
Modify ejb-jar.xml to replace the correct sub-element for the message-destination-type, re-package the EAR and deploy.
Note: A bug with ID BUG-235020 is created to resolve doc issue.
Published February 20, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.