Posted: Thu Aug 28, 2008 9:56 am Post subject: MQ Error occured : Completion Code 2 Reason Code 2058
Newbie
Joined: 27 Aug 2008 Posts: 3
I was trying to use java code to put a message into MQ and I am getting the following errors:
Connecting to queue manager: QMIQRTTSMQ
MQJE001: Completion Code 2, Reason 2058
A WebSphere MQ Error occured : Completion Code 2 Reason Code 2058
I have set MQSERVER=RTTS_MQ_CHANNEL/TCP/iqrttsmq(1414)
The intersting thing is the same code works from the server where MQ is running, but if I try to on another server I get this error.
The same code works from the server where MQ instance is running. So the QMANAGER name was correctly coded.
Any idea will be appreciated.
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
A 2058 is usually a queue manager name error. I'd double-check that the hostname actually resolves to the same address on both machines. You may be connecting into a different machine.
Posted: Tue Sep 02, 2008 7:28 am Post subject: MQ Error occured : Completion Code 2 Reason Code 2058
Newbie
Joined: 27 Aug 2008 Posts: 3
Both resolves to same IP and network reachable to iqrttsmq(192.168.71.165) and I can telnet to port 1414
These two servers are Linux Cluster nodes and using Linux Clustering it failover/failback. There is no issue with hostname, queue manager name. and definitely something else
any expert comments to resolve this
(QA) admrttsqa@iqlbrttsapp13: $ ping iqrttsmq
PING iqrttsmq.is.bear.com (192.168.71.165) 56(84) bytes of data.
64 bytes from iqrttsmq.is.bear.com (192.168.71.165): icmp_seq=1 ttl=64 time=0.190 ms
(QA) admrttsqa@iqlbrttsapp11: $ ping iqrttsmq
PING iqrttsmq.is.bear.com (192.168.71.165) 56(84) bytes of data.
64 bytes from iqrttsmq.is.bear.com (192.168.71.165): icmp_seq=1 ttl=64 time=0.190 ms
(QA) admrttsqa@iqlbrttsapp11:~/MQtest/BSMQFramework/bin $ telnet iqrttsmq 1414
Trying 192.168.71.165...
Connected to iqrttsmq.
Escape character is '^]'.
^]
telnet> quit
admrttsqa@iqlbrttsapp13:/home/admrttsqa> telnet iqrttsmq 1414
Trying 192.168.71.165...
Connected to iqrttsmq.
Escape character is '^]'.
^]
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum