|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Avoid error: Completion code2 Reason code 2016 when browsing |
« View previous topic :: View next topic » |
Author |
Message
|
thimerion |
Posted: Thu Dec 18, 2008 4:44 am Post subject: Avoid error: Completion code2 Reason code 2016 when browsing |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Hi,
When running my java program, which only browses the last message of a transmission queue to check it's age I now and then get:
MQ error: Completion code 2 Reason code 2016
I don't understand why the get sometimes is inhibited, I only want to browse the object, so why is it locked? ...
Any ideas to fix this.
Tim |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 18, 2008 4:49 am Post subject: Re: Avoid error: Completion code2 Reason code 2016 when brow |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
thimerion wrote: |
which only browses the last message of a transmission queue |
There shouldn't be anything on a transmission queue for more than a few seconds! Check the depth not the age; if it's not zero check the channel status is RUNNING.
thimerion wrote: |
I don't understand why the get sometimes is inhibited, I only want to browse the object, so why is it locked? ... |
Working as designed.
thimerion wrote: |
Any ideas to fix this. |
As above. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Dec 18, 2008 6:39 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
If a channel is not in running state, the transmission queue is get-disabled by the mca. As the browse is also a nondestructive get, that get disable also affects the browse. If - for whatever reason - you have to look at the messages in the xmitq for a non running channel, then you have to alter the xmitq first to make it get enabled. _________________ Regards, Butcher |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|