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 » General Discussion » Error 2058 connecting to Queue

Post new topic  Reply to topic
 Error 2058 connecting to Queue « View previous topic :: View next topic » 
Author Message
yasaboy
PostPosted: Tue Jul 29, 2014 9:23 pm    Post subject: Error 2058 connecting to Queue Reply with quote

Voyager

Joined: 23 Jun 2014
Posts: 90

Hi ,

I'm facing this weird error 2058 when trying to connect to Queue manager. But the queue manager is there as you can see. What is the cause for this. Please help ??

Code:
x01/dev51/bin>dspmq

QMNAME(NC.Q.MAN.NEWR6)                                    STATUS(Running)
QMNAME(DHAN.TEST1)                                   STATUS(Running)

/x01/dev51/bin>./MQ_ExamplePCF TEST.Q1 DHAN.TEST1
Sample Program to Create a Local Queue
MQCONN failed: Completion Code = 2 : Reason = 2058

Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jul 29, 2014 10:49 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Where does the application you are trying to use come from?
do you have the source code?
Is it built using client libraries?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 30, 2014 5:21 am    Post subject: Re: Error 2058 connecting to Queue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

yasaboy wrote:
But the queue manager is there as you can see. What is the cause for this.


We can see it, your application can't. One obvious cause (and by no means the only one) is that your application is trying to make a client connection and you've not set up the client configuration. The fact that the client is actually sitting on the same server does not alter the fact it tries to connect via TCP/IP and needs the parameters; there's no "auto-detect" of queue managers for applications.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Aug 06, 2014 6:32 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

looks like the client connection channel is missing in this case....not sure what and all params are required for the program to connect, if you can let us know what and all you have hard coded that will be great
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 06, 2014 6:51 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Gaya3 wrote:
looks like the client connection channel is missing in this case....

What leads you to that conclusion? Bearing in mind that yasaboy appears to be running his application local to the queue manager?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
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 » General Discussion » Error 2058 connecting to Queue
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.