-
1. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
baribal Jun 24, 2011 4:28 AM (in response to baribal)Haven't seen this behaviour? Anyone?
-
2. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
jfclere Jun 27, 2011 4:04 AM (in response to baribal)The code is jbossweb is different there. If you have an example how to trigger the error I am interrested.
-
3. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
baribal Jul 6, 2011 7:59 AM (in response to jfclere)I am sorry but we have ATG 9.1p4 deployed on top of JBoss 4.3.0.GA_CP08 and on top of ATG is deployed application. So just have no any idea for the simple test to provide to you. So this behaviour is not reproduced at all for you? Thanks.
-
4. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
jfclere Jul 7, 2011 3:47 AM (in response to baribal)I am not able to reproduce it. So if you get a debug log of mod_jk that would be nice.
-
5. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
baribal Jul 7, 2011 11:47 AM (in response to jfclere)Please find log attached. If it is not help, I can create another one with the wider time frame. Thanks.
-
mod_jk.log.zip 255.9 KB
-
-
6. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
jfclere Jul 8, 2011 3:55 AM (in response to baribal)I see a protocol error
05 01 (END REUSE)
CPING expect CPONG
03 00 00 (0 bytes of data = flush).
https://issues.apache.org/bugzilla/show_bug.cgi?id=49413 Are you sure you run 1.2.31 it should be fixed.
-
7. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
baribal Jul 8, 2011 4:26 AM (in response to jfclere)We were running with 1.2.30 and we are running now with 1.2.31. The same error in logs. Please find the new one attached.
-
mod_jk_log.tgz 491.6 KB
-
-
8. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
baribal Jul 8, 2011 4:49 AM (in response to baribal)[Fri Jan 28 11:51:12 2011][13243:47056718492416] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1336): received from ajp13 pos=0 len=2 max=32768
[Fri Jan 28 11:51:12 2011][13243:47056718492416] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1336): 0000 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
...
[Fri Jan 28 11:51:12 2011][13246:47056718492416] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1152): sending to ajp13 pos=4 len=5 max=16
[Fri Jan 28 11:51:12 2011][13246:47056718492416] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1152): 0000 12 34 00 01 0A 00 00 00 00 00 00 00 00 00 00 00 - .4..............
[Fri Jan 28 11:51:12 2011][13244:47056718492416] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1152): sending to ajp13 pos=4 len=5 max=16
[Fri Jan 28 11:51:12 2011][13244:47056718492416] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1152): 0000 12 34 00 01 0A 00 00 00 00 00 00 00 00 00 00 00 - .4..............
[Fri Jan 28 11:51:12 2011][13244:47056718492416] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1336): received from ajp13 pos=0 len=4 max=16
[Fri Jan 28 11:51:12 2011][13244:47056718492416] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1336): 0000 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
[Fri Jan 28 11:51:12 2011][13244:47056718492416] [warn] ajp_handle_cping_cpong::jk_ajp_common.c (906): awaited reply cpong, received 3 instead. Closing connection
So mod_jk received "05 01" from servlet container, then took another one connection from the pool and sent 2 cpings but received "03 00" instead of "09 00" from jbossweb. How can it be?
-
9. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
jfclere Jul 8, 2011 5:43 AM (in response to baribal)It is a warn, just reduce the log level to info
One application is doing a flush() after a close(), you should fix the application.
-
10. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
baribal Jul 22, 2011 8:50 AM (in response to jfclere)That's what I have found: https://issues.jboss.org/browse/JBPAPP-4409
I have just replaced OutputBuffer.class and OutputBuffer$1.class in jbosweb.jar 4.3.0.GA_CP08 version with the classes from 4.3.0.GA_CP09 version. And it fixed the problem.
PS So this was the problem of jbossweb itself or this fix is basically for crappy apps that is sending flush after close, so jbossweb could just handle it by itself?
-
11. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
jfclere Jul 22, 2011 9:19 AM (in response to baribal)The fix is for "crappy apps that is sending flush after close"
-
12. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
baribal Jul 22, 2011 10:19 AM (in response to jfclere)I have thought that it is the webserver is doing flush, close to the ajp connection but not the app. But if it is the app then after getting the close and flush from the app the webserver should send the close and the flush packets to the httpd. I guess after sending the close packet the flush packet is holding at the webserver output buffer and is sending with the next reply to some new request from the httpd (cping or GET etc.)?
-
13. Re: JBoss 4.3.0.GA_CP08/mod_jk 1.2.31/RHEL 5.5 64bit/HTTPD 2.2.3 - awaited reply cpong, received 3 instead
jfclere Jul 25, 2011 2:31 AM (in response to baribal)Yep that is probably the problem.