tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Deneen" <>
Subject Tomcat 6.0.10 problems with httpd 2.2.4 and mod_proxy_ajp
Date Wed, 16 May 2007 13:51:43 GMT
Hi, I have experienced some issues using mod_proxy_ajp and Tomcat
6.0.10 under moderate load.  Occasionally I receive an error 503 in my
browser when the webapp when we have around 30 - 40 users connected.

First off, here is what I see in our logs:

httpd error_log:
[Tue May 15 17:45:02 2007] [error] ajp_check_msg_header() got bad signature 420
[Tue May 15 17:45:02 2007] [error] ajp_ilink_receive() received bad header
[Tue May 15 17:45:02 2007] [error] ajp_read_header: ajp_ilink_receive failed
[Tue May 15 17:45:02 2007] [error] (120007)APR does not understand
this error code: proxy: read response failed from

tomcat 6.0.10 catalina.out:
May 15, 2007 5:45:02 PM org.apache.jk.core.MsgContext action
WARNING: Error sending end packet Connection reset
        at org.apache.jk.common.ChannelSocket.send(
        at org.apache.jk.common.JkInputStream.endMessage(
        at org.apache.jk.core.MsgContext.action(
        at org.apache.coyote.Response.action(
        at org.apache.coyote.Response.finish(
        at org.apache.catalina.connector.OutputBuffer.close(
        at org.apache.catalina.connector.Response.finishResponse(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.jk.server.JkCoyoteHandler.invoke(
        at org.apache.jk.common.HandlerRequest.invoke(
        at org.apache.jk.common.ChannelSocket.invoke(
        at org.apache.jk.common.ChannelSocket.processConnection(
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
        at org.apache.tomcat.util.threads.ThreadPool$
May 15, 2007 5:45:02 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2

Apache is running with the prefork MPM, with MaxClients set at the
default 256.  The AJP connector in Tomcat is configured with

For now, I am using mod_proxy_http and have apache connect to the
Tomcat http connector.  This works well, but I would like to
understand the issue with the AJP connector.  Any ideas?  Should I use

The server is running Centos 4.4 x86_64.

Best Regards,
Mark Deneen

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message