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 API Support » Problem with MQConn

Post new topic  Reply to topic
 Problem with MQConn « View previous topic :: View next topic » 
Author Message
adevesa
PostPosted: Tue Apr 16, 2002 4:12 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2002
Posts: 3
Location: Spain

Hi, I have depeloped an application in C under MQSeries v5.1 and it works without any problem. But when migrating this application to run under MQSeries v5.2 I got the error code 2059 when trying to connect to the Queue Manager (it is the first call to a MQSeries function Library. I know that there is not any problem with MQSeries installation/configuration because I have tested with some other tools.

Do you know which should be the problem? I couldn't try to compile the source code with the new version libraries but I don't think it will be the problem since the libraries are linked dinamically (libmqm, libmqmcs, libmqmzse).

The operating system is a Solaris OS.

Thank you
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kolban
PostPosted: Tue Apr 16, 2002 6:09 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Have you specified the name of the queue manager correctly? If previously using no name (i.e. a default queue manager) do you have one now defined as default? I am assuing that your are running on the same machine as the server and have linked server bound?

Does runmqsc and amqsput/amqsget work or do they return errors? Does your userid have sufficient permissions to connect to the queue manager?
Back to top
View user's profile Send private message
adevesa
PostPosted: Tue Apr 16, 2002 10:22 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2002
Posts: 3
Location: Spain

I have to answer yes to all of your questions. I'm sure I'm trying to connect to the right QM name because otherwise I got the error code 2058 (I'm getting the 2059). The same for the user perms (I don't remenber the error code number but I know it is another different from 2059).
The programs amqsget/put work fine and I am linking with the server libraries. Do you think I should recompile with the libraries of the version 5.2 ? They are linked dinamically so I think it shouldn't matter... but who knows...

Any other idea?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
adevesa
PostPosted: Wed Apr 17, 2002 3:14 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2002
Posts: 3
Location: Spain

Hi again, I have recompiled the code but how it was supposed I'm getting the same error... Looking at the mqm error logs I see the following, I'm not an MQSeries expert at all, but perhaps it helps you:

-------------------------------------------------------------------------------
04/17/02 10:53:57
AMQ6184: An internal MQSeries error has occurred on queue manager BWIDOW.QM.

EXPLANATION:
An error has been detected, and the MQSeries error recording routine has been
called. The failing process is process 19280.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier, and to save the generated output files. Contact your IBM support
center. Do not discard these files until the problem has been resolved.
-------------------------------------------------------------------------------

(...)
| Process :- 00019280 |
| Thread :- 00000001 |
| QueueManager :- BWIDOW!QM |
| Major Errorcode :- Unknown(FE390B74) |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ0B74 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6090: MQSeries was unable to display an error |
| message FE390B74. |
(...)

MQM Function Stack
MQCONN
ziiMQCONN
ziiConnectToAgent
zcpAttachPipe
xlsRequestMutex
xcsFFST

(...)

As you see the error is directly in the first call (MQConn). I don't have any idea why it can be.

Thank you.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Problem with MQConn
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.