Link to home
Start Free TrialLog in
Avatar of protege_g
protege_g

asked on

javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue

Weblogic 8.1 Mq 5.3 using MQ configured as a foriegn JMS provider
javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
while deploying ear file.

Has anybody faced this error?
Is it due to the volume/size of the message to mq queue?
Any solution to this problem?
Thanks
Giri
ASKER CERTIFIED SOLUTION
Avatar of rama_krishna580
rama_krishna580
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of protege_g
protege_g

ASKER

Thanks for your response.How are you so sure that it is the message size?
It could also be transaction related!
Bit of  background:
In my ejb-jar.xml I have <trans-attribute>NotSupported</trans-attribute>.The connection factory to MQ setting is probably also is non XA.If I change to <trans-attribute>Required</trans-attribute> ,I get an error saying MDB cannot communicate with XA resource(i.eJMS Provider).So currently in ejb-jar.xml I have <trans-ttribute>NotSupported</trans-attribute>.
This helped me deploy my ejb jar file and war file.During deployment ,it does create a huge message and seems to be
a possible reason for the above mentioned MQJMS error.There were messages created and sent before this happend.

Our MQ administrator has to effect the changes you suggested.So could not confirm your solution yet.

Given this scenerio,would you still say it is the message size?
Thanks
protege

I increased the message lenght size everywhere per your suggestion and also reduced the data load
and this did this solve the problem
Thanks