users@glassfish.java.net

Re: Request header is too large

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 14 May 2009 14:01:09 -0400

Salut,

the proper solution is to add the following property under http-listener:

<property name="maxPostSize" value="">

Thanks

-- Jeanfrancois

glassfish_at_javadesktop.org wrote:
> I had the same problem, and was able to get around it by increasing the receive-buffer-size-in-bytes parameter in the domain.xml config file. The default (in Glassfish 2.1) is 4096; I had to use a much larger value for my application.
>
> <connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
> [Message sent by forum member 'jparrpearson' (jparrpearson)]
>
> http://forums.java.net/jive/thread.jspa?messageID=346319
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>