Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-10-27
4
Medium Priority
?
4,943 Views
Last Modified: 2013-12-10
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
0
Comment
Question by:protege_g
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 2000 total points
ID: 12430541
Hi,

I have simulated the same with sample program. Intially I tried to send 10000 objects and it works fine. Then I tried to add 1 million String objects to vector and send the objectMessage and got the same exception.
The solution to this problem as follows
1) use the runmqsc utility to alter the MAXMSGL parameter of all of the appropriate objects like QMGR, QLOCAL etc.

I have increased the MAXMSGL praramter size to 200000000 in the Qmanager and in the queue

2) increase the max message size in channel definition.
Created one server channel with MAXMSGL as 200000000 and attached the server channel to the connection queue factory.

Follow the above two steps then the problem will be solved.

R.K
0
 

Author Comment

by:protege_g
ID: 12439268
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

0
 

Author Comment

by:protege_g
ID: 12548962
I increased the message lenght size everywhere per your suggestion and also reduced the data load
and this did this solve the problem
Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question