|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem with MQConn |
« View previous topic :: View next topic » |
Author |
Message
|
adevesa |
Posted: Tue Apr 16, 2002 4:12 am Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Tue Apr 16, 2002 6:09 am Post subject: |
|
|
 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 |
|
 |
adevesa |
Posted: Tue Apr 16, 2002 10:22 am Post subject: |
|
|
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 |
|
 |
adevesa |
Posted: Wed Apr 17, 2002 3:14 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|