|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJE001: Completion Code 2, Reason 2010 |
« View previous topic :: View next topic » |
Author |
Message
|
rajivn |
Posted: Fri Dec 05, 2008 6:26 am Post subject: MQJE001: Completion Code 2, Reason 2010 |
|
|
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 |
|
 |
exerk |
Posted: Fri Dec 05, 2008 6:42 am Post subject: Re: MQJE001: Completion Code 2, Reason 2010 |
|
|
 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 |
|
 |
fjb_saper |
Posted: Fri Dec 05, 2008 7:42 am Post subject: |
|
|
 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 |
|
 |
mvic |
Posted: Sat Dec 06, 2008 3:12 pm Post subject: Re: MQJE001: Completion Code 2, Reason 2010 |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|