The information in this article applies to:
SYMPTOMSMicrosoft Message Queue (MSMQ) messages sent from AS400 result in event log errors indicating memory exception. CAUSEThe bridge attempts to receive messages starting with a zero length buffer. This should result in a error that is handled by the bridge and returns the size of the required buffer. The bridge should then allocate an appropriate size buffer and receives the message. However, the AS400 is not sending a valid length when you first perform do MQGET with a zero length buffer. Instead it is returning an extremely large value that is greater than the size of available memory. This only happens when first receiving messages from the queue after initialization and when the size of the received message is less than 112 bytes. RESOLUTIONThe bridge code was changed to use a minimum of 1024 bytes when calling MQGET. STATUSMicrosoft has confirmed this to be a problem in SNA Server version 4.0. This problem has been corrected in the
latest U.S. service pack for SNA Server version 4.0. For information on obtaining the service pack, query on the
following word in the Microsoft Knowledge Base (without the spaces): S E R V P A C K Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. Fixed in SNA Server Version 4.0 SP3 MORE INFORMATIONThe event log will indicate a memory exception as shown in this sample log entry:
Additional query words: msmq bridge memory error
Keywords : kbMSMQ kbMSMQ100 kbMSMQ100bug kbMSMQ100fix kbGrpPlatform kbDSupport kbMQSeriesBridge |
Last Reviewed: October 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |