Hi,

> -----Original Message-----
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Thursday, January 17, 2013 1:11 PM
> 
> On 17/01/2013 11:07, Steve Mactaggart wrote:
> > Hi All,
> >
> > I have been hunting a BufferOverflowException on our production system
for
> > the last while, and initially thought this was resolved by issue 53119,
we
> > have subsequently upgraded to 7.0.32 and have still seen the issues.
> >
> > Reading through the mailing list archive it seems I am not the only one
> > having issues with the NIO AJP Processor.

Yes, I got these BufferOverflowExceptions when switching from AJP-APR to
AJP-NIO.
I added a comment to the bug for the AJP-APR connector:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53119


Mark,

> The two possibilities at this point are:
> a) Tomcat bug
> b) Application bug
> 
> b would be caused by something (e.g. servlet, filter) retaining a
> reference to a request and using it after the request had finished
> processing.
> 
> If you set the following system property:
> org.apache.catalina.connector.RECYCLE_FACADES
> 
> to true (e.g. in setenv.[bat|sh]) and your application is retaining
> references you should start to see NPEs and the stack trace should point
> to where the problem is.
> 
> If you still see BufferOverflowException with that setting in place then
> that would make a Tomcat bug more likely.

I'm certain that my applications don't retain references to request objects,
but I will also try your suggestion with setting the RECYCLE_FACADES
property and switching back to the AJP-NIO connector, to see if these
BufferOverflowExceptions still occur.

Thanks!


Regards,
Konstantin Preißer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to