ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » strange MQ problem...

Post new topic  Reply to topic
 strange MQ problem... « View previous topic :: View next topic » 
Author Message
Monk
PostPosted: Mon Feb 04, 2008 1:07 am    Post subject: strange MQ problem... Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

Hi all,

I m having a strange problem w MQ..
Here is scenario.

I have a MQ client which connects to MQ server(obv..). they are on different machines.
I m running MQ v5.3 CSD 12 (server).
the client does a MQ get.
Now here is the strange part.
if my message size is 128KB i get MQRC 2008 error which is connection broken.
if my message size is 56Kb , everything goes fine , no connection broken.
So my question is , is this a problem w the network or MQ?.

The link bw is 64 KB.

Any thoughts on this as welcome.
_________________
Thimk
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Feb 04, 2008 2:14 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

2009 is connection broken.

2008 is

Reason Code 2008 x'7D8'
MQRC_CHAR_ATTRS_TOO_SHORT

For MQINQ calls, CharAttrLength is not large enough to contain all of the character attributes for which MQCA_* selectors are specified in the Selectors parameter. The call still completes, with the CharAttrs parameter string filled in with as many character attributes as there is room for. Only complete attribute strings are returned: if there is insufficient space remaining to accommodate an attribute in its entirety, that attribute and subsequent character attributes are omitted. Any space at the end of the string not used to hold an attribute is unchanged. An attribute that represents a set of values (for example, the namelist Names attribute) is treated as a single entity---either all of its values are returned, or none.

Corrective action: Specify a large enough value, unless only a subset of the values is needed.
Back to top
View user's profile Send private message
Monk
PostPosted: Mon Feb 04, 2008 3:27 am    Post subject: Reply with quote

Master

Joined: 21 Apr 2007
Posts: 282

So sorry..its 2009 not 2008..

and another thing is ..
if I have 6 message in a queue..
and client is picking the messsages..
and during the MQGET call teh connection breaks..and i get a 2009 error.
But I m losing the message for which the MQGET call fails..
I have made the messages to be persistant..
Even if i put under a syncpoint..
i need to do the following
MQBEGIN
MQGET
MQCOMMIT or BACKOUT depending on MQRC 2009,...
bt if MQGET fails w connection broken..
how do i do a BACKOUT...

any solution to this problem..
_________________
Thimk
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 04, 2008 3:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Solution: your MQ Client is most likely not at the same version as your server.
Remember that 5.3 JMS client had troubles before CSD11.

Make sure your client is at the same version as the server or better yet, take the opportunity to move to a supported version (6.0.2.2 or above)

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon Feb 04, 2008 6:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Monk wrote:
So sorry..its 2009 not 2008..


Man, the next couple of years are going to be confusing.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » strange MQ problem...
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.