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 » General IBM MQ Support » Message not visible on a queue

Post new topic  Reply to topic
 Message not visible on a queue « View previous topic :: View next topic » 
Author Message
ashishsuvarna
PostPosted: Tue Mar 28, 2006 1:14 am    Post subject: Message not visible on a queue Reply with quote

Apprentice

Joined: 25 Dec 2005
Posts: 30
Location: INDIA

One of the queues shows up the current depth as 1 but when we browse the queue the queue is empty. There are no open handles on the queue and we do not get error message while opening the queue. Can someone point out the reason for this.
_________________
Young techie
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Mar 28, 2006 1:23 am    Post subject: Re: Message not visible on a queue Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

ashishsuvarna wrote:
One of the queues shows up the current depth as 1 but when we browse the queue the queue is empty. There are no open handles on the queue and we do not get error message while opening the queue. Can someone point out the reason for this.

Try
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzax.doc/rtmqavbl.htm
or (z/OS only) http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqsaw.doc/csq847y.htm
Back to top
View user's profile Send private message
ashishsuvarna
PostPosted: Tue Mar 28, 2006 1:31 am    Post subject: Reply with quote

Apprentice

Joined: 25 Dec 2005
Posts: 30
Location: INDIA

The fact that the queue status in MQ explorer does not bring up anything, can I rule out the possibility that the putting appliation has not committed the message ? I am checking it using MQ Explorer from an other box as I do not have direct entry into that box.
_________________
Young techie
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Mar 28, 2006 1:40 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

ashishsuvarna wrote:
The fact that the queue status in MQ explorer does not bring up anything, can I rule out the possibility that the putting appliation has not committed the message ? I am checking it using MQ Explorer from an other box as I do not have direct entry into that box.

I would like to understand, why does it matter whether the message is uncommitted etc.? If it is uncommitted, there is no problem as far as the queue manager is concerned. (Presumably there is some reason why the app has not yet committed the PUT / GET it was doing?)
Back to top
View user's profile Send private message
ashishsuvarna
PostPosted: Tue Mar 28, 2006 1:59 am    Post subject: Reply with quote

Apprentice

Joined: 25 Dec 2005
Posts: 30
Location: INDIA

Is it possible that the application has dis-connected from the queue without committing the message ? I ask this because queue status does not bring anything up.
_________________
Young techie
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Mar 28, 2006 2:04 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I think you need to refresh your window.
ashishsuvarna wrote:
Is it possible that the application has dis-connected from the queue without committing the message

I don't think so. You need to read more about unit of works and syncpoint and commit/rollback
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ashishsuvarna
PostPosted: Tue Mar 28, 2006 2:29 am    Post subject: Reply with quote

Apprentice

Joined: 25 Dec 2005
Posts: 30
Location: INDIA

Windows are refreshed, but still we have the same situation. I am aware that even if application disconnects from a queue without committing a unit of work it will simply roll back all messages within that unit of work. Is there anything else that could be going on here ?
_________________
Young techie
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Mar 28, 2006 4:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Yes. Imagine a multiphase commit. The application exits without executing the "prepare commit" or commit. The message is a "ghost" message. It is not committed and not in a gettable state. As the prepare commit has not been called it is not visible through dspmqtrn. It will disappear when you recycle the qmgr.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ashishsuvarna
PostPosted: Tue Mar 28, 2006 4:49 am    Post subject: Reply with quote

Apprentice

Joined: 25 Dec 2005
Posts: 30
Location: INDIA

I believe I read somewhere that if an application tries to exit without committing the queue manager will roll back the changes. Is there an exception to this rule ?
_________________
Young techie
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Mar 29, 2006 9:27 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

ashishsuvarna wrote:
I believe I read somewhere that if an application tries to exit without committing the queue manager will roll back the changes. Is there an exception to this rule ?

The definitive information is at http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzal.doc/csqzal1079.htm
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 » General IBM MQ Support » Message not visible on a 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.