Support Article

Not able to submit adjustments



User imported a set of client MQ libraries after which, started seeing the following ERROR when calling connect-mq.

Error Messages

Caused by: CC=2;RC=2538;AMQ9204: Connection to host 'localhost(1414)' rejected. [[CC=2;RC=2538;AMQ9213: A communications error for 'TCP' occurred. [[A remote host refused an attempted connect operation.],3=connnectUsingLocalAddress,4=TCP,5=Socket.connect]],3=localhost(1414),5=RemoteTCPConnection.connnectUsingLocalAddress]


Steps to Reproduce

Invoke the flow and wait for the Agent execution to call the connect-mq.

Root Cause

A third-party product issue. 

During our troubleshooting session, Pega identified that the issue is because of the change in client MQ libraries the MQQueManager is no longer, reading the following keys set in the propMap Hashtable.


Make the following change to the operating environment:

Override the InvokeMQConnector Activity rule into the application ruleset making the following modifications.

After making these modifications the ERROR has been resolved.

     = hostname;    
     = port;
     = channel;
     = userID;
     = password;
                  propMap.put(, hostname);
                propMap.put(, port);
                propMap.put(, channel);
                propMap.put(, userID);
                propMap.put(, password);*/


Published December 8, 2016 - Updated December 20, 2016

Have a question? Get answers now.

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