[jboss-jira] [JBoss JIRA] Updated: (JBWEB-91) AJP implementation broken : ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message

Michal Borowiecki (JIRA) jira-events at lists.jboss.org
Wed Aug 29 06:48:18 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBWEB-91?page=all ]

Michal Borowiecki updated JBWEB-91:
-----------------------------------

    Description: 
When response is greater than about 225 kB an error is detected on Apache side in mod_jK:

last normal log entry:
[Wed Aug 29 11:24:57 2007] [97923:0000] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 03f0    75 6C 74 3D 64 6F 63 75 6D 65 6E 74 2E 66 6F 72  - ult=document.for

then error:
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x743d from 192.168.0.34:8139
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_get_reply::jk_ajp_common.c (1556): Tomcat is down or network problems. Part of the response has already been sent to the client
[Wed Aug 29 11:24:57 2007] [97923:0000] [info]  ajp_service::jk_ajp_common.c (1751): Receiving from tomcat failed, recoverable operation attempt=1
[Wed Aug 29 11:24:57 2007] [97923:0000] [info]  ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed,  recoverable operation attempt=2
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=server3 failed

At another time the error message said:
[Wed Aug 29 11:02:26 2007] [84055:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x2263
or
[Wed Aug 29 11:02:32 2007] [34375:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x656c

JBoss logs show a normal response sent: 
[29/Aug/2007:11:02:24 +0200] "GET /is/transactions.jsf HTTP/1.1" 200 373004
[29/Aug/2007:11:02:30 +0200] "POST /is/transactions.jsf HTTP/1.1" 200 372579

Apache logs show an error:
[29/Aug/2007:11:02:26 +0200] "GET /is/transactions.jsf HTTP/1.1" 503 265
[29/Aug/2007:11:02:32 +0200] "POST /is/transactions.jsf HTTP/1.1" 503 265

The same Apache/mod_jk configuration works fine talking to JBoss-4.0.5.GA so the bug must be jboss web server specific.

  was:
When response is greater than abount 225 kB and error is detected on Apache side in mod_jK:

last normal log entry:
[Wed Aug 29 11:24:57 2007] [97923:0000] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 03f0    75 6C 74 3D 64 6F 63 75 6D 65 6E 74 2E 66 6F 72  - ult=document.for

then error:
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x743d from 192.168.0.34:8139
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_get_reply::jk_ajp_common.c (1556): Tomcat is down or network problems. Part of the response has already been sent to the client
[Wed Aug 29 11:24:57 2007] [97923:0000] [info]  ajp_service::jk_ajp_common.c (1751): Receiving from tomcat failed, recoverable operation attempt=1
[Wed Aug 29 11:24:57 2007] [97923:0000] [info]  ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed,  recoverable operation attempt=2
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=server3 failed

At another time the error message said:
[Wed Aug 29 11:02:26 2007] [84055:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x2263
or
[Wed Aug 29 11:02:32 2007] [34375:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x656c

JBoss logs show a normal response sent: 
[29/Aug/2007:11:02:24 +0200] "GET /is/transactions.jsf HTTP/1.1" 200 373004
[29/Aug/2007:11:02:30 +0200] "POST /is/transactions.jsf HTTP/1.1" 200 372579

Apache logs show an error:
[29/Aug/2007:11:02:26 +0200] "GET /is/transactions.jsf HTTP/1.1" 503 265
[29/Aug/2007:11:02:32 +0200] "POST /is/transactions.jsf HTTP/1.1" 503 265

The same Apache/mod_jk configuration works fine talking to JBoss-4.0.5.GA so the bug must be jboss web server specific.


fixed typoos

> AJP implementation broken : ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message
> ------------------------------------------------------------------------------------------------
>
>                 Key: JBWEB-91
>                 URL: http://jira.jboss.com/jira/browse/JBWEB-91
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: Linux 2.6.20-gentoo-r8 #1 SMP
> jbossweb-1.0.1.GA-linux2-i686.tar.gz
> sun-jdk-1.5.0.11 and sun-jdk-1.6.0.01
> Apache: Apache/1.3.37
> JK: mod_jk/1.2.18
>            Reporter: Michal Borowiecki
>         Assigned To: Mladen Turk
>             Fix For:  JBoss Web Server 1.0.1 GA
>
>
> When response is greater than about 225 kB an error is detected on Apache side in mod_jK:
> last normal log entry:
> [Wed Aug 29 11:24:57 2007] [97923:0000] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 03f0    75 6C 74 3D 64 6F 63 75 6D 65 6E 74 2E 66 6F 72  - ult=document.for
> then error:
> [Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x743d from 192.168.0.34:8139
> [Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_get_reply::jk_ajp_common.c (1556): Tomcat is down or network problems. Part of the response has already been sent to the client
> [Wed Aug 29 11:24:57 2007] [97923:0000] [info]  ajp_service::jk_ajp_common.c (1751): Receiving from tomcat failed, recoverable operation attempt=1
> [Wed Aug 29 11:24:57 2007] [97923:0000] [info]  ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed,  recoverable operation attempt=2
> [Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=server3 failed
> At another time the error message said:
> [Wed Aug 29 11:02:26 2007] [84055:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x2263
> or
> [Wed Aug 29 11:02:32 2007] [34375:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x656c
> JBoss logs show a normal response sent: 
> [29/Aug/2007:11:02:24 +0200] "GET /is/transactions.jsf HTTP/1.1" 200 373004
> [29/Aug/2007:11:02:30 +0200] "POST /is/transactions.jsf HTTP/1.1" 200 372579
> Apache logs show an error:
> [29/Aug/2007:11:02:26 +0200] "GET /is/transactions.jsf HTTP/1.1" 503 265
> [29/Aug/2007:11:02:32 +0200] "POST /is/transactions.jsf HTTP/1.1" 503 265
> The same Apache/mod_jk configuration works fine talking to JBoss-4.0.5.GA so the bug must be jboss web server specific.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list