Author |
Message
|
yasaboy |
Posted: Tue Jul 29, 2014 9:23 pm Post subject: Error 2058 connecting to Queue |
|
|
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 |
|
 |
smdavies99 |
Posted: Tue Jul 29, 2014 10:49 pm Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Jul 30, 2014 5:21 am Post subject: Re: Error 2058 connecting to Queue |
|
|
 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 |
|
 |
Gaya3 |
Posted: Wed Aug 06, 2014 6:32 am Post subject: |
|
|
 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 |
|
 |
exerk |
Posted: Wed Aug 06, 2014 6:51 am Post subject: |
|
|
 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 |
|
 |
|