I know that this question is very old, but since some people might still encounter this problem with this version of ActiveMQ (like it happened to me today), I am posting here the solution that I found, hoping that it will help other users which use the web search for finding a solution to this exception:
First of all, the "problem" is caused by Jetty, on which ActiveMQ is based. Here you can find more documentation on configuring the form size parameter in Jetty: http://wiki.eclipse.org/Jetty/Howto/Configure_Form_Size Unfortunately, it is not clear where to configure this inside ActiveMQ. I have tried creating a jetty-web.xml file inside apache-activemq-5.9.0/webapps/admin/WEB-INF, but it did not work. In the end my solution was to edit apache-activemq-5.9.0/bin/win64/wrapper.conf and add the following line after wrapper.java.additional.15=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config wrapper.java.additional.16=-Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000 If you are running on a 32 bit computer, then please add the same line in apache-activemq-5.9.0/bin/win32/wrapper.conf -- View this message in context: http://activemq.2283324.n4.nabble.com/Jetty-Server-Form-too-large-error-help-tp2968414p4700336.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.