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 » Displaying QL after deliberately damaging it

Post new topic  Reply to topic
 Displaying QL after deliberately damaging it « View previous topic :: View next topic » 
Author Message
Mensch
PostPosted: Mon May 14, 2007 7:47 pm    Post subject: Displaying QL after deliberately damaging it Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

Hi

Below is the simple scenario...
Created one queue manager: QM1, logging: linear
Created local queue QL..put one dummy persistent message

Recorded QL using command rcdmqimg

Deleted the file system representing queue QL to deliberately damage it

Case 1:
Now when I use the command display QL ..it is showing all the attributes of the queue...I am wondering how is it possible as I have already damaged the queue?

Case 2:
But when I try to browse queue it is throwing an obvious object damaged error and the try to display QL again getting object damaged error..

Then why there is no error in the first case??
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
ashu
PostPosted: Mon May 14, 2007 8:45 pm    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

You must be displaying the queue details form the runmqsc on the Qmgr.

I feel that the Qmgr might be working with the cached image of the queue which changes only if you make some changes to the atrributes of the queue.

while amqsbcg or any other browsing facility directly looks at the actual queue object in the memory.

if you damage the Queue's structure externally then the Qmgr might not realize it immediately.

Ofcourse this is a hunch...

Was the Qmgr started when you damaged the queue? If so do something like damage the queue first and then start the Qmgr....

Regards,
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
Mensch
PostPosted: Mon May 14, 2007 9:21 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

Quote:
I feel that the Qmgr might be working with the cached image of the queue which changes only if you make some changes to the atrributes of the queue.

Yes you are right ..Qmgr must be looking at the cached image of the queue
Quote:
Was the Qmgr started when you damaged the queue? If so do something like damage the queue first and then start the Qmgr....

If I damage any object when queue manager is down and try to display damaged object after starting queue manager it is throwing prpoer error

But I am not sure whether this is the ideal way it should work or not ..
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
ashu
PostPosted: Mon May 14, 2007 9:51 pm    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Quote:
If I damage any object when queue manager is down and try to display damaged object after starting queue manager it is throwing prpoer error


That should be enough to prove the point that we agreed upon regarding the Qmgr seeing the cached image isn't it ?!!!

Interesting!!!

Warm Regards,
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
Mensch
PostPosted: Mon May 14, 2007 10:25 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

Yeah… interesting

Thanks for your replies
_________________
Thanks and Regards ,
Mensch
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 » Displaying QL after deliberately damaging it
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.