activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucille Wilson (JIRA)" <>
Subject [jira] [Commented] (AMQ-4335) Cannot set maxFrameSize greater than 100MB
Date Fri, 22 Feb 2013 19:58:13 GMT


Lucille Wilson commented on AMQ-4335:

Dear Mr. Bish,

When I used your second Unit test I get socket exceptions.  So I tried another unit test which
I made, to try and stuff a string whose size is over 100MB into a TextMessage and I still
got a SocketException.  To view the SocketException, please unzip
 When you do, you'll see that I tried to overcome the socket exception by adding the socketBufferSize=157286400
parameter to the activemq.xml  <transportConnector name="openwire url.  But that didn't

I can't seem to get beyond this SocketException when I am running unit tests.  

So I ran my application again.  To see what problems my application is running into, please

The json I am generating is the same json as I had included in the previous posts.

When I run the application, I still get Frame size of 140 MB larger than max allowed 100 MB
	at org.apache.activemq.openwire.OpenWireFormat.unmarshal(
	at org.apache.activemq.transport.tcp.TcpTransport.readCommand(
	at org.apache.activemq.transport.tcp.TcpTransport.doRun(

I'd appreciate it if you could tell me what I can do to fix this problem.  Thank you.

Lucille Wilson

> Cannot set maxFrameSize greater than 100MB
> ------------------------------------------
>                 Key: AMQ-4335
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.8.0
>         Environment: Windows 2008 R2
>            Reporter: Pat Flaherty
>         Attachments:,,,,, amq4335.xml, amq4335.xml,
> Trying to send JSON messages greater then 100MB and I receive the error:
> Transport Connection to: tcp:// failed: Frame
size of 140 MB larger
>  than max allowed 100 MB
> I tried increasing the frame size in 5.8.0 as follows:
>         <transportConnectors>
>             <!-- DOS protection, limit concurrent connections to 1000 and frame size
to 100MB -->
>             <transportConnector name="openwire" uri="tcp://;wireformat.maxFrameSize=157286400"/>
>             <transportConnector name="amqp" uri="amqp://;wireformat.maxFrameSize=157286400"/>
>         </transportConnectors> 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message