ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ Error occured : Completion Code 2 Reason Code 2058

Post new topic  Reply to topic
 MQ Error occured : Completion Code 2 Reason Code 2058 « View previous topic :: View next topic » 
Author Message
varadack
PostPosted: Thu Aug 28, 2008 9:56 am    Post subject: MQ Error occured : Completion Code 2 Reason Code 2058 Reply with quote

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.

RTTS_MQ_CHANNEL/TCP/iqrttsmq(1414)
Connecting to queue manager: QMIQRTTSMQ
Accessing queue: QUEUE.RTTS.CHECK
Sending message: 2.0USTREP000000000680491E0001ACTV2008-03-26-18.15.40.6099922008-03-26-13.30.54.701908 T71B A00100001MSD PDL BIOPHARMA INC YYYA00800001HL YY A004TRDENEW BOPRCSD BUY ORGNL 2008-03-26XXUSTREP2008-03-26-13.30.54.701908 2008-03-26-17.30.54.7019080USTREP2008-03-26-13.30.54.701908 0 2008-03-2610.31.00 SHARES 100.00000NETOFALLRPT 0AMT 0.00000000 USD 10.45000000 0.00000000USD 1045.00USD 1045.00USD 0.00 0.00 102008-03-26 055 AGNT DSCRTN ADPNO P018835 EQTY 0001ACCT ADPNO 0271014758021 0271014758021USD00 0011 0 0.000000000 YY YYYY Y YY

Closing the queue
Disconnecting from the Queue Manager
Done!
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Aug 28, 2008 10:44 am    Post subject: Reply with quote

Jedi Knight

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
varadack
PostPosted: Tue Sep 02, 2008 7:28 am    Post subject: MQ Error occured : Completion Code 2 Reason Code 2058 Reply with quote

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 '^]'.
^]
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Sep 02, 2008 7:35 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Test the same connection with RFHUTILC (support pac IH03) to see if your program is coded incorrectly.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ Error occured : Completion Code 2 Reason Code 2058
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.