Author |
Message
|
murared |
Posted: Wed Feb 26, 2014 4:42 am Post subject: Object got Damaged in WMQ v7.0 |
|
|
Novice
Joined: 16 Jan 2014 Posts: 17
|
Hello Everyone,
we have observed that one of the queue got damaged which had so many messages in it.
Could you please tell us the way to get the messages back to same queue?
Thanks,
Reddy. |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Feb 26, 2014 5:39 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
If you were using Linear logging, then you can recover that object. If not, you cannot recover those msgs (which is the reason to use linear logging if you have such a requirement). Were you using linear logging?
It is indicated in your qm.ini file. |
|
Back to top |
|
 |
murared |
Posted: Thu Feb 27, 2014 5:55 am Post subject: |
|
|
Novice
Joined: 16 Jan 2014 Posts: 17
|
We are using circular logging but all are the persistent messages which would be storing in the filesystem.
Is there anyway to recover them?
Thanks,
Reddy. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 27, 2014 6:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looks like you just lost them. This is why linear logging exists. So you can recover your queue. MQ tells you the object is damaged... That can / may mean that you have a truncated transaction info in the log...
Typically handled by deleting the object and recreating it...
If you can still attach to the queue try saving all its messages to file...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 27, 2014 7:53 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
murared wrote: |
We are using circular logging but all are the persistent messages which would be storing in the filesystem. |
WMQ's transaction logs are not intended for application-level message data recovery.
Circular log segments are overwritten when they no longer active (containing units-of-work in-flight).
Linear (transaction) logs may be used to recover objects and messages with the rcrmqobj control command IF the object images were recorded to the logs with the rcdmqimg control command.
murared wrote: |
Is there anyway to recover them? |
Yes, and no.
IBM does not provide a utility to scan through your logs looking for specific messages. Other vendors offer these. Search here and google.
The most frequent cause of object corruption begins with a system admin changing rwx bits in the WMQ filesystem. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Mon Mar 03, 2014 9:20 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
murared wrote: |
We are using circular logging but all are the persistent messages which would be storing in the filesystem.
Is there anyway to recover them? |
If the messages are important for your application and system, better have linear logging for mq qmgr, which additionally require administering/managing of logs for media and restart recovery. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|