|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MS03 WMQ object backup failed |
« View previous topic :: View next topic » |
Author |
Message
|
wschutz |
Posted: Tue Aug 30, 2005 6:27 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Yeah, well, I'm pretty sure its a problem with the "intel swap" on encoding integers, viz:
Quote: |
(saveqmgr.c) Error: Received parameter block is of an unrecognised type
Type = 67108864. (thats hex 04 00 00 00)
Command = 33554432. (thats hex 02 00 00 00)
|
Which, would be Type = 4 (MQCFT_STRING) and Command = 2 (MQCMD_INQUIRE_Q_MGR). So, it appears to me that the MQGET with CONVERT isn't doing the intel swap on the pcf responses. _________________ -wayne |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Sep 01, 2005 9:37 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Problem solved. Wayne sent me a fix and it works. He will officially release a fix for the Support Pack soon.
Quote: |
The problem was:
saveqmgr does an mqget of the pcf resposne messages with a 2k buffer.
if that get fails because of a "truncated message", it allocates a larger
buffer and does the get again
(if subsequent gets fail, then we allocate larger buffers until the get
works (or, we run out of memory, which is unlikely)).
The 2k buffer was large enough for v5.3 responses, but the "dis qmgr"
response from v6 is > 2K.
Now, we also issue a GMO_CONVERT on the mqget, and the encoding and ccsid
of the reponse message
was begin set back into the mqmd (because conversion wasn't begin done on
the truncated message").
Subsequent gets were'nt driving the conversion routines (becuase the
encoding already matched).
The fix was simple: always refresh the MQMD to the "default value" prior to
driving the MQGET.
|
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|