Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-14 Thread Brett Delle Grazie
On Tue, 2010-09-14 at 07:50 +0200, Mladen Turk wrote: > On 09/14/2010 12:28 AM, Brett Delle Grazie wrote: > >> > >> Detaching AJP streams from the servlet and using them > >> as a OutputStream is not very well handled in Tomcat. > >> I suppose if using APR the entire thing would even crash the JVM.

Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Mladen Turk
On 09/14/2010 12:28 AM, Brett Delle Grazie wrote: Detaching AJP streams from the servlet and using them as a OutputStream is not very well handled in Tomcat. I suppose if using APR the entire thing would even crash the JVM. Trying to deal with that on mod_jk side would have my strong -1. And

Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Brett Delle Grazie
On Mon, 2010-09-13 at 19:41 +0200, Mladen Turk wrote: > On 09/13/2010 07:15 PM, Brett Delle Grazie wrote: > > > > Our problem is that in a servlet that retrieves a file that is then sent > > to the client we are receiving a 'flush' message _after_ the > > END_RESPONSE message. On the next request,

Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Mladen Turk
On 09/13/2010 07:15 PM, Brett Delle Grazie wrote: Our problem is that in a servlet that retrieves a file that is then sent to the client we are receiving a 'flush' message _after_ the END_RESPONSE message. On the next request, mod_jk sees this a breach in the protocol, closes the socket and resu

Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Brett Delle Grazie
Hi, I'm top posting because I have more details and better logs. I've change the thread title accordingly. Environment is the same as the original post, with the exception that I have applied the patch Rainer suggested so that mod_jk provides more information when a protocol error is detected. C

Re: unusual mod_jk 1.2.30 log messages

2010-09-09 Thread Brett Delle Grazie
On Thu, 2010-09-09 at 09:18 +0100, Brett Delle Grazie wrote: > On Tue, 2010-09-07 at 08:00 +0100, Brett Delle Grazie wrote: > > On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > > > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > > > Hi, > > > > > > > > We're having some strange errors bei

Re: unusual mod_jk 1.2.30 log messages

2010-09-09 Thread Brett Delle Grazie
On Tue, 2010-09-07 at 08:00 +0100, Brett Delle Grazie wrote: > On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > > Hi, > > > > > > We're having some strange errors being reported in the 1.2.30 version of > > > mod_jk. We think they might b

Re: unusual mod_jk 1.2.30 log messages

2010-09-07 Thread Brett Delle Grazie
On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > Hi, > > > > We're having some strange errors being reported in the 1.2.30 version of > > mod_jk. We think they might be related to the performance issues we're > > experiencing under load. >

Re: unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Brett Delle Grazie
On Thu, 2010-09-02 at 12:39 +0100, Brett Delle Grazie wrote: > Hi, > > We're having some strange errors being reported in the 1.2.30 version of > mod_jk. We think they might be related to the performance issues we're > experiencing under load. > > OS: RHEL 5.5 (fully patched) > Apache HTTPD: 2.2

Re: unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Rainer Jung
On 02.09.2010 13:39, Brett Delle Grazie wrote: Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3 (from OS vendor) mod_jk:

unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Brett Delle Grazie
Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3 (from OS vendor) mod_jk: 1.2.30 (downloaded from Tomcat site and compiled