I have the same question. Or at least a similar one.
The following is output to the logs.
java.io.IOException: PWC4662: Request header is too large
at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:723)
at org.apache.coyote.http11.InternalInputBuffer.parseHeader(InternalInputBuffer.java:640)
at org.apache.coyote.http11.InternalInputBuffer.parseHeaders(InternalInputBuffer.java:526)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.parseRequest(DefaultProcessorTask.java:701)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:566)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
I am using Apache httpd 2.2.6, with reverse proxy to glassfish V2ur2. I get this to happen when sending a long request URL (~4K). I suspect the proxied http message may contain a large header.
It is possible that glassfish throw this when parsing the request line as well.
What are the size limits for
* the request line
* any request header line
* the entire header
?
What configuration, if any, can be used to tweak these limits?
Thanks.
[Message sent by forum member 'jbelis' (jbelis)]
http://forums.java.net/jive/thread.jspa?messageID=275603