https://issues.apache.org/bugzilla/show_bug.cgi?id=48826

--- Comment #5 from Rainer Jung <rainer.j...@kippdata.de> 2010-02-27 22:21:26 
UTC ---
I assume there are not other info, warn or error log messages directly around
those cited. In this case I only found two possible reasons, both detected in
ajp_process_callback():

1) The backend tells us to send the response header stop the client, but we
already were told to do that directly before:

1784     case JK_AJP13_SEND_HEADERS:
1785         {
1786             int rc;
1787             jk_res_data_t res;
1788             if (ae->last_op == JK_AJP13_SEND_HEADERS) {
1789                 /* Do not send anything to the client.
1790                  * Backend already send us the headers.
1791                  */
1792                 if (JK_IS_DEBUG_LEVEL(l)) {
1793                     jk_log(l, JK_LOG_DEBUG,
1794                            "Already received AJP13_SEND HEADERS");
1795                 }
1796                 JK_TRACE_EXIT(l);
1797                 return JK_AJP13_ERROR;
1798             }

or

2) the backend tells us to return a body response packet to the client,
although we didn't yet receive the response headers from the backend.

1836     case JK_AJP13_SEND_BODY_CHUNK:
1837         if (ae->last_op == JK_AJP13_FORWARD_REQUEST) {
1838             /* We have just send a request but received something
1839              * that probably originates from buffered response.
1840              */
1841             if (JK_IS_DEBUG_LEVEL(l)) {
1842                 jk_log(l, JK_LOG_DEBUG,
1843                        "Unexpected AJP13_SEND_BODY_CHUNK");
1844             }
1845             JK_TRACE_EXIT(l);
1846             return JK_AJP13_ERROR;
1847         }

All other possible reasons for those log messages would already log something
about the precise reason directly before at least with log level info, most of
the times even error.

To decide, which of the two remaining cases it is, you might temporarily
increase the log level in lines 1793 and 1842 in jk_ajp_common.c from
JK_LOG_DEBUG to JK_LOG_INFO (or JK_LOG_ERROR) and remove the surrounding "if
(JK_IS_DEBUG_LEVEL(l)) { ... }".

Regards,

Rainer

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to