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 Discussion » MQJE001: Completion Code 2, Reason 2010

Post new topic  Reply to topic
 MQJE001: Completion Code 2, Reason 2010 « View previous topic :: View next topic » 
Author Message
rajivn
PostPosted: Fri Dec 05, 2008 6:26 am    Post subject: MQJE001: Completion Code 2, Reason 2010 Reply with quote

Newbie

Joined: 05 Dec 2008
Posts: 2

We are getting an errror while posting a message to the queue
The exception is JMSEception and the reason code that I got was

MQJE001: Completion Code 2, Reason 2010

This is due to huge message size- right ?

The object we are putting on the queue could be big- (and I recognize we need to rectify that).
But what bothers me is- that when the user initiates the same transaction again- it goes through the next time.

Is it possible that the queue is getting clogged up and is unable to take bigger messages at some point and after it clears out a bit- it is able to take more messages ?

So my questions is
Is there a message size limit AND total size limit for the queue as well ?
The reason code- MQJE001: Completion Code 2, Reason 2010 - could it indicate both ?


Envoronment information
JBOSS
MQ Series

---------
I realized that I had posted the topic in a wrong cateory- so I sarted the same thread elsewhere

http://www.mqseries.net/phpBB2/viewtopic.php?p=232684#232684

Moderators: Please close this thread or let me know how to do so
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Dec 05, 2008 6:42 am    Post subject: Re: MQJE001: Completion Code 2, Reason 2010 Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

rajivn wrote:
..But what bothers me is- that when the user initiates the same transaction again- it goes through the next time...


Possibly because it tries with a smaller message size the next time?

rajivn wrote:
...Is it possible that the queue is getting clogged up and is unable to take bigger messages at some point and after it clears out a bit- it is able to take more messages ?...


No. The queue will only accept messages that do not breach its maximum message length setting.

rajivn wrote:
...So my questions is
Is there a message size limit AND total size limit for the queue as well ?...


Yes and yes, but unless you're trying to put messages bigger than 100MB you wont have reached it, and 'size' limit on the queue is down to max depth setting multiplied by max message size (OS file size maximum permitting)

rajivn wrote:
...The reason code- MQJE001: Completion Code 2, Reason 2010 - could it indicate both ?...


Not that I'm aware of.

How is your client connecting?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 05, 2008 7:42 am    Post subject: Reply with quote

Grand High Poobah

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

Just wondering if the fluctuation could be explained in the fluctuation of log size. If near maximum and you attempt to post the message there is not enough log space. On the second attempt a number of transactions have completed an you have more log space available... as such the transaction goes through?

You should have more detailed information in the qmgr's error logs
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mvic
PostPosted: Sat Dec 06, 2008 3:12 pm    Post subject: Re: MQJE001: Completion Code 2, Reason 2010 Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

rajivn wrote:
The object we are putting on the queue could be big- (and I recognize we need to rectify that).
But what bothers me is- that when the user initiates the same transaction again- it goes through the next time.

The limit you are hitting is, I think, the limit on the MaxMsgLength of the client channel. Check the MAXMSGL settings on the matching CLNTCONN and SVRCONN channel definitions that are being used here.

Limits relating to queues will be notified via a different reason code: eg. MQRC_MSG_TOO_BIG_FOR_Q.

I can't answer why the 2nd attempt at the transaction goes through. I can only guess that the 2nd time, the attempt is (just?) a little smaller so as to fall within the limit. Just guessing, though.

Quote:
Is there a message size limit AND total size limit for the queue as well ?

In the QLOCAL definition there is a maximum message length, and a maximum depth. But I suggest looking at the channel rather than a queue to begin with.
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 Discussion » MQJE001: Completion Code 2, Reason 2010
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.