You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by rinotan <ri...@gmail.com> on 2013/01/10 06:28:44 UTC

Help in ActiveMQ 5.6 maxframesize configuration.

Hi Guys,

I would need help on the following.
Currently I'm using activemq 5.6 and trying to send files that is above
100MB. 
I understand that the default configuration for wireFormat.maxFrameSize is
100MB.

The configuration is as below:
<transportConnectors>
            <transportConnector name="openwire"
uri="tcp://0.0.0.0:61616?maximumConnections=1000&ampwireFormat.maxFrameSize=524288000"
discoveryUri="multicast/default"/>     
        </transportConnectors>

But I still encounters error stating when i try to send a file that is more
than 100MB:
Transport Connection to: tcp//10.2.3.4:50123 failed: java.io.IOexception:
Frame Size of 191 MB larger than max allowed 100MB.

I have changed the maxFrameSize settings to 524288000 (500MB) but it still
complain that I only set the size to 100MB.


Would greatly appreciate your help for this.
Thank you



--
View this message in context: http://activemq.2283324.n4.nabble.com/Help-in-ActiveMQ-5-6-maxframesize-configuration-tp4661585.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Help in ActiveMQ 5.6 maxframesize configuration.

Posted by rinotan <ri...@gmail.com>.
Any help will is deeply appreciated. Been stuck on this for a couple of days
now....



--
View this message in context: http://activemq.2283324.n4.nabble.com/Help-in-ActiveMQ-5-6-maxframesize-configuration-tp4661585p4662220.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Help in ActiveMQ 5.6 maxframesize configuration.

Posted by rinotan <ri...@gmail.com>.
Hi, I have check thoroughly that my client does not limit the size.
I tried setting the limit to 90mb and activemq are able to detect it and
give the following messages:

<transportConnectors> 
          <transportConnector name="openwire" 

uri="tcp://0.0.0.0:61616?maximumConnections=1000&ampwireFormat.maxFrameSize=94371840" 
 discoveryUri="multicast/default"/> 
         </transportConnectors>

Transport Connection to: tcp//10.2.3.4:50123 failed: java.io.IOexception: 
Frame Size of 191 MB larger than max allowed 90MB. 

but it does not detect maxFrameSize of up to 524288000.
It still prompts me this error message as:
Transport Connection to: tcp//10.2.3.4:50123 failed: java.io.IOexception: 
Frame Size of 191 MB larger than max allowed 100MB

Regards
rinotan



--
View this message in context: http://activemq.2283324.n4.nabble.com/Help-in-ActiveMQ-5-6-maxframesize-configuration-tp4661585p4661746.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Help in ActiveMQ 5.6 maxframesize configuration.

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

that looks strange, maybe your client is also using some setup that
keeps it at 100MB. The best thing to do is to enable debugging on
org.apache.activemq.transport package and see in the logs what they
negotiate.

You should see something like

2013-01-10 17:04:11,753 [0.1:61616@54421] - DEBUG WireFormatNegotiator
          - tcp://localhost/127.0.0.1:61616@54421 after negotiation:
OpenWireFormat{version=9, cacheEnabled=true, stackTraceEnabled=true,
tightEncodingEnabled=true, sizePrefixDisabled=false,
maxFrameSize=524288000}


Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosanac@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Thu, Jan 10, 2013 at 6:28 AM, rinotan <ri...@gmail.com> wrote:
> Hi Guys,
>
> I would need help on the following.
> Currently I'm using activemq 5.6 and trying to send files that is above
> 100MB.
> I understand that the default configuration for wireFormat.maxFrameSize is
> 100MB.
>
> The configuration is as below:
> <transportConnectors>
>             <transportConnector name="openwire"
> uri="tcp://0.0.0.0:61616?maximumConnections=1000&ampwireFormat.maxFrameSize=524288000"
> discoveryUri="multicast/default"/>
>         </transportConnectors>
>
> But I still encounters error stating when i try to send a file that is more
> than 100MB:
> Transport Connection to: tcp//10.2.3.4:50123 failed: java.io.IOexception:
> Frame Size of 191 MB larger than max allowed 100MB.
>
> I have changed the maxFrameSize settings to 524288000 (500MB) but it still
> complain that I only set the size to 100MB.
>
>
> Would greatly appreciate your help for this.
> Thank you
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Help-in-ActiveMQ-5-6-maxframesize-configuration-tp4661585.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.