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 Java / JMS » Loss of Messages

Post new topic  Reply to topic
 Loss of Messages « View previous topic :: View next topic » 
Author Message
harshvajra
PostPosted: Tue Mar 04, 2008 11:04 pm    Post subject: Loss of Messages Reply with quote

Apprentice

Joined: 23 Apr 2007
Posts: 46
Location: India

Hello,
I have an MQ-java application putting and getting messages from a queue.
A client-Server architecture, hence to make sure there are no loss of messages during mqget call i've used MQGMO_SYNC_POINT.
This has worked fine during 2009 rc, which occurs very frequently.
Recently i've got a rc of 2195, during which im losing msg.
Can any tell me whats happens during such exceptions ?
_________________
Failure is not a defeat,it's just a delay, Walk TALL
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Mar 05, 2008 1:57 am    Post subject: Re: Loss of Messages Reply with quote

Grand High Poobah

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

harshvajra wrote:
Recently i've got a rc of 2195, during which im losing msg.
Can any tell me whats happens during such exceptions ?


10 seconds of research would have revealed:

Code:
2195  0x00000893  MQRC_UNEXPECTED_ERROR


The queue manager has abended / crashed / been damaged / etc so because the queue manager can't anticipate the scenario (hence unexpected) anything can happen including message loss.

You should investigate the FDC file and resolve the problem using the sugested procedure.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
harshvajra
PostPosted: Wed Mar 05, 2008 3:04 am    Post subject: Reply with quote

Apprentice

Joined: 23 Apr 2007
Posts: 46
Location: India

Yes indeed.
The first thing i always do when i see an error is
mqrc reasonCode
"mqrc 2195

2195 0x00000893 MQRC_UNEXPECTED_ERROR"

I was trying to analyse this para from IBM manual with the result got from the application:-
"MQC.MQGMO_SYNCPOINT
Get the message under syncpoint control; the message is marked
as being unavailable to other applications, but it is deleted from
the queue only when the unit of work is committed. The message
is made available again if the unit of work is backed out."

The application is running on m/c with MQ Client installed, i had checked,but there were no .FDC files generated for the app/process that has encountered this exception.

That means, there is indeed a possibility of loss of message when such errors occur if i am not wrong from my assumption.
Any suggestions.
_________________
Failure is not a defeat,it's just a delay, Walk TALL
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Mar 05, 2008 3:13 am    Post subject: Reply with quote

Grand High Poobah

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

harshvajra wrote:
The application is running on m/c with MQ Client installed, i had checked,but there were no .FDC files generated for the app/process that has encountered this exception.


And none in the queue manager to which the client was attached?

harshvajra wrote:
That means, there is indeed a possibility of loss of message when such errors occur if i am not wrong from my assumption.


The nature of the 2195 means that the WMQ mechanisms have broken down, including those preventing message loss.

harshvajra wrote:
Any suggestions.


Fix the problem. You should never receive a 2195. Raise a PMR with IBM if necessary.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Java / JMS » Loss of Messages
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.