Author |
Message
|
Mensch |
Posted: Mon May 14, 2007 7:47 pm Post subject: Displaying QL after deliberately damaging it |
|
|
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 |
|
 |
ashu |
Posted: Mon May 14, 2007 8:45 pm Post subject: |
|
|
 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 |
|
 |
Mensch |
Posted: Mon May 14, 2007 9:21 pm Post subject: |
|
|
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 |
|
 |
ashu |
Posted: Mon May 14, 2007 9:51 pm Post subject: |
|
|
 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 |
|
 |
Mensch |
Posted: Mon May 14, 2007 10:25 pm Post subject: |
|
|
Disciple
Joined: 17 Jul 2005 Posts: 166
|
Yeah… interesting
Thanks for your replies _________________ Thanks and Regards ,
Mensch |
|
Back to top |
|
 |
|