Author |
Message
|
JohnRodey |
Posted: Tue Apr 22, 2008 7:42 am Post subject: MSG TOO BIG FOR CHANNEL with MQ7.0 |
|
|
 Centurion
Joined: 13 Apr 2005 Posts: 103
|
I'm using WebSphereMQ 7.0 beta with JMS Pub/Sub.
When writing a message over 4Megs I get the MSG_TOO_BIG_FOR_CHANNEL message. I have updated my channels MAXMSGL to 16Megs, updated my QMGR and still I get the same error. It appears that Pub/Sub works very differently in 7.0 than prior releases. I changed any queue definitions that looked promising to increase their MAXMSGL field. Still no luck.
Has anyone used 7.0 yet? any ideas? |
|
Back to top |
|
 |
Michael Dag |
Posted: Tue Apr 22, 2008 8:14 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
what channel are you referring to?
a channel between client and server (svrconn using mqserver variable) or server server channel like a sdr-rcvr ? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Apr 22, 2008 8:19 am Post subject: Re: MSG TOO BIG FOR CHANNEL with MQ7.0 |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
JohnRodey wrote: |
I changed any queue definitions that looked promising to increase their MAXMSGL field. |
Which specific queue definitions did you change? Also, you mentioned channels. Does this mean qmgr to qmgr or client to qmgr? |
|
Back to top |
|
 |
JohnRodey |
Posted: Tue Apr 22, 2008 8:52 am Post subject: |
|
|
 Centurion
Joined: 13 Apr 2005 Posts: 103
|
I changed my SVRCONN channel to have a MAXMSGL of 16 MB. I altered just about every SYSTEM.* queue on the system, except those that I thought made absolutely no difference like the PERFM.EVENT and some of the default clustering queues. |
|
Back to top |
|
 |
markt |
Posted: Tue Apr 22, 2008 8:57 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
questions about the V7 beta should be addressed to the V7 beta forum, not here. There's more chance of a developer seeing it then. |
|
Back to top |
|
 |
JohnRodey |
Posted: Tue Apr 22, 2008 10:28 am Post subject: |
|
|
 Centurion
Joined: 13 Apr 2005 Posts: 103
|
Can you link me to that forum? Is that an IBM forum?
This is driving me crazy. Has anyone configured v7.0 for pub/sub? |
|
Back to top |
|
 |
Michael Dag |
Posted: Tue Apr 22, 2008 10:46 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
Nigelg |
Posted: Tue Apr 22, 2008 11:04 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Have you defined a CLNTCONN with MAXMSGL > 4Mb, or are you passing an MQCD into MQCONNX with MAXMSGL > 4Mb? If you are doing neither of those, but are using tne MQSERVER env var to connect, the MAXMSGL of the default client channel is 4Mb. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
JohnRodey |
Posted: Wed Apr 23, 2008 11:05 am Post subject: |
|
|
 Centurion
Joined: 13 Apr 2005 Posts: 103
|
I have created a sample that attempts to write message via JMS Topic Publisher, JMS Queue Sender and MQ API put.
The JMS Topic Publisher and Queue Sender each fail when sending a message over 4MB. The WebSphereMQ API test does not fail! It can send messages up to 16MB which is my current setting on my queues, qmgr and channels. The WebSphereMQ API sample writes to the same queue and across the same channel as my JMS Queue Sender.
Do I have to change JNDI settings??? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 23, 2008 3:06 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
JohnRodey wrote: |
I have created a sample that attempts to write message via JMS Topic Publisher, JMS Queue Sender and MQ API put.
The JMS Topic Publisher and Queue Sender each fail when sending a message over 4MB. The WebSphereMQ API test does not fail! It can send messages up to 16MB which is my current setting on my queues, qmgr and channels. The WebSphereMQ API sample writes to the same queue and across the same channel as my JMS Queue Sender.
Do I have to change JNDI settings??? |
You need to change the JNDI settings on the connection factory. Pass the file url for the channel table to it. Otherwise by default you bounce back down to 4 MB channel.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
JohnRodey |
Posted: Fri Apr 25, 2008 5:40 am Post subject: |
|
|
 Centurion
Joined: 13 Apr 2005 Posts: 103
|
I shouldn't need to point to the channel table right? My client runs on a different node and I tried this exact same problem on v6.0 and everything works fine. My TCF does point to a channel that has been increased.
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 25, 2008 2:56 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
JohnRodey wrote: |
I shouldn't need to point to the channel table right? My client runs on a different node and I tried this exact same problem on v6.0 and everything works fine. My TCF does point to a channel that has been increased.
Thanks |
In order to get both sides of the channel set for over 4MB you HAVE to use the chl table. Otherwise the channel negotiates the lower of the client/svrconn and the default client is set for 4MB max... @ least in V6.0... I don't expect that behavior to be different in V7...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Apr 26, 2008 6:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I really don't think the default channel maxmsgln with MQSERVER applies to Java or JMS, given that the Java client API is not using the same codebase that MQSERVER applies to.
I really think that JohnRodey needs to follow the advice of markt and follow up with this on the beta forum. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Sat Apr 26, 2008 11:57 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
fjb_saper wrote: |
In order to get both sides of the channel set for over 4MB you HAVE to use the chl table. |
For Java, the answer is no. No client channel table needed.
You can put up to 100MB messages using Java applications, as long as the following are ture:
- QMgr's MAXMSGL is set to 100MB
- Queue's MAXMSGL is set to 100MB
- DLQ's MAXMSGL is set to 100MB
- SVRCONN channel has MAXMSGL set to 100MB
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Apr 26, 2008 10:36 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I learn every day. Thanks for correcting me guys... _________________ MQ & Broker admin |
|
Back to top |
|
 |
|