"Unexpected AJP13_SEND_BODY_CHUNK" on mod_jk leads to 500 errors on JBoss/Tomcat

Solution Verified - Updated -

Issue

  • Feeding traffic through mod_jk to a JBoss/Tomcat backend, we see many 500 errors on the backend.  Hitting the backend direclty, no 500 errors are seen.  These 500 errors do not propogate back to the httpd layer as mod_jk retries/fails over and succeeds on repeat tries.
  • Turning JkLogLevel to debug, we see it fails in mod_jk with messages like the following:
    [debug] ajp_process_callback::jk_ajp_common.c (1842): Unexpected AJP13_SEND_BODY_CHUNK
    [info] ajp_service::jk_ajp_common.c (2540): (nodeMOB055_01) sending request to tomcat failed (recoverable), because of server error (attempt=1)
    

Environment

  • JBoss Enterprise Web Server (EWS)

    • mod_jk 1.2.30

    • Apache httpd

    • Tomcat
  • JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In