Posted: Sun Feb 13, 2011 4:00 pm Post subject: MQ Error with a large message
Newbie
Joined: 13 Feb 2011 Posts: 2
I'm trying to send a JMS text message of approx 16mb in size and keep getting the following exception:
MQJE001: An MQException occurred: Completion Code 2, Reason 2195
I've enabled tracing and found the following extra info:
MQJE043: Insufficient data received from queue manager
I have decompiled the MQ client libraries and MQJE043 has a constant of 84 and there is another line in the trace where I believe this exception to have been raised from:
com.ibm.mq.jms.MQJMSMessage readfrom (via exception) Exit
When I look at the decompiled class the line that throws this error reads:
if (paramDataInputStream.available() < 324).......... throw the exception
I've made sure the max message length is set accordingly and have tried increasing the Java heap size but am at a total loss. Any help would be greatly appreciated!
I expect you are accessing WMQ through a client channel. Did you make sure that the max message length of said client channel was set to the right value and not the default 4MB?
The client channel, queue manager and queue are all set to the max message length. I am able to send messages > 4mb just not anything over 13mb it looks like
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