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

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

  1. Set up MQListener
  2. Set up Connect-MQ
  3. 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
  4. 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

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?

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