You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Tyson Lowery <ty...@gmail.com> on 2010/11/16 19:12:19 UTC

Buffer Overflow

I'm seeing this in my catalina.out log file.  I've been able to narrow 
the problem to a single JSP page, and the problem only happens with a 
single user when that user is using Windows XP/FireFox 3.6.12.   I've 
tested the page with XP/Firefox 3.6.3 and can't reproduce the issue.   
The JSP page reads and writes custom cookies.

Any ideas on what might be happening, or on how to get more information 
(like what is actually in the header)?

Nov 15, 2010 11:48:00 PM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Buffer overflow: buffer.len=8192 pos=8190 data=103
Nov 15, 2010 11:48:00 PM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Overflow
java.lang.Throwable
         at org.apache.jk.common.MsgAjp.cpBytes(MsgAjp.java:196)
         at org.apache.jk.common.MsgAjp.appendByteChunk(MsgAjp.java:170)
         at org.apache.jk.common.MsgAjp.appendBytes(MsgAjp.java:155)
         at 
org.apache.jk.common.JkInputStream.appendHead(JkInputStream.java:324)
         at org.apache.jk.core.MsgContext.action(MsgContext.java:266)
         at org.apache.coyote.Response.action(Response.java:183)
         at org.apache.coyote.Response.sendHeaders(Response.java:379)
         at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305)
         at 
org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
         at 
org.apache.catalina.connector.Response.finishResponse(Response.java:493)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:322)
         at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
         at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:774)
         at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
         at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:896)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:619)
Nov 15, 2010 11:48:00 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the 
request processing
java.lang.ArrayIndexOutOfBoundsException
Nov 15, 2010 11:48:00 PM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Buffer overflow: buffer.len=8192 pos=8190 data=103
Nov 15, 2010 11:48:00 PM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Overflow
java.lang.Throwable
         at org.apache.jk.common.MsgAjp.cpBytes(MsgAjp.java:196)
         at org.apache.jk.common.MsgAjp.appendByteChunk(MsgAjp.java:170)
         at org.apache.jk.common.MsgAjp.appendBytes(MsgAjp.java:155)
         at 
org.apache.jk.common.JkInputStream.appendHead(JkInputStream.java:324)
         at org.apache.jk.core.MsgContext.action(MsgContext.java:266)
         at org.apache.jk.core.MsgContext.action(MsgContext.java:302)
         at org.apache.coyote.Response.action(Response.java:183)
         at org.apache.coyote.Response.finish(Response.java:305)
         at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:195)
         at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
         at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:774)
         at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
         at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:896)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:619)
Nov 15, 2010 11:48:00 PM org.apache.jk.common.ChannelSocket 
processConnection
SEVERE: Error, processing connection
java.lang.ArrayIndexOutOfBoundsException


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: Buffer Overflow

Posted by Tyson Lowery <ty...@gmail.com>.
My apologies, I saw the word common in the log and thought it was commons.

On 11/16/2010 10:16 AM, Mark Thomas wrote:
> On 16/11/2010 18:12, Tyson Lowery wrote:
>> I'm seeing this in my catalina.out log file.
> That suggests that this is an Apache Tomcat question. You want the
> Apache Tomcat users list. This is the Apache Commons users list.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: Buffer Overflow

Posted by Mark Thomas <ma...@apache.org>.
On 16/11/2010 18:12, Tyson Lowery wrote:
> I'm seeing this in my catalina.out log file.

That suggests that this is an Apache Tomcat question. You want the
Apache Tomcat users list. This is the Apache Commons users list.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org