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 » MQRC_UNEXPECTED_ERROR 2195 reading message off queue

Post new topic  Reply to topic
 MQRC_UNEXPECTED_ERROR 2195 reading message off queue « View previous topic :: View next topic » 
Author Message
etennett
PostPosted: Tue Jan 16, 2007 10:16 am    Post subject: MQRC_UNEXPECTED_ERROR 2195 reading message off queue Reply with quote

Newbie

Joined: 23 Aug 2006
Posts: 7

Hi. I worte a small .net window form application to test mq with. I get all the way until reading the message off the queue. The error I get is MQRC_UNEXPECTED_ERROR 2195. Here is the line of code I get the error on:

mqRecvQueue.Get(mqRecvMessage, mqGMO);

What would be some of the common reason for this to happen?

If interested...here is the settings for mqRecvQueue:

int mqRecvQueueOpenOptions = MQC.MQOO_INPUT_AS_Q_DEF | MQC.MQOO_OUTPUT;

// Set the RecvQueue to Open
mqRecvQueue = mqMgr.AccessQueue(mqRspQ, mqRecvQueueOpenOptions);

// Create the MQRecvMessage with Attributes
mqRecvMessage.CorrelationId = mqSendMessage.MessageId;
mqRecvMessage.Format = MQC.MQFMT_STRING;
mqRecvMessage.MessageType = MQC.MQMT_REPLY;
mqRecvMessage.Persistence = MQC.MQPER_NOT_PERSISTENT;

MQGetMessageOptions mqGMO = new MQGetMessageOptions();
mqGMO.MatchOptions = MQC.MQMO_MATCH_CORREL_ID;
mqGMO.Options = MQC.MQGMO_WAIT;
mqGMO.WaitInterval = Convert.ToInt32(mqWait);
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 16, 2007 10:50 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Look in the Event Log and/or the MQSeries logs. There should be more information there.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
etennett
PostPosted: Tue Jan 16, 2007 11:15 am    Post subject: Reply with quote

Newbie

Joined: 23 Aug 2006
Posts: 7

Thanks. I found the error log file generated. IT has this in it:

| Probe Type :- MSGAMQ6118 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6118: An internal WebSphere MQ error has occurred

Any ideas?
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 16, 2007 11:34 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

You need to post the complete header from the FDC.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
etennett
PostPosted: Tue Jan 16, 2007 11:40 am    Post subject: Reply with quote

Newbie

Joined: 23 Aug 2006
Posts: 7

Thanks for th update Eddy. This MQ connections stuff is new to me. How would I post the complete header from the FDC?

Thanks!
Back to top
View user's profile Send private message
etennett
PostPosted: Tue Jan 16, 2007 11:44 am    Post subject: Reply with quote

Newbie

Joined: 23 Aug 2006
Posts: 7

Eddy...here is the header block from the FDC file.

+-----------------------------------------------------------------------------+
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Tue January 16 14:43:46 Eastern Standard Time 2007 |
| Host Name :- WISFRIB00001D01 (Windows Ver 5.2 Build 3790: Service |
| Pack 1) |
| PIDS :- 5724H7200 |
| LVLS :- 6.0.2.0 |
| Product Long Name :- WebSphere MQ for Windows |
| Vendor :- IBM |
| Probe Id :- XC001004 |
| Application Name :- MQM |
| Component :- xcsInitialize |
| SCCS Info :- lib/cs/amqxitc0.c, 1.172.1.6 |
| Line Number :- 853 |
| Build Date :- Sep 21 2006 |
| CMVC level :- p600-200-060921 |
| Build Type :- IKAP - (Production) |
| UserID :- e930443 |
| Process Name :- D:\Citizens\WinformApps\MQTester\MQTester.exe |
| Addressing mode :- 32-bit |
| Process :- 00006052 |
| Thread :- 00000001 |
| Major Errorcode :- xecF_E_UNEXPECTED_RC |
| Minor Errorcode :- xecI_S_FAIL |
| Probe Type :- MSGAMQ6118 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6118: An internal WebSphere MQ error has occurred |
| (40006004) |
| FDCSequenceNumber :- 0 |
| Arith1 :- 1073766404 40006004 |
| |
+-----------------------------------------------------------------------------+
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 16, 2007 12:29 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

The only hit I could find on that particular Probe ID, was actually here on here on MQSeries.net.

You might get more information from the trace part, if you look for where the bad return code comes from.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
etennett
PostPosted: Tue Jan 16, 2007 1:57 pm    Post subject: Reply with quote

Newbie

Joined: 23 Aug 2006
Posts: 7

Thanks eddy.
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 API Support » MQRC_UNEXPECTED_ERROR 2195 reading message off 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.