Setting MAX message size

Hello-
I am using Sun ONE MQ 3.5. I have a need to send large messages in some rare instances. One such message is about 20MB. Potentially, these messages could be of any size however.
I have set the following properties in my config.properties and restarted the imq broker
imq.system.max_count=-1
imq.system.max_size=-1
imq.log.level=DEBUG
imq.message.max_size=-1
However, when I attempt to send a message of this size, I get the following error in my imqbroker logs:
[08/Jul/2004:09:23:12 CDT] WARNING [B2011]: Storing of JMS message from IMQConn[AUTHENTICATED,[email protected]:1216,jms:1193] failed:
com.sun.messaging.jmq.jmsserver.util.BrokerException: [B4122]: Can not store message 10-10.1.1.65(de:a1:a5:c4:67:27)-1216-1089296592204 on destination directDestination35 [Queue] because the packet size of 19475250 bytes is larger than the message limit of 10485760 bytes.
The size, according to this, is most definitely not unlimited. I can compress these files before adding them to the message body, but there is still the potentially that even a compressed file can exceed this 10MB limit. Also, I can devise an alternate route over sockets or something, but that complicates the solution quite a bit and I'd rather not.
Any suggestions are greatly appreciated.
Thanks!
troy

Troy,
Try using 0 as the imq.system.max_size property.
http://docs.sun.com/source/816-5922-10/imq_sys.html#37368
I know that this used to be the "no limit" value and I think you are correct that it changed to -1. However I just checked the maual for 3.5 and on page 134 it still seems to say that 0 means "no limit".
Hope this helps!
Tom Jenkinson
Arjuna Technologies Limited

Similar Messages

  • Jms max message size

    I have seen some previous posts but have not found any answers. I am having problems with the onMessage method of a MDB. I am getting a java.lang.OutOfMemoryError for particularly large TextMessages...(2 megs)..Is there a setting somewhere to allow for large messages?
              Thanks for your help.
              

    Hi Karen,
              There is no max-message-size by default, except at the network
              layer of WL outside of JMS (10MB). You are simply running out
              of JVM memory. Increase the amount of memory for your server,
              perhaps decrease the number of MDB instances in your pool, and consider
              decreasing the size of the message backlog. Extra memory is consumed
              in the backlog of messages that have been passed to the MDB
              but haven't been passed to onMessage yet. You can configure the max
              size of this backlog (which defaults to a size of 10) by configuring
              a custom connection factory for the MDB, specifying the JNDI name
              of the custom connection factory in the weblogic descriptor,
              and setting the custom connection factory's "MessagesMaximum" lower.
              If you are creating a custom connection factory for topic MDBs
              be sure to set the acknowledge policy to "before".
              Tom
              P.S. Also consider compressing your messages in your application
              prior to passing them into JMS. Text tends to compress hugely.
              P.P.S. Just in case you don't realize - java Strings consume
              2 bytes per character.
              Karen wrote:
              > I have seen some previous posts but have not found any answers. I am having problems with the onMessage method of a MDB. I am getting a java.lang.OutOfMemoryError for particularly large TextMessages...(2 megs)..Is there a setting somewhere to allow for large messages?
              >
              > Thanks for your help.
              

  • Set max fetch size on application module

    Is there a way to set max fetch size on application module level, rather then setting it for every view object separately? I don't want to allow any of my view objects in application module to fetch more then 1000 rows.

    Hi,
    Tools-->... contains option for setting rows in batches of... , but doesn't contain option for setting max fetch size. I guess I'll have to do it in implementation class for view objects... Thanks anyway
    Dragana

  • Modify Max Message Size for particular users

    I have been requested to permit a group of users (identified with email accounts) to receive emails up to 30 MB. I have check that I have to make modifications in the HAT.
    I think the only solution should be to create new policies:
    Trusted-new
    Blocked-new
    Throttled-new
    Accepted-new
    and in every policy permit a Max Message Size of 30MB. After that, every user should be able to receive 30 MB emails.
    Is there a way to permit that only for a group of receiving users, without considering the sender?
    I would be glad if anybody get me a clue, thanks!!
    Sergio

    You would have to accept the message in the HAT and then use an Incoming Mail Policy to select recipient addresses. Add a content filter to that policy to select on size.
    Since it sounds like only a few users should be able to recieve large messages you could use two policies.
    1) Large message recipient policy
    message size < 30mb, Action=DeliverNow
    2) Default policy
    If message > 10mb, Action=Bounce
    You just can't bounce the messages right in the SMTP conversation is the only real limitation.

  • WLS7 JMS Max Message Size

              I have done a search and found many questions on Max Message size, but I didnt
              find any relating specifically to WLS7.
              Q1: Is there a JMS Message Size limit the same as the T3 Max Message size?
              Q2: Does the WLS JMS implementation "chunk" large JMS messages into multiple T3
              messages?
              Cheers,
              Nick
              

    Hi Nick,
              The performance is hard to predict. It is highly dependent on message
              type, application overhead, persistence, store type, CPU and network
              speed, etc., so you will need to measure it yourself. I think you will
              find that once message size exceeds 100K, perhaps less, perhaps more,
              JMS throughput is directly proportional to message size. (eg. it takes
              the same amount of time to send 10 100K messages as it does to send 1
              1MB message.)
              I understand what your "chunking" question were about now. You may
              find it useful to know that since its earliest releases, WebLogic
              outbound requests from one JVM to another are "single threaded" from a
              layered application's point of view: outbound traffic from one
              application must wait until previous requests posted by other apps are sent.
              Tom, BEA
              Nick Minutello wrote:
              > Thanks Tom, for the answers.
              >
              > My questions, I guess, are getting to the bottom of whether I can send huge messages
              > over WLS JMS - in the region of 10's of megabytes.
              >
              > Naturally, I can always send smaller messages - but there are occasions where
              > I have very large messages (files, in fact) and I prefer to have all processing
              > on the server side rather than the JMS client side.
              >
              > What are your thoughts?
              >
              > -Nick
              >
              >
              > Tom Barnes <[email protected]> wrote:
              >
              >>Hi Nick,
              >>
              >>Nick Minutello wrote:
              >>
              >>>I have done a search and found many questions on Max Message size,
              >>
              >>but I didnt
              >>
              >>>find any relating specifically to WLS7.
              >>>
              >>>Q1: Is there a JMS Message Size limit the same as the T3 Max Message
              >>
              >>size?
              >>
              >>Up to 7.0 there is no configurable for JMS max message size. In 8.1
              >>
              >>(public beta soon) it can be configured on the JMS server and/or on the
              >>
              >>JMS destination. In either case, the T3 max message size is a limiting
              >>
              >>factor.
              >>
              >>One thing to be aware of is that WL JMS aggregates asynchronous messages
              >>
              >>when pushing from server to asynchronous consumers - producing larger
              >>T3
              >>messages which can hit the T3 max limit. The number of messages that
              >>
              >>get aggregated is configurable on the WL connection factory
              >>(MessagesMaximum).
              >>
              >>
              >>>Q2: Does the WLS JMS implementation "chunk" large JMS messages into
              >>
              >>multiple T3
              >>
              >>>messages?
              >>
              >>Yes and No. (WebLogic "chunks" internally at the T3 layer, not the JMS
              >>
              >>layer.)
              >>
              >>
              >>>Cheers,
              >>>Nick
              >>
              >>Tom, BEA
              >>
              >
              >
              

  • MMS Max Message Size

    How do you access mms max message size with iOS7 on an iPhone 5? Thanks!

    FoxFifth wrote:
    The following indicates that the MMS standard does not specify a maximum size but 300 kB is the current recommended maximum size used by networks. http://en.wikipedia.org/wiki/Multimedia_Messaging_Service
    Well after viewing this youtube video with the iPhone 4s i thought i could find the Max Message size feature"

  • Max Message Size Outlook 2007

    Hello, and using Outlook 2007 and I need to set a max size message warning or blocking before send the email, Can I do this? do I need to modify the registry with a new key? thanks
    note OS. is Windows 7.

    Hi
    There is no maximum message size but there are some server and communication dependent consideration like memory,bandwidth etc

  • Bubble graph - set max bubble size?

    Hi
    How can I set a max/min size for bubbles in a bubble graph? As users filter data sets the bubbles grow so large that the graph is hard to read. I would hope the API allows me to set these and let the graph code figure out the relative sizes within these bounds.
    thanks
    John

    Hi RC,
    may be you can add a legend view to your report to give some extra info?

  • WL5.1 max message size

              Does anyone know the practical JMS message size limit in weblogic 5.1? Can I send
              a 10 meg message? 20 meg?
              While we're on the subject, how does wl7 preform with similar sized messages?
              (we're actually sending messages from wl7 to wl5.1 via the bridge)
              Thanks
              

    fred bloggs wrote:
              > Does anyone know the practical JMS message size limit in weblogic 5.1? Can I send
              > a 10 meg message? 20 meg?
              I think this question came up recently - I think there is no
              5.1 configurable but I'm not 100% sure. The related 6.0
              and up configurable is a network setting on the WL server
              (defaults to 10MB) for the particular protocol you
              are using (t3). There is no practical limit in message
              size except for memory limitations
              of the JVM (2GB), except that it impacts performance.
              You might try
              the "performance" newsgroup to see if there is a 5.1
              configurable.
              >
              > While we're on the subject, how does wl7 preform with similar sized messages?
              > (we're actually sending messages from wl7 to wl5.1 via the bridge)
              In general each release performs the same as or significantly
              better than previous releases.
              For JMS performance tuning
              info, including bridge tuning info,
              I highly recommend skimming through the JMS Performance
              Guide white-paper. You can find it here:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              >
              > Thanks
              >
              >
              >
              >
              

  • Max message size with Mail 2.0.5?

    What's the max size for a sent mail message? I've tried 5 MB and that doesn't work--and archiving using File>Create Archive only reduces by ~20%.
    AlBook 15 1.67 GHz, 1GB RAM, 128MB VRAM, 80GB HD, single-layer SD [7/12/05]   Mac OS X (10.4.3)  

    The maximum size for a mail message (received and sent) is determined by your ISP or email account provider.
    A .Mac account has a 10MB overall message size limit for each received and sent message but if you send a message that is 9.5MB and the recipient's ISP or email account provider imposes a 5MB limit for received messages, the message will be rejected by the recipient's incoming mail server.
    In addition, all message attachments must be encoded before being sent. The Mail.app uses MIME 1.0 for message encoding which is the internet standard.
    As a general rule, MIME encoded binary file attachments are approximately 150% of the size of the original pre-encoded file, i.e. a 5MB file can easily exceed 7.5MB once encoded and attached to an email.
    You need to check with your ISP or email account provider regarding their restriction for the overall size of a sent message and you also need to check with the recipient to confirm they can receive a message with the overall size of the message after any attachments are encoded by the Mail.app.

  • How to set  max-heap-size outside the jnlp file?

    Due to bug_id=6631056 It may not be possible to specify max-heap-size within
    the JNLP file for certain jnlp java applications.
    Are there other possibilities to specify this Jvm parameter?
    In the ControlPanel there is the possibility to specify Xmx for applets but not for jnlp.
    I have tried to add properties like
    "deployment.javaws.jre.0.args=Xmx\=128M" without success
    Many thanks

    Even in JNLP also you can specify the max heap size
    <j2se version="1.5+" initial-heap-size="128m" max-heap-size="512m"/>
    Thanks,
    Suresh
    [http://sureshdevi.co.in|http://sureshdevi.co.in]

  • Max. message size a Webservice can handle

    Hi,
    What is the maximum message size a webservice can take it as input (request ).
    Thanks,
    avis

    Hi
    There is no maximum message size but there are some server and communication dependent consideration like memory,bandwidth etc

  • Max message size JMS

    does any one knows how to increase the max size of the JMS messages in sun application server 9?
    best regards,

    In the configuration file config.properties, add the following.
    imq.autocreate.destination.maxBytesPerMsg=-1
    imq.autocreate.destination.maxTotalMsgBytes=-1
    See if that works. If the queues already exist delete them or change them manually using the mqadmin console.

  • How to dynamically set max-rss size for a local zone?

    Running solaris 10 05/08.
    Following situation: Three local zones in a Veritas cluster. The zones
    can fail over but normally not all three are on the same physical box.
    I want to be able to restrict physical memory usage for the zones in
    situations where certain combinations of them end up on the same
    physical box. So, I need to be able to dynamically change memory
    resources. I know how to do this with, for example locked memory:
    prctl -n zone.max-locked-memory -r -v <mem> `pgrep -z <zone name>
    init`
    but i need to do this for physical memory and I can't see that there
    is a zone resource for this? I thought this was added in 05/08?

    Hi
    You can do this by using rcapd from the global zone
    - start rcapd from the global zone:
    svcadm enable svc:/system/rcap:default
    - set a physical memory caping value for each zone
    rcapadm -z your_zone -m max_rss_value
    - check the memory use for all the zone capped
    rcapstat -gz
    You can set the rss capping value in the zone configuration:
    # zonecfg -z your_zone
    zonecfg:busi-app-prod> add capped-memory
    zonecfg:busi-app-prod:capped-memory> set physical=900m
    zonecfg:busi-app-prod:capped-memory> end
    zonecfg:busi-app-prod> verify
    zonecfg:busi-app-prod> commit
    zonecfg:busi-app-prod> exit
    This will be take in account at the next reboot of this zone.
    Have a also a look to rcapadm to tune rcapd
    Bye
    Fred

  • How to restrict max message size in outlook?

    hi all
    libimta.so 5.2 (built 15:07:23, Feb 21 2002)
    SunOS sundb2 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Fire-880

    Several thoughts:
    1. You're using the original 5.2 released bits. We have released MANY updates since then. With hundreds of fixes. You should REALLY download and install 5.2p2 patch update. Takes 15 minutes:
    http://www.sun.com/download/products.xml?id=411bb50d
    2. You question, "in outlook" makes answering very difficult. Messaging Server doesn't know Outlook as something different from any other client application. Are you asking, "how do I limit the size of ALL messages handled by the server?", or are you asking something else? If this is the question you're really asking, I can answer that for you. If it's not, please clarify, co I can understand what it is you want.

Maybe you are looking for

  • Few questions about upgrading database

    Hi everyone, greetings of the day I have few questions about the upgrading database, In export and import mode 1.can we have new name for the target database, 2.I think we need to create tablespaces ,do we need to create users as well 3.If we are upg

  • What plugins are compatible with the Tree?

    In Flash 8 the help files for the Tree Component have flash 8 Professional written at the top. Where does it show the compatible Flash plugins for the Tree Component. It is compatible for Flash 7 or 6 plugins? Cheers.

  • Urgent: MediaSource Install Question!!

    Can i install MediaSource with the analyze feature by its self, with out having any of the players? and if or if not, what do i have to do to get it

  • I have a palm tungsten E2. It is stuck in one place.

    It keeps telling me to tap exactly on the center of the target and I do it over and over  and it repeats just keeps repeating itself.  Thanks for your help! Post relates to: Palm Z22

  • Printing A9 envelope (5 3/4" X 8 3/4") with Photosmart C6380

    Unable to print subject envelope without downloading 990C driver.  Is there an easier way or does anyone know of a printer that will support this size envelope.  Use with Hallmark and Greeting Card Factory Deluxe software