Posted: Fri Aug 13, 2010 8:06 am Post subject: javax.jms.JMSException: MQJMS2007: failed to send message to
Newbie
Joined: 29 Jan 2008 Posts: 3
Hello,
I'm new to MQ. But I hope someone can help us.
We have application Lodestar which is using the MQ software/functionality (com.ibm.mq.jar etc0. This application is talking to EAI/Edine application
We have a test- and accept environment. We are sending message of 2 till 4.5 MB.
On the acceptance envirionment is everything working fine for the 2MB and the 4.5 MB messages as well.
So we have installed everything on production and we get error ONLY with the big 4.5Mb messages!
On this moment we don't know exactly where is the problem situated. I mean on sending site or on the receiving site. We think that there is a configuration problem on the receiving site and that the queue is not big enough. Our expert is on this moment not in house, so I hope that someone has a suggestion where we have to look, because on the queue/channels on the receiving site there are so many properties. And stupid thing is of course the acceptance environment is a little difference from production. On production are more properties than on acceptance enviroment to configure.
BTW. Lodestar is application framework. So these java jar files are made by them. I can't change anything.
Here is the error:
2010-08-13 11:43:59.486 ELECTRA_POSTING_TO_ZAINET - A business exception was encountered. Rolling back.
2010-08-13 11:43:59.486 ELECTRA_POSTING_TO_ZAINET - Exception: com.lodestarcorp.portal.PortalException
2010-08-13 11:43:59.486 ELECTRA_POSTING_TO_ZAINET - javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
2010-08-13 11:43:59.486 ELECTRA_POSTING_TO_ZAINET - Exception output conversion complete.
2010-08-13 11:43:59.502 ELECTRA_POSTING_TO_ZAINET - Opening a Work Queue Item.
com.lodestarcorp.portal.PortalException: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.lodestarcorp.portal.AbstractPortal.processInboundStream(Unknown Source)
at com.lodestarcorp.portal.RT_DatabasePortal.poll(Unknown Source)
at com.lodestarcorp.ltmh.LTMHPoll.run(Unknown Source)
Caused by: com.lodestarcorp.core.data.ConverterRuntimeException: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.lodestarcorp.portal.output.QueueOutputter.output(Unknown Source)
at com.lodestarcorp.portal.output.AbstractOutputter.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:567)
at com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:1738)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1056)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1108)
... 3 more
Posted: Fri Aug 13, 2010 8:11 am Post subject: Re: javax.jms.JMSException: MQJMS2007: failed to send messag
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
nkamp wrote:
I hope that someone has a suggestion where we have to look
In the linked exception that goes with that error. If it is the max message length (and from your desctiption that sounds plausible) you'll get a specific reason code in there.
Or you could just examine the queue in question to see if the max message length has been left at the default 4Mb. _________________ Honesty is the best policy.
Insanity is the best defence.
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