ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MSG TOO BIG FOR CHANNEL with MQ7.0

Post new topic  Reply to topic
 MSG TOO BIG FOR CHANNEL with MQ7.0 « View previous topic :: View next topic » 
Author Message
JohnRodey
PostPosted: Tue Apr 22, 2008 7:42 am    Post subject: MSG TOO BIG FOR CHANNEL with MQ7.0 Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Tue Apr 22, 2008 8:14 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
bower5932
PostPosted: Tue Apr 22, 2008 8:19 am    Post subject: Re: MSG TOO BIG FOR CHANNEL with MQ7.0 Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
JohnRodey
PostPosted: Tue Apr 22, 2008 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message
markt
PostPosted: Tue Apr 22, 2008 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message
JohnRodey
PostPosted: Tue Apr 22, 2008 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Tue Apr 22, 2008 10:46 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

JohnRodey wrote:
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?

here you go:

http://www-128.ibm.com/developerworks/forums/forum.jspa?forumID=1254&start=0
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Nigelg
PostPosted: Tue Apr 22, 2008 11:04 am    Post subject: Reply with quote

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
View user's profile Send private message
JohnRodey
PostPosted: Wed Apr 23, 2008 11:05 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 23, 2008 3:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
JohnRodey
PostPosted: Fri Apr 25, 2008 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 25, 2008 2:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat Apr 26, 2008 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Sat Apr 26, 2008 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Sat Apr 26, 2008 10:36 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MSG TOO BIG FOR CHANNEL with MQ7.0
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.