Support Article
Run-time exceptions on configuring DSS
SA-47560
Summary
Run-time exceptions on configuring the existing Pega Dynamic System Settings (DSS) for setting options on connectivity to MQ Server. The following DSS settings apply with Owning Ruleset equal to Pega-IntSvcs:
- mq/oo_request
- mq/oo_response
- mq/gmo
- mq/pmo
Error Messages
2017-11-15 09:36:45,700 [fault (self-tuning)'] [ STANDARD] [ ] [ ] (services.mq.MQListener) ERROR MQ.MQMessageListener.MQMessageServer InboundAgent - Caught MQException in listener MQMessageServer .MQMessageListener
com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2046'.
at com.ibm.mq.MQDestination.open(MQDestination.java:331)
at com.ibm.mq.MQQueue.<init>(MQQueue.java:250)
at com.ibm.mq.MQQueueManager.accessQueue(MQQueueManager.java:2803)
at com.ibm.mq.MQQueueManager.accessQueue(MQQueueManager.java:2829)
at com.pega.pegarules.integration.engine.internal.services.mq.MQListener.initializeConnection(MQListener.java:877)
Steps to Reproduce
- Set up MQListener
- Set up Connect-MQ
- Add DSS for mq/oo_request and set to 16. The default setting without a DSS is 1040 (MQC.MQOO_OUTPUT (16) | MQC.MQOO_SET_IDENTITY_CONTEXT (1024)) Setting it to 16 removes SET_IDENTITY_CONTEXT
- Add DSS for mq/pmo and set it to 0. Default is MQC.MQOO_SET_IDENTITY_CONTEXT (1024)
Root Cause
A third-party product issue. The 2046 error code relates to Invalid Options and is generated by the IBM client libraries which is imported into Pega. The Listener and Connector need to have distinct DSS settings.
Resolution
Apply HFix-39470.
Published January 2, 2018 - 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.