Skip to Main Content



For appeals, questions and feedback, please email

AJP: Buffer size too small

user10982522Nov 13 2014


I'm new to OTN so forgive (and advise) if I'm mis-posting.

We run Oracle Application Server/OC4J on Linux Red Hat 4.1.2-54 64bit. Each OC4J JVM of about 125 instances accommodates around 100 active user sessions. They're moderately large at around 10GB, but it varies by customer group allocation. I can give details as needed about the topology and architecture.

Occasionally we see:

Caused by: java.lang.IllegalStateException: IOException: AJP: Buffer too small ...

        at com.evermind.server.http.EvermindHttpServletRequest.getParameter(

        [... our code stack ...]

In over 97% of the cases, this exception happens twice within a few milliseconds, and the exceptions are for different http sessions (i.e., requests different JSESSIONIDs).

We have looked at this article How to Increase HTTP Header Size to Prevent Server Limit Errors(Doc ID 819301.1)

And have done some testing, however had to undo the suggested mods because we have occasional large payloads containing audio data.(Note that the Exceptions don't occur as part of the audio data however.)

Does anyone have some ideas as to:

- What could be causing this?

- Why it seems to correlate between distinct HTTP sessions?

- How to address it?

Thanks for any thoughts.


Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2014
Added on Nov 13 2014